Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. Influx DB unter bookworm installieren

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Influx DB unter bookworm installieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @nobbiman last edited by

      @nobbiman

      sudo rm /etc/apt/sources.list.d/influxdb.list
      sudo apt update
      apt policy influxdb*
      
      N 1 Reply Last reply Reply Quote 0
      • N
        nobbiman @Thomas Braun last edited by

        @thomas-braun sagte in Influx DB unter bookworm installieren:

        pi@RasPi-ioBroker:~ $ sudo rm /etc/apt/sources.list.d/influxdb.list
        sudo apt update
        apt policy influxdb*
        Hit:1 http://deb.debian.org/debian bookworm InRelease
        Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
        Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
        Hit:4 https://repos.influxdata.com/debian stable InRelease
        Hit:5 https://apt.grafana.com stable InRelease
        Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease
        Hit:7 http://archive.raspberrypi.com/debian bookworm InRelease
        Err:7 http://archive.raspberrypi.com/debian bookworm InRelease
          The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        All packages are up to date.
        W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.raspberrypi.com/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E
        W: Failed to fetch http://archive.raspberrypi.com/debian/dists/bookworm/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E
        W: Some index files failed to download. They have been ignored, or old ones used instead.
        N: Unable to locate package influxdb.key
        N: Couldn't find any package by glob 'influxdb.key'
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @nobbiman last edited by

          @nobbiman

          rm influxdb.key
          sudo apt update
          apt policy influxdb*
          
          N 1 Reply Last reply Reply Quote 0
          • N
            nobbiman @Thomas Braun last edited by

            @thomas-braun sagte in Influx DB unter bookworm installieren:

            rm influxdb.key

            pi@RasPi-ioBroker:~ $ rm influxdb.key
            
            sudo apt update
            
            apt policy influxdb*
            Hit:1 http://deb.debian.org/debian bookworm InRelease
            Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
            Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
            Hit:4 https://repos.influxdata.com/debian stable InRelease
            Hit:5 https://apt.grafana.com stable InRelease
            Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease
            Hit:7 http://archive.raspberrypi.com/debian bookworm InRelease
            Err:7 http://archive.raspberrypi.com/debian bookworm InRelease
              The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            All packages are up to date.
            W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.raspberrypi.com/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E
            W: Failed to fetch http://archive.raspberrypi.com/debian/dists/bookworm/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E
            W: Some index files failed to download. They have been ignored, or old ones used instead.
            influxdb2-cli:
              Installed: (none)
              Candidate: 2.7.3-1
              Version table:
                 2.7.3-1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.7.1-2 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.6.1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.6.0 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.5.0 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.4.0 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.3.0 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
            influxdb-client:
              Installed: (none)
              Candidate: 1.6.7~rc0-1+b13
              Version table:
                 1.6.7~rc0-1+b13 500
                    500 http://deb.debian.org/debian bookworm/main arm64 Packages
            influxdb-dev:
              Installed: (none)
              Candidate: (none)
              Version table:
            influxdb2-client:
              Installed: (none)
              Candidate: 2.7.1-1
              Version table:
                 2.7.1-1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
            influxdb:
              Installed: (none)
              Candidate: 1.8.10-1
              Version table:
                 1.8.10-1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                    100 /var/lib/dpkg/status
                 1.6.7~rc0-1+b13 500
                    500 http://deb.debian.org/debian bookworm/main arm64 Packages
            influxdb2:
              Installed: (none)
              Candidate: 2.7.3-1
              Version table:
                 2.7.3-1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.7.1-1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.7.0-1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.6.1-1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.6.0-1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.5.1-1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.4.0-1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.3.0-1 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                 2.2.0 500
                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @nobbiman last edited by

              @nobbiman

              Alles in der Auslage.

              Jetzt kannst du den Key für raspberry noch reinziehen.

              N 1 Reply Last reply Reply Quote 0
              • N
                nobbiman @Thomas Braun last edited by nobbiman

                @thomas-braun Du sprichst in Rätseln, wahrscheinlich hast du schon bemerkt, dass ich kein Linux-Fan/-Freund/-Kenner bin. bitte sag mir, was ich zu tun habe, sprich den Key "reinziehen" kann

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @nobbiman last edited by

                  @nobbiman

                  wget http://archive.raspberrypi.org/debian/raspberrypi.gpg.key
                  sudo apt-key add raspberrypi.gpg.key
                  rm raspberrypi.gpg.key
                  

                  Dann prüfen:

                  sudo apt update
                  
                  N 1 Reply Last reply Reply Quote 0
                  • N
                    nobbiman @Thomas Braun last edited by

                    @thomas-braun sagte in Influx DB unter bookworm installieren:

                    wget http://archive.raspberrypi.org/debian/raspberrypi.gpg.key
                    sudo apt-key add raspberrypi.gpg.key
                    rm raspberrypi.gpg.key

                    pi@RasPi-ioBroker:~ $ wget http://archive.raspberrypi.org/debian/raspberrypi.gpg.key
                    sudo apt-key add raspberrypi.gpg.key
                    rm raspberrypi.gpg.key
                    --2023-10-31 14:32:52--  http://archive.raspberrypi.org/debian/raspberrypi.gpg.key
                    Resolving archive.raspberrypi.org (archive.raspberrypi.org)... 46.235.231.151, 46.235.231.145, 93.93.130.212, ...
                    Connecting to archive.raspberrypi.org (archive.raspberrypi.org)|46.235.231.151|:80... connected.
                    HTTP request sent, awaiting response... 200 OK
                    Length: 1719 (1.7K) [application/pgp-keys]
                    Saving to: ‘raspberrypi.gpg.key’
                    
                    raspberrypi.gpg.key                                 100%[==================================================================================================================>]   1.68K  --.-KB/s    in 0.002s
                    
                    2023-10-31 14:32:52 (785 KB/s) - ‘raspberrypi.gpg.key’ saved [1719/1719]
                    
                    Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
                    OK
                    
                    pi@RasPi-ioBroker:~ $ sudo apt update
                    Hit:1 http://deb.debian.org/debian bookworm InRelease
                    Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                    Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                    Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
                    Hit:5 https://repos.influxdata.com/debian stable InRelease
                    Hit:6 https://apt.grafana.com stable InRelease
                    Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease
                    Reading package lists... Done
                    Building dependency tree... Done
                    Reading state information... Done
                    All packages are up to date.
                    W: http://archive.raspberrypi.com/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
                    
                    

                    Wenn ich das mit meinem Geringwissen richtig interpretiere, sieht das gut aus, zumindest wurde offenbar der key für den raspberry gespeichert.
                    Kann ich denn jetzt die erstgenannte influxdb-Installation erneut starten?
                    Install lt. Hausautomation, s.o.

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @nobbiman last edited by

                      @nobbiman

                      sudo mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/
                      

                      Dann halt die gewünschte Version von influxdb installieren. Ich würde die influxdb2 nehmen.

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        nobbiman @Thomas Braun last edited by

                        @thomas-braun sagte in Influx DB unter bookworm installieren:

                        sudo mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/

                        Ich verneige mich vor dir und deiner Hilfsbereitschaft, wahrscheinlich hätte ich das ohne Hilfe nicht hinbekommen - sag mir, wo ich dir einen Kaffee spendieren kann!

                        Aber noch eines: weißt du, ob ich vor der Installation mit

                        sudo apt-get install influxdb2
                        

                        noch einen Key installieren muss? Ich frage, weil unter einer YT-Anleitung, ab 8:43 davon gesprochen wird.

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @nobbiman last edited by Thomas Braun

                          @nobbiman

                          Ich schau keine YT-Filmchen. Solltest du auch nicht, die wenigsten davon sind wirklich zu gebrauchen.

                          apt wird aber Meckern, wenn ein Key fehlen sollte. Es fehlt aber keiner, sonst hättest du da Meldungen analog zu der Meldung gesehen, die du jetzt ja angegangen bist.

                          N 1 Reply Last reply Reply Quote 0
                          • N
                            nobbiman @Thomas Braun last edited by

                            @thomas-braun Das sagt einer, der sich auskennt, dem Laien blieb eine intensive Einarbeitung in Linux, um ein Systemverständnis zu entwickeln. Eigentlich will ich nur mit dem später noch zu installierenden Grafan Daten aus dem ioBroker visualisieren. Das kostet mich genug Zeit.
                            Also, was ist mit dem Kaffee?

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @nobbiman last edited by Thomas Braun

                              @nobbiman sagte in Influx DB unter bookworm installieren:

                              Das kostet mich genug Zeit.

                              YT-Clips sind halt eine große Zeitverschwendung. In der Zeit, wir da noch ein tolles Intro läuft und die erste nervige Werbeunterbrechung mir auf den Zeiger geht hab ich da schon eine bessere und aktuellere Anleitung in Schriftform gefunden. Zuletzt mal eine (ungelogen!) 10 minütige längliche Anleitung mit allem nervigen Krams gesehen, in der eine Datei mittels Editor um zwei Einträge ergänzt wurde. Das ist in einem Wiki oder Forum maximal ein Zweizeiler.

                              Also, was ist mit dem Kaffee?

                              Nicht erforderlich. Du kannst aber wenn du magst meiner Patentochter in Togo ein Taschengeld zukommen lassen.

                              N 1 Reply Last reply Reply Quote 0
                              • N
                                nobbiman @Thomas Braun last edited by

                                @thomas-braun OK, dann gehe ich mal auf die Suche, wenn ich Grafana installieren werde.
                                Tolle Idee mit der Patentochter, wie bekomme ich das Taschengeld nach Togo?

                                1 Reply Last reply Reply Quote 0
                                • werner2000x
                                  werner2000x last edited by

                                  Ich habe auch das Problem mit influx unter bookworm und folgende Fehlerausgabe:

                                  sudo apt update
                                  Hit:1 http://raspbian.raspberrypi.com/raspbian bookworm InRelease
                                  Hit:2 https://apt.grafana.com stable InRelease
                                  Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
                                  Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
                                  Hit:5 https://repos.influxdata.com/debian stable InRelease
                                  Err:5 https://repos.influxdata.com/debian stable InRelease
                                    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  All packages are up to date.
                                  W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repos.influxdata.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                  W: Failed to fetch https://repos.influxdata.com/debian/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                  W: Some index files failed to download. They have been ignored, or old ones used instead.
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @werner2000x last edited by

                                    @werner2000x

                                    Richte das influxdb-Repo neu ein:

                                    https://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind

                                    werner2000x 1 Reply Last reply Reply Quote 0
                                    • werner2000x
                                      werner2000x @Thomas Braun last edited by

                                      @thomas-braun Danke für den Link:

                                      Nun habe ich noch folgenden Fehler bei der Installation von influx:

                                       rm influxdata-archive_compat.key
                                      rm: cannot remove 'influxdata-archive_compat.key': No such file or directory
                                      pi@raspberrypi:~ $ wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
                                      Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @werner2000x last edited by

                                        @werner2000x

                                        Und warum machst du es nicht wie es in meinem Link drin steht?
                                        Da ist es nämlich richtig, ohne apt-key.

                                        werner2000x 1 Reply Last reply Reply Quote 0
                                        • werner2000x
                                          werner2000x @Thomas Braun last edited by

                                          @thomas-braun Ja, Danke.
                                          Ich bekomme mit dem Befehl:
                                          sudo service influxdb Status

                                          influxdb: unrecognized service

                                          und in Grafana:
                                          Post "http://139.168.198.39:8086/query?db=iobroker&epoch=ms": dial tcp 139.168.198.39:8086: i/o timeout error reading influxDB

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @werner2000x last edited by

                                            @werner2000x

                                            Das heißt ja auch auf modernen Systemen

                                            systemctl status influxdb.service
                                            
                                            werner2000x 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            947
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            33
                                            4024
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo