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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    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 @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
                            • ?
                              A Former User @australien last edited by

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

                              das ganze von vorne

                              Moin,
                              warum so ungeduldig?

                              Erst lesen, dann Nachdenken 🙂

                              Du hast mit Sicherheit mehr Source List Files für influxDB im Verzeichnis, die werden beim apt-get update auch genommen, nur die alten List Files haben keine gültige Signatur mehr.

                              Also immer ganz ruhig junger Padawan 🙂

                              VG
                              Bernd

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

                                Danke an alle.

                                Warum muss Linux immer so eine fürchterlichere Frickelei sein?!
                                Ich verstehe das nicht.
                                Ich habe die Befehle vom ersten Post eingetippt.
                                Und bekomme jetzt folgenden Output.

                                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                                                                                                           
                                Get:4 https://packages.grafana.com/oss/deb stable InRelease [5984 B]                                                                                                    
                                Get:5 https://repos.influxdata.com/debian bullseye InRelease [7022 B]                                                                                                   
                                Get:6 https://apt.grafana.com stable InRelease [5984 B]                                                                                                                 
                                Hit:7 https://deb.nodesource.com/node_16.x bullseye InRelease             
                                Ign:8 https://apt.tvheadend.org/unstable bullseye InRelease               
                                Hit:9 https://apt.tvheadend.org/unstable bullseye Release
                                Err:4 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
                                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
                                Get:11 https://apt.grafana.com stable/main amd64 Packages [105 kB]
                                Fetched 118 kB in 1s (80.5 kB/s) 
                                Reading package lists... Done
                                Building dependency tree... Done
                                Reading state information... Done
                                4 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                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: 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
                                N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'https://apt.tvheadend.org/unstable bullseye InRelease' doesn't support architecture 'amd64'
                                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: 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.
                                
                                apt-key list | grep -i grafana | wc -l
                                Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
                                0
                                
                                wendy2702 ? 2 Replies Last reply Reply Quote 0
                                • wendy2702
                                  wendy2702 @Marty56 last edited by wendy2702

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

                                  Warum muss Linux immer so eine fürchterlichere Frickelei sein?!
                                  Ich verstehe das nicht.
                                  Ich habe die Befehle vom ersten Post eingetippt.

                                  Verstehe nicht was daran Frickelei ist. Blos weil du bei WIndows nicht mitbekommst was die auf deinem Rechner veranstalten ist es nicht besser.

                                  Poste doch bitte mal die vollständige Ausgabe der Eingabe der Befehle aus dem ersten Post.

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

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

                                    Warum muss Linux immer so eine fürchterlichere Frickelei sein?!
                                    Ich verstehe das nicht.
                                    Ich habe die Befehle vom ersten Post eingetippt.

                                    Moin,

                                    Zu 1: Das hat nichts mit Linux zu tun, sondern mit der Distribution und den 3rd. Party Software Hersteller, die versuchen zu verhinder, das schlechte Menschen, verseuchte Pakete auf Deinen PC installieren können. Jede Distribution kocht da leider ihr eigenes Süppchen.
                                    Zu 2. Dann musst Du dir mal ein gutes Buch zu Linux kaufen und lesen, dann wird vieles klar 🙂
                                    Zu 3. immer nur Befehle, die ein anderer hier eintippt blindlings zu kopieren und sich dann zu wundern wieso geht das bei mir nicht, ist auch nicht so klug.

                                    Hatte ich ja schon weiter oben geschrieben, Lesen (Bildet) dann nachdenken, dann handeln.

                                    Wenn Du auf die Seite von Grafana gehst, steht genau beschrieben was zu tun ist, um die neuen Signaturen in sein System zu bekommen.

                                    VG
                                    Bernd

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

                                      @dp20eic Sehr hilfreich. Leider habe ich überhaupt keinen Bock, Bücher über Linux zu lesen und Frickelkönig zu werden.

                                      ? Thomas Braun Chaot 3 Replies Last reply Reply Quote -4
                                      • ?
                                        A Former User @Marty56 last edited by

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

                                        @dp20eic Sehr hilfreich. Leider habe ich überhaupt keinen Bock, Bücher über Linux zu lesen und Frickelkönig zu werden.

                                        Moin,
                                        ist doch eine Aussage, kann ich mit leben, ob Du damit leben kannst und ob Du mit dieser Einstellung Hilfe bekommst, kann ich Dir nur wünschen. Ich bin dann mal weg.

                                        VG
                                        Bernd

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

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

                                          Leider habe ich überhaupt keinen Bock, Bücher über Linux zu lesen und Frickelkönig zu werden.

                                          Dann lass es bleiben und nerv andere nicht mit deinem Unwillen dich damit zu beschäftigen.

                                          Ich z.B. habe überhaupt keinen Bock so triviales Zeug Leuten zu erklären die es nicht wissen wollen. Setz besser ein Windows ein.

                                          Das Repo ist nach der obigen Anleitung und mit ein wenig Nachdenken in Nullkommanix richtig umgestellt. Hat gestern bei mir keine 10 Sekunden gedauert. Da war nix 'zu frickeln'.

                                          1 Reply Last reply Reply Quote 1
                                          • Chaot
                                            Chaot @Marty56 last edited by

                                            @marty56 Ich verstehe dein Problem nicht.
                                            Ich musste mich beim Übergang von win 3.1 auf Win 95 komplett neu damit befassen. Dann kam Win2000 was auch viele Eigenheiten hatte und dann die Umstellung auf Win7. Auch hier musste einiges komplett neu erlernt werden.
                                            Warum ist das bei Windows ok, aber bei Linux plötzlich böse?
                                            Wenn ich eine Software nutze muss ich mich halt damit beschäftigen damit ich sie richtig einsetzen kann. Das war schon bei PC-DOS so und wird auch bei Win 25 irgendwann so bleiben.
                                            Und Frickelkönig? Dann hast du noch nie einen Windows Server bearbeitet.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            620
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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