Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. [Gelöst] InfluxDB Upgrade error

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Gelöst] InfluxDB Upgrade error

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

      @latzi sagte in [Gelöst] InfluxDB Upgrade error:

      Hast du einen Tipp für mich?

      Bin im Moment nicht am Rechner.

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

        @thomas-braun
        😉 kein Problem - eilt gar nicht - ich bin dir für deine Unterstützung sehr dankbar!

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User @Latzi last edited by

          @latzi

          Moin,

          kenne Deine Installation nicht, bei mir ging es genau so. Ich brauchte nur nichts löschen, da das File /etc/apt/trusted.gpg.d/influxdb.gpg nicht gab.
          Hast Du unten weiter gelesen?

          The above specifies paths to files and configuration from the most recent documentation. Users who use a different file than /etc/apt/sources.list.d/influxdata.list need to update the file to use signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg. Similarly, users who installed the old key in a different location than /etc/apt/trusted.gpg.d/influxdb.gpg need to use that location to remove the old key.
          

          Meine Source.list sieht so aus

          [dp20eic@influxDB ~]$ ls -la /etc/apt//sources.list.d/
          total 14
          drwxr-xr-x 2 root root   4 Jan 27 11:06 .
          drwxr-xr-x 8 root root  11 Aug  9  2021 ..
          -rw-r--r-- 1 root root 117 Jan 27 09:49 influxdata.list
          -rw-r--r-- 1 root root  59 May  8  2022 non-free.list
          

          Die dazugehörige trusted.gpg.d

          [dp20eic@influxDB ~]$ ls -la /etc/apt/trusted.gpg.d/  
          total 110
          drwxr-xr-x 2 root root   12 Jan 27 09:47 .
          drwxr-xr-x 8 root root   11 Aug  9  2021 ..
          -rw-r--r-- 1 root root 8700 Feb 25  2021 debian-archive-bullseye-automatic.gpg
          -rw-r--r-- 1 root root 8709 Feb 25  2021 debian-archive-bullseye-security-automatic.gpg
          -rw-r--r-- 1 root root 2453 Feb 25  2021 debian-archive-bullseye-stable.gpg
          -rw-r--r-- 1 root root 8132 Feb 25  2021 debian-archive-buster-automatic.gpg
          -rw-r--r-- 1 root root 8141 Feb 25  2021 debian-archive-buster-security-automatic.gpg
          -rw-r--r-- 1 root root 2332 Feb 25  2021 debian-archive-buster-stable.gpg
          -rw-r--r-- 1 root root 7443 Feb 25  2021 debian-archive-stretch-automatic.gpg
          -rw-r--r-- 1 root root 7452 Feb 25  2021 debian-archive-stretch-security-automatic.gpg
          -rw-r--r-- 1 root root 2263 Feb 25  2021 debian-archive-stretch-stable.gpg
          -rw-r--r-- 1 root root 1185 Jan 27 09:48 influxdata-archive_compat.gpg
          

          Buster und stretch muss ich mal schauen, die kann ich glaube ich entfernen, muss mal bei Debian nachlesen, aktuell stören sie mich aber nicht.

          VG
          Bernd

          Latzi 1 Reply Last reply Reply Quote 0
          • Latzi
            Latzi @Guest last edited by

            @dp20eic

            schaut bei mir so aus:

            latzi@influxDB:~$ ls -la /etc/apt//sources.list.d/
            total 16
            drwxr-xr-x 2 root root 4096 Jan 27 11:10 .
            drwxr-xr-x 8 root root 4096 Aug 16  2021 ..
            -rw-r--r-- 1 root root  117 Jan 27 11:01 influxdata.list
            -rw-r--r-- 1 root root  101 Jan 27 11:10 influxdb.list
            latzi@influxDB:~$
            latzi@influxDB:~$ ls -la /etc/apt/trusted.gpg.d/
            total 80
            drwxr-xr-x 2 root root 4096 Jan 27 08:25 .
            drwxr-xr-x 8 root root 4096 Aug 16  2021 ..
            -rw-r--r-- 1 root root 8700 Feb 25  2021 debian-archive-bullseye-automatic.gpg
            -rw-r--r-- 1 root root 8709 Feb 25  2021 debian-archive-bullseye-security-automatic.gpg
            -rw-r--r-- 1 root root 2453 Feb 25  2021 debian-archive-bullseye-stable.gpg
            -rw-r--r-- 1 root root 8132 Feb 25  2021 debian-archive-buster-automatic.gpg
            -rw-r--r-- 1 root root 8141 Feb 25  2021 debian-archive-buster-security-automatic.gpg
            -rw-r--r-- 1 root root 2332 Feb 25  2021 debian-archive-buster-stable.gpg
            -rw-r--r-- 1 root root 7443 Feb 25  2021 debian-archive-stretch-automatic.gpg
            -rw-r--r-- 1 root root 7452 Feb 25  2021 debian-archive-stretch-security-automatic.gpg
            -rw-r--r-- 1 root root 2263 Feb 25  2021 debian-archive-stretch-stable.gpg
            -rw-r--r-- 1 root root 1185 Jan 27 11:00 influxdata-archive_compat.gpg
            latzi@influxDB:~$
            
            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Latzi last edited by

              @latzi sagte in [Gelöst] InfluxDB Upgrade error:

              -rw-r--r-- 1 root root 117 Jan 27 11:01 influxdata.list

              Moin,

              Du hast da noch zwei Sorces für Influx, siehe

              latzi@influxDB:~$ ls -la /etc/apt//sources.list.d/
              total 16
              drwxr-xr-x 2 root root 4096 Jan 27 11:10 .
              drwxr-xr-x 8 root root 4096 Aug 16  2021 ..
              -rw-r--r-- 1 root root  117 Jan 27 11:01 influxdata.list
              -rw-r--r-- 1 root root  101 Jan 27 11:10 influxdb.list
              

              Wenn Du apt-get update ausführst, dann bekommst Du den Fehler

              latzi@influxDB:~$ sudo apt update
              Hit:1 http://security.debian.org bullseye-security InRelease
              Hit:2 http://ftp.debian.org/debian bullseye InRelease
              Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
              Hit:4 https://repos.influxdata.com/debian stable InRelease
              Get:5 https://repos.influxdata.com/debian bullseye InRelease [7022 B]
              Err:5 https://repos.influxdata.com/debian bullseye InRelease
                The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
              

              Schau mal was in den einzelnen Source-Listen steht

              [dp20eic@influxDB ~]$ cat /etc/apt/sources.list.d/influxdata.list 
              deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
              

              Und dann verschiebe mal die die nicht mehr benötigte Datei influxdb.list nach /tmp und mach mal ein update

              # sudo mv /etc/apt/sources.list.d/influxdb.list /tmp
              # sudo apt-get update
              

              VG
              Bernd

              Latzi 1 Reply Last reply Reply Quote 3
              • Latzi
                Latzi @Guest last edited by

                @dp20eic

                das ist der Inhalt der beiden:

                latzi@influxDB:~$ cat /etc/apt/sources.list.d/influxdata.list
                deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
                latzi@influxDB:~$ cat /etc/apt/sources.list.d/influxdb.list
                deb [signed-by=/usr/share/keyrings/influxdb.gpg] https://repos.influxdata.com/debian bullseye stable
                latzi@influxDB:~$
                

                wenn ich die influxdb.list verschiebe schaut das apt update so aus:

                latzi@influxDB:/$ sudo apt update
                Get:1 http://security.debian.org bullseye-security InRelease [48.4 kB]
                Hit:2 http://ftp.debian.org/debian bullseye InRelease
                Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
                Hit:4 https://repos.influxdata.com/debian stable InRelease
                Fetched 48.4 kB in 0s (116 kB/s)
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                All packages are up to date.
                latzi@influxDB:/$
                

                Ich würde mal behaupten es passt (zumindest ist der Fehler weg), vielen herzlichen Dank! 👍 👏

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @Latzi last edited by

                  @latzi

                  Moin,

                  wichtig ist, dass Du die zusammenhänge erkennst, zwischen dem Fehler von oben und der Lösung 😉
                  Und/oder auch erkennst was Du da mit dem Update des Keys gemacht hast.

                  Der Fehler von oben hing nur noch mit der alten Liste zusammen, einem

                  # sudo apt-get upgrade
                  

                  hätte das nicht gestört, glaube ich :), wäre halt nur immer eine Fehlermeldung, die man nicht haben möchte.

                  VG
                  Bernd

                  1 Reply Last reply Reply Quote 0
                  • R
                    Rushmed Most Active last edited by Rushmed

                    Was hat denn das zu bedeuten?

                    pi@Smartazamba:~ $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                    pi@Smartazamba:~ $ gpg --with-fingerprint --show-keys ./influxdata-archive_compat.key
                    pub   rsa4096 2023-01-18 [SC] [expires: 2026-01-17]
                            9D53 9D90 D332 8DC7 D6C8  D3B9 D8FF 8E1F 7DF8 B07E
                    uid                     InfluxData Package Signing Key <support@influxdata.com>
                    gpg: directory '/home/pi/.gnupg' created
                    gpg: keybox '/home/pi/.gnupg/pubring.kbx' created
                    pub   rsa4096 2023-01-18 [SC] [expires: 2026-01-17]
                          9D53 9D90 D332 8DC7 D6C8  D3B9 D8FF 8E1F 7DF8 B07E
                    uid                      InfluxData Package Signing Key <support@influxdata.com>
                    
                    -bash: pub: command not found
                    -bash: 9D53: command not found
                    -bash: syntax error near unexpected token `newline'
                    
                    

                    EDIT: Hat doch geklappt.

                    Meister Mopper R 2 Replies Last reply Reply Quote 0
                    • Meister Mopper
                      Meister Mopper @Rushmed last edited by

                      Sehr gut Männer,

                      das Problem hat mich den ganzen Tag beschäftigt. Jetzt ist es keines mehr! 👍

                      1 Reply Last reply Reply Quote 0
                      • C
                        cbrocker last edited by

                        @dp20eic sagte

                        Hi,
                        kennst Du dich mit der InfluxDB Abfragesprache influxQL gut aus und Flux ist häh wasn das, dann bleib lieber bei der 1.8 Version und fang heute schon mal an Dich mit Flux zu beschäftigen
                        Wenn Du gerade erst beginnst, dann kannst Du auch gleich mit V2.x weitermachen, vorher natürlich gut einlesen, wegen Datenmigration 1.8 -> 2.x und wie immer Backups nicht vergessen

                        Hey dp20eic,
                        hast du selber mal InfluxDB Daten von 1.8.x auf 2.6 migriert?

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @cbrocker last edited by

                          @cbrocker

                          Moin,

                          war im Urlaub, daher muss ich erst einiges durchlesen.

                          Ja, habe ich. Hier im Forum sollte es aber auch schon einige Beiträge zum Theme geben, schmeiß einfach mal die Suche an.

                          Ich bin eigentlich stur nach der influxDB Anleitung auf deren Seiten vorgegangen.

                          Wenn Du aber spezielle Fragen hast, dann stell sie mal, besser dafür einen eigenen Thread aufmachen oder einen noch offenen finden und sich dranhängen.

                          VG
                          Bernd

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sushibomba last edited by Sushibomba

                            pi@Pi4ioBroker128GB:~ $ sudo apt-get update
                            Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                            Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                            Get:3 https://repos.influxdata.com/debian stable InRelease [6,883 B]
                            Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease
                            Get:5 https://packages.grafana.com/oss/deb stable InRelease [5,984 B]
                            Get:6 https://repos.influxdata.com/debian stretch InRelease [7,030 B]
                            Get:7 https://repos.influxdata.com/debian stable/main armhf Packages [2,105 B]
                            Err:5 https://packages.grafana.com/oss/deb stable InRelease
                              The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6
                            Get:8 https://repos.influxdata.com/debian stretch/stable armhf Packages [2,105 B]
                            Fetched 18.1 kB in 2s (7,716 B/s)
                            Reading package lists... Done
                            W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6
                            W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6
                            W: Some index files failed to download. They have been ignored, or old ones used instead.
                            
                            

                            Irgendwie komme ich nicht weiter. Bin nach der ANleitung von InfluxDB vorgegnagen aber bekomme immer noch die Meldung. Kann mir vielleicht jemand helfen und sagen warum?

                            Gehe ich da einfach nach dieser Anleitung vor? https://forum.iobroker.net/topic/62040/linux-debian-grafana-repo-muss-aktualisiert-werden

                            ? 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @Sushibomba last edited by A Former User

                              @sushibomba sagte in [Gelöst] InfluxDB Upgrade error:

                              Err:5 https://packages.grafana.com/oss/deb stable InRelease
                              The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9E439B102CF3C0C6

                              Moin,

                              Du hast, zwar die Signaturen für influxDB erneuert, aber noch nicht für Grafana, auch dafür gibt es hier im Forum schon Anleitungen, wie das aktualisiert wird, oder schau

                              hier

                              Nach, wie Du das ändern musst.

                              VG
                              Bernd

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

                                @dp20eic sagte in [Gelöst] InfluxDB Upgrade error:

                                dafür gibt es hier im Forum schon Anleitungen

                                @Sushibomba

                                Schau hier z. B. rein:

                                https://forum.iobroker.net/topic/62040/linux-debian-grafana-repo-muss-aktualisiert-werden

                                https://repos.influxdata.com/debian stretch InRelease
                                

                                ist auch falsch, statt stretch sollte da bullseye oder stable stehen. Also anpassen!

                                S 1 Reply Last reply Reply Quote 1
                                • S
                                  Sushibomba @Thomas Braun last edited by

                                  @thomas-braun

                                  Dankje Thomas aber wie ändere ich das. Sorry bin auf dem Gebiet leider noch nicht so fit 😕

                                  Thomas Braun ? 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Sushibomba last edited by

                                    @sushibomba

                                    Im Verzeichnis /etc/apt/sources.list.d/
                                    muss es eine influxdb.list (oder ähnlich) geben. Da dann z. B. per Editor
                                    nano ändern.

                                    S 1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User @Sushibomba last edited by A Former User

                                      @sushibomba sagte in [Gelöst] InfluxDB Upgrade error:

                                      @thomas-braun

                                      Dankje Thomas aber wie ändere ich das. Sorry bin auf dem Gebiet leider noch nicht so fit 😕

                                      Moin,

                                      da Du ja schreibst, dass Du noch nicht so Fit bist und ich daraus schließe Du möchtest Fit werden, kann ich Dir das hier wärmstens empfehlen 🙂

                                      Debian-Paketmanagement

                                      Dort 3.3 ff und 8.46.3. Punkt 8 das interessante, Du musst das nur auf Deine Gegebenheit anpassen, da das Buch schon vor bullseye geschrieben wurde.

                                      Dann gibt es noch eine wie ich finde Erleichterung, in meinem Beispiel siehst Du, dass ich zwei Debian Releases buster und bullseye stehen habe, wobei buster durch # kommentiert ist, sodass es bei apt / apt-get nicht benutzt wird

                                      dp20eic@iobroker:~$ sudo apt edit-sources
                                      [sudo] password for dp20eic:
                                      
                                      #deb http://ftp.debian.org/debian buster main contrib
                                      #deb http://ftp.debian.org/debian buster-updates main contrib
                                      #deb http://security.debian.org buster/updates main contrib
                                      deb http://ftp.debian.org/debian bullseye main contrib
                                      deb http://ftp.debian.org/debian bullseye-updates main contrib
                                      deb http://security.debian.org bullseye-security main contrib
                                      

                                      Wie gesagt, das musst Du an Deine Installation anpassen.

                                      VG
                                      Bernd

                                      Edit:
                                      Gerade gesehen, dass es die Einträge zu influxDB betrifft, da kannst Du nicht mit den von mir vorgeschlagenen Weg arbeiten, dann doch lieber so wie @Thomas-Braun geschrieben hat.

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

                                        @thomas-braun

                                        Beide Dateien mit nano geöffnet und beide sind leer.

                                        pi@Pi4ioBroker128GB:~ $ nano influxdb.list
                                        pi@Pi4ioBroker128GB:~ $ nano influxdata.list
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Sushibomba last edited by Thomas Braun

                                          @sushibomba
                                          Du bist im falschen Verzeichnis. In deinem Home gibt es die nicht.

                                          cd /etc/apt/sources.list.d/
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            Sushibomba @Thomas Braun last edited by Sushibomba

                                            @thomas-braun Nein ich war schon in dem richtigen Verzeichnis. Habe ja über "ls" gesehen das die Dateien da drin liegen. Wenn ich sie aber öffne sind sie leer.

                                            /etc/apt/sources.list.d/influxdb.list
                                            /etc/apt/sources.list.d/influxdata.list

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            518
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            error influx upgrade
                                            9
                                            54
                                            11915
                                            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