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 goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • 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 @Rushmed last edited by Thomas Braun

      @rushmed

      Ich glaube da ist was anderes im Busch. Das Repository hängt bei mir auch in den Seilen. Hatte aber noch keine Zeit mir das genauer anzuschauen.

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

        @thomas-braun @thomas-braun Ok, als sollte ich deine Anleitung lieber nicht probieren?

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

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

          @thomas-braun @thomas-braun Ok, als sollte ich deine Anleitung lieber nicht probieren?

          Moin,
          habe gerade auf den offiziellen Seiten, dieses gefunden

          Linux Package Signing Key Rotation
          
          All signed InfluxData Linux packages have been resigned with an updated key. If using Linux, you may need to update your package configuration to continue to download and verify InfluxData software packages.
          
          For more information, see the Linux Package Signing Key Rotation blog post.
          

          Auf der Seite steht auch wie man das wohl wieder gerade zieht, dem Blog post folgen . 😉

          InfluxDB

          VG
          Bernd

          Edit
          Die server zum Abfragen des Keys scheinen ein Problem zu haben.

          404 Not Found
          
              Code: NoSuchKey
              Message: The specified key does not exist.
              Key: index.html
              RequestId: A83EH4N357J8FS56
              HostId: rY32TvnfiL+lAZxL/OaRzX5reFs6R4ORaEN6L6FtqO1ndkv29+EIkdMQDGOFn7DjHV6phMr1m/k=
          
          R 1 Reply Last reply Reply Quote 0
          • R
            Rushmed Most Active @Guest last edited by

            @dp20eic Bist du danach vorgegangen?
            5a285e01-92ca-49a5-85ff-082adb136eb5-grafik.png

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

              @rushmed

              Moin,

              ja, aber es wird nicht der key geladen, da die Server Zicken 😞

              Sprich, der Befehl kann nichts holen

              wget -q https://repos.influxdata.com/influxdata-archive_compat.key
              

              Dann kommt halt, als Konsequenz,

              gpg: can't open './influxdata-archive_compat.key': No such file or directory
              

              Also auf die fünf Buchstaben setzen und warten, bis die das repariert haben 🙂

              VG
              Bernd

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

                @dp20eic Oke, ich gedulde mich.

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

                  @rushmed

                  Moin,

                  die Störung auf dem Repo. Server(n) scheint behoben zu sein, alle die InfluxDB auf Debian nutzen und von der Änderung des Keys betroffen sind, können anhand der Beschreibung auf New-Key Ihre Installation grade ziehen und aktualisieren.

                  VG
                  Bernd

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

                    @dp20eic

                    irgendwie funktioniert´s bei mir nicht, mit der Fehlermeldung beim sudo apt update kann ich nichts anfangen.
                    Indfluxdb2 läuft in einem Proxmox LXC

                    latzi@influxDB:~$ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                    latzi@influxDB:~$ 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>
                    
                    latzi@influxDB:~$ cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
                    latzi@influxDB:~$ echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /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:~$ sudo rm -f /etc/apt/trusted.gpg.d/influxdb.gpg
                    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
                    Fetched 7022 B in 0s (15.8 kB/s)
                    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 bullseye 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/bullseye/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.
                    latzi@influxDB:~$
                    
                    Thomas Braun ? 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Latzi last edited by

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

                      Der öffentliche Schlüssel D8FF8E1F7DF8B07E wurde nicht richtig reingeladen bei dir.

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

                        @thomas-braun
                        okay, wie bekomm ich den rein? Ich hab die obigen statements schon mehrmals durchlaufen lassen - ändert leider nichts.
                        Hast du einen Tipp für mich?

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            559
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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