Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Linux/Debian - Grafana-Repo muss aktualisiert werden

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Linux/Debian - Grafana-Repo muss aktualisiert werden

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

      @lessthanmore

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

      Ist bei mir schon auf die neue Struktur umgestellt. Der Key ist auch nicht mehr im Schlüsselbund:

      echad@chet:~ $ apt-key list | grep influx | wc -l
      Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
      0
      
      L 1 Reply Last reply Reply Quote 0
      • L
        lessthanmore @Thomas Braun last edited by lessthanmore

        @thomas-braun Bei mir heißt die influxdata.list.
        Gibt es da eine Anleitung?
        Hätte auch gedacht dass der key influxdb2.key ist.
        Welche influxdb Version hast du oder spielt das keine Rolle hier?
        Wie kann ich das bei mir korrigieren? Kannst du mir da bitte helfen?

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

          @lessthanmore

          Key löschen. Geht wie oben:

          sudo apt-key del 05CE15085FC09D18E99EFB22684A14CF2582E0C5
          

          Die /etc/apt/sources.list.d/influxdata.list löschen.
          Aktuelles Setup für influxdb:

          wget -q -O - https://repos.influxdata.com/influxdb.key | sudo gpg --dearmor -o /usr/share/keyrings/influxdb.gpg
          export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc)
          echo "deb [signed-by=/usr/share/keyrings/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null
          
          L A S 3 Replies Last reply Reply Quote 1
          • L
            lessthanmore @Thomas Braun last edited by

            @thomas-braun Lieben Dank, läuft wieder bzw. keine Fehler- bzw. Warnmeldungen mehr.

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

              Hallo @naturfreund,

              ein Tipp am Rande, wenn Dir ein Befehl, den Du auf der Kommandozeile eingeben sollst, fremd ist oder dich die Neugierde umtreibt, dann kann Du auf der Kommandozeile ja mal folgendes eintippen 😉

              # man "befehl"   <- für befehl den einsetzen, den Du nicht kennst
              

              z.B.:

              # man wc
              NAME
                     wc - print newline, word, and byte counts for each file
              
              SYNOPSIS
                     wc [OPTION]... [FILE]...
                     wc [OPTION]... --files0-from=F
              
              DESCRIPTION
                     Print newline, word, and byte counts for each FILE, and a total line if more than one FILE is speci‐
                     fied.  A word is a non-zero-length sequence of printable characters delimited by white space.
              
                     With no FILE, or when FILE is -, read standard input.
              
                     The options below may be used to select which counts are printed, always  in  the  following  order:
                     newline, word, character, byte, maximum line length.
              
                     -c, --bytes
                            print the byte counts
              
                     -m, --chars
                            print the character counts
              
                     -l, --lines
                            print the newline counts
              
                     --files0-from=F
                            read  input  from  the files specified by NUL-terminated names in file F; If F is - then read
                            names from standard input
              
                     -L, --max-line-length
                            print the maximum display width
              
                     -w, --words
                            print the word counts
              
                     --help display this help and exit
              
                     --version
                            output version information and exit
              
              AUTHOR
                     Written by Paul Rubin and David MacKenzie.
              
              REPORTING BUGS
                     GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
                     Report any translation bugs to <https://translationproject.org/team/>
              ...
              

              So kannst Du für fast jeden Konsolen Befehl eine kurze Beschreibung und eine Liste der Parameter, kompakter geht es mit,

              # wc --help
              1 dp20eic@yoga-3 ~ % wc --help
              Aufruf: wc [OPTION]... [DATEI]...
                oder: wc [OPTION]... --files0-from=DL
              Zeilen‐, Wort‐ und Byteanzahl für jede DATEI ausgeben und eine Zeile mit der
              Gesamtsumme, wenn mehr als eine DATEI angegeben wurde. Ohne DATEI, oder wenn
              DATEI „-“ ist, wird von der Standardeingabe gelesen. Ein Wort ist eine nicht
              leere Folge von darstellbaren Zeichen, die durch Leerzeichen begrenzt wird.
              
              Ohne DATEI oder wenn DATEI „-“ ist, Standardeingabe lesen.
              
              Die unten angeführten Optionen erlauben es, die auszugebenden Zähler
              auszuwählen, wobei sie immer in dieser Reihenfolge ausgegeben werden:
              Zeilen, Wörter, Zeichen, Bytes, größte Zeilenlänge.
              
                -c, --bytes            Byteanzahl ausgeben
                -m, --chars            Zeichenanzahl ausgeben
                -l, --lines            Zeilenanzahl ausgeben
                    --files0-from=D    Eingabe aus den Dateien lesen, die mit NULL
                                       terminiert in der Datei D stehen;
                                       ist D „-“, so wird aus der Standardeingabe gelesen
                -L, --max-line-length  die Länge der längsten Zeile ausgeben
                -w, --words            Wortanzahl ausgeben
                    --help        diese Hilfe anzeigen und beenden
                    --version     Versionsinformation anzeigen und beenden
              
              Onlinehilfe für GNU coreutils: <https://www.gnu.org/software/coreutils/>
              Melden Sie Übersetzungsfehler für %s an <translation-team-de@lists.sourceforge.net>
              Die vollständige Dokumentation ist hier: <https://www.gnu.org/software/coreutils/wc>
              oder auch lokal mittels „info '(coreutils) wc invocation'“
              

              Somit lernt man Stück für Stück Linux und Tippt/Kopiert nicht nur blind Befehle ab 🙂

              VG
              Bernd

              1 Reply Last reply Reply Quote 2
              • A
                australien @Thomas Braun last edited by

                @thomas-braun
                Hi thomas

                leider hat das bei mir nichts geholfen 😞

                bekomme immer noch die Fehlermeldung

                pi@raspberrypi:/ $ sudo apt update
                Hit:1 http://deb.debian.org/debian bullseye InRelease
                Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
                Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                Get:5 https://repos.influxdata.com/debian bullseye InRelease [7,022 B]
                Hit:6 https://deb.nodesource.com/node_17.x bullseye InRelease
                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 7,022 B in 2s (4,068 B/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.
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @australien last edited by

                  @australien

                  ls -lAh /etc/apt/sources.list.d/
                  
                  A 1 Reply Last reply Reply Quote 0
                  • A
                    australien @Thomas Braun last edited by

                    @thomas-braun

                    pi@raspberrypi:/ $ ls -lAh /etc/apt/sources.list.d/
                    total 12K
                    -rw-r--r-- 1 root root 101 Jan 27 15:19 influxdb.list
                    -rw-r--r-- 1 root root 208 Nov 30 15:57 nodesource.list
                    -rw-r--r-- 1 root root 191 Sep 22 04:50 raspi.list
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @australien last edited by

                      @australien

                      Da mal reingeschaut?

                      https://forum.iobroker.net/topic/62271/gelöst-influxdb-upgrade-error/17

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

                        @thomas-braun
                        kannte ich nicht, bekomme aber schnell so etwas

                        pi@raspberrypi:/ $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                        pi@raspberrypi:/ $ gpg --with-fingerprint --show-keys ./influxdata-archive_compat.key
                        gpg: can't open './influxdata-archive_compat.key': No such file or directory
                        pi@raspberrypi:/ 
                        

                        ich werde es morgen wieder versuchen

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

                          @australien sagte in Linux/Debian - Grafana-Repo muss aktualisiert werden:

                          @thomas-braun
                          kannte ich nicht, bekomme aber schnell so etwas

                          pi@raspberrypi:/ $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                          pi@raspberrypi:/ $ gpg --with-fingerprint --show-keys ./influxdata-archive_compat.key
                          gpg: can't open './influxdata-archive_compat.key': No such file or directory
                          pi@raspberrypi:/ 
                          

                          Moin,
                          schau mal nach dem wget ob Du eine Datei im Verzeichnis liegen hast, wenn nicht, dann Netzwerk prüfen, denn ich kann es genau so wie offiziell von influxDB beschrieben updaten.

                          # wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                          # ls -la
                          # -rw-r--r-- 1 dp20eic dp20eic  1684 Jan 26 22:11 influxdata-archive_compat.key
                          

                          VG
                          Bernd

                          P.S.: Du kannst auch auf die Seite Package Pepository gehen und dir die Datei herunterladen, dann auf dein Pi Kopieren und mit gpg weiter machen.

                          1 Reply Last reply Reply Quote 0
                          • A
                            australien last edited by australien

                            @dp20eic

                            da ist viel, aber nicht die Datei.
                            alles im root, kein Unterverzeichnis

                            pi@raspberrypi:/ $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                            pi@raspberrypi:/ $ ls -la
                            total 68
                            drwxr-xr-x  18 root root  4096 Sep 22 05:06 .
                            drwxr-xr-x  18 root root  4096 Sep 22 05:06 ..
                            lrwxrwxrwx   1 root root     7 Sep 22 04:49 bin -> usr/bin
                            drwxr-xr-x   4 root root  4096 Jan  1  1970 boot
                            drwxr-xr-x  17 root root  3940 Jan 27 11:31 dev
                            drwxr-xr-x  89 root root  4096 Jan 27 14:51 etc
                            drwxr-xr-x   4 root root  4096 Nov 15 20:50 home
                            lrwxrwxrwx   1 root root     7 Sep 22 04:49 lib -> usr/lib
                            drwx------   2 root root 16384 Sep 22 05:05 lost+found
                            drwxr-xr-x   2 root root  4096 Sep 22 04:49 media
                            drwxr-xr-x   2 root root  4096 Sep 22 04:49 mnt
                            drwxr-xr-x   3 root root  4096 Nov 15 20:50 opt
                            dr-xr-xr-x 228 root root     0 Jan  1  1970 proc
                            drwx------   5 root root  4096 Nov 30 15:18 root
                            drwxr-xr-x  26 root root   780 Jan 27 16:27 run
                            lrwxrwxrwx   1 root root     8 Sep 22 04:49 sbin -> usr/sbin
                            drwxr-xr-x   2 root root  4096 Sep 22 04:49 srv
                            dr-xr-xr-x  12 root root     0 Jan  1  1970 sys
                            drwxrwxrwt  10 root root  4096 Jan 27 16:07 tmp
                            drwxr-xr-x  11 root root  4096 Sep 22 04:49 usr
                            drwxr-xr-x  11 root root  4096 Sep 22 05:06 var
                            pi@raspberrypi:/ $
                            
                            

                            wo soll die datei gespeichert sein?
                            Am PC wird die datei geladen.

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

                              @australien

                              Moin,
                              du stehst im völlig falschen Verzeichnis, Du must im Home des Privaten Users stehen.

                              # cd 
                              # pwd
                              
                              A 2 Replies Last reply Reply Quote 0
                              • A
                                australien @Guest last edited by

                                @dp20eic

                                pi@raspberrypi:~ $ pwd
                                /home/pi
                                
                                

                                ich hab gerade gesehen, dass es bei den https://repos.influxdata.com eine influxdb2.key gibt. soll ich diese benutzen? hab ja auch influxdb2.

                                ? 1 Reply Last reply Reply Quote 0
                                • A
                                  australien @Guest last edited by

                                  @dp20eic

                                  ich dacht ich hab es, aber......

                                  pi@raspberrypi:~ $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                                  pi@raspberrypi:~ $ ls
                                  Abfall.ics  influxdata-archive_compat.key  iobroker       log      node_modules  package-lock.json
                                  Calender    iob                            iobroker-data  nbsm.py  package.json  raspberrypi.gpg.key
                                  pi@raspberrypi:~ $ 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>
                                  
                                  pi@raspberrypi:~ $ $ cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
                                  -bash: $: command not found
                                  gpg: no valid OpenPGP data found.
                                  pi@raspberrypi:~ $ cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
                                  pi@raspberrypi:~ $ 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
                                  pi@raspberrypi:~ $ sudo rm -f /etc/apt/trusted.gpg.d/influxdb.gpg
                                  pi@raspberrypi:~ $ sudo apt update
                                  Hit:1 http://deb.debian.org/debian bullseye InRelease
                                  Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
                                  Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                                  Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                  Get:5 https://repos.influxdata.com/debian stable InRelease [6,874 B]
                                  Hit:6 https://deb.nodesource.com/node_17.x bullseye InRelease
                                  Get:7 https://repos.influxdata.com/debian bullseye InRelease [7,022 B]
                                  Get:8 https://repos.influxdata.com/debian stable/main arm64 Packages [3,275 B]
                                  Err:7 https://repos.influxdata.com/debian bullseye InRelease
                                    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                  Get:9 https://repos.influxdata.com/debian stable/main armhf Packages [1,669 B]
                                  Fetched 18.8 kB in 2s (9,253 B/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.
                                  pi@raspberrypi:~ $
                                  
                                  
                                  ? 2 Replies Last reply Reply Quote 0
                                  • ?
                                    A Former User @australien last edited by

                                    @australien sagte in Linux/Debian - Grafana-Repo muss aktualisiert werden:

                                    ich hab gerade gesehen, dass es bei den https://repos.influxdata.com eine influxdb2.key gibt. soll ich diese benutzen? hab ja auch influxdb2.

                                    Moin,
                                    nein, wenn Du jetzt im richtigen Verzeichnis stehst, dann genau so wie influxDB das beschrieben hat. vorhin warst Du im / da darf man nicht schreiben, es sei denn Du hast root Rechte.

                                    VG
                                    Bernd

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

                                      @australien sagte in Linux/Debian - Grafana-Repo muss aktualisiert werden:

                                      $ $ cat influxdata-archive_co

                                      Moin,

                                      das mir zwei $ $ geht nicht, Bash kennt kein $. Falsch kopiert 😉

                                      VG
                                      Bernd

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

                                        @dp20eic

                                        das ganze von vorne

                                        pi@raspberrypi:~ $ cd
                                        pi@raspberrypi:~ $ pwd
                                        /home/pi
                                        pi@raspberrypi:~ $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                                        pi@raspberrypi:~ $ 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>
                                        
                                        pi@raspberrypi:~ $ cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
                                        pi@raspberrypi:~ $ 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
                                        pi@raspberrypi:~ $ sudo rm -f /etc/apt/trusted.gpg.d/influxdb.gpg
                                        pi@raspberrypi:~ $ sudo apt update
                                        Hit:1 https://repos.influxdata.com/debian stable InRelease
                                        Hit:2 http://deb.debian.org/debian bullseye InRelease
                                        Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                                        Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                        Get:5 https://repos.influxdata.com/debian bullseye InRelease [7,022 B]
                                        Hit:6 http://deb.debian.org/debian bullseye-updates InRelease
                                        Hit:7 https://deb.nodesource.com/node_17.x bullseye InRelease
                                        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 7,022 B in 2s (3,881 B/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.
                                        pi@raspberrypi:~ $
                                        
                                        
                                        ? 1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User @australien last edited by

                                          @australien sagte in Linux/Debian - Grafana-Repo muss aktualisiert werden:

                                          Get:7 https://repos.influxdata.com/debian bullseye InRelease [7,022 B]

                                          Moin,

                                          lies mal im Thread, den @Thomas-Braun verlinkt hat weiter, dann kommst Du auch auf die Lösung 🙂

                                          Kleiner Tip,

                                          # ls -la /etc/apt/sources.list.d/
                                          

                                          Dann

                                          Get:7 https://repos.influxdata.com/debian bullseye InRelease [7,022 B]
                                          Get:8 https://repos.influxdata.com/debian stable/main arm64 Packages [3,275 B]
                                          Err:7 https://repos.influxdata.com/debian bullseye InRelease
                                          

                                          VG
                                          Bernd

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

                                            @dp20eic

                                            DANKE!!!!

                                            jetzt hab ich es auch 🙂

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            967
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            21
                                            144
                                            25956
                                            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