Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Grafana-Repo braucht neuen Schlüssel.

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Grafana-Repo braucht neuen Schlüssel.

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

      @gregor-p

      sudo rm /etc/apt/sources.list.d/graf*
      sudo apt-get install -y apt-transport-https
      sudo apt-get install -y software-properties-common wget
      sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
      echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
      
      1 Reply Last reply Reply Quote 0
      • Gregor P
        Gregor P @Thomas Braun last edited by

        @thomas-braun

        habe beides durchgeführt. Trotzdem die folgende Ausgabe.

        greg@greg-HP-EliteDesk-800-G2-DM-65W:~$ sudo apt update
        OK:1 https://packages.grafana.com/oss/deb stable InRelease
        OK:2 https://deb.nodesource.com/node_18.x nodistro InRelease
        OK:3 https://apt.grafana.com stable InRelease
        OK:4 http://archive.ubuntu.com/ubuntu jammy InRelease
        Fehl:1 https://packages.grafana.com/oss/deb stable InRelease
          Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 963FA27710458545
        OK:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
        OK:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
        OK:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
        Paketlisten werden gelesen… Fertig
        Abhängigkeitsbaum wird aufgebaut… Fertig
        Statusinformationen werden eingelesen… Fertig
        Aktualisierung für 5 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
        W: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: https://packages.grafana.com/oss/deb stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 963FA27710458545
        N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://deb.nodesource.com/node_18.x nodistro InRelease« die Architektur »i386« nicht unterstützt.
        N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://apt.grafana.com stable InRelease« die Architektur »i386« nicht unterstützt.
        W: Fehlschlag beim Holen von https://packages.grafana.com/oss/deb/dists/stable/InRelease Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 963FA27710458545
        W: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Gregor P last edited by

          @gregor-p sagte in Grafana-Repo braucht neuen Schlüssel.:

          habe beides durchgeführt.

          Ausgaben/Rückmeldungen zeigen.

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

            @thomas-braun

            greg@greg-HP-EliteDesk-800-G2-DM-65W:~$ iob stop
            greg@greg-HP-EliteDesk-800-G2-DM-65W:~$ iob fix
            library: loaded
            Library version=2023-10-13
            
            ==========================================================================
            
                Welcome to the ioBroker installation fixer!
                Script version: 2023-10-13
            
                You might need to enter your password a couple of times.
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/5)
            ==========================================================================
            
            OK:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
            OK:2 http://archive.ubuntu.com/ubuntu jammy InRelease
            OK:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
            OK:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
            OK:5 https://packages.grafana.com/oss/deb stable InRelease
            OK:6 https://apt.grafana.com stable InRelease
            OK:7 https://deb.nodesource.com/node_18.x nodistro InRelease
            Fehl:5 https://packages.grafana.com/oss/deb stable InRelease
              Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 963FA27710458545
            Paketlisten werden gelesen… Fertig
            W: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: https://packages.grafana.com/oss/deb stable InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 963FA27710458545
            N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://apt.grafana.com stable InRelease« die Architektur »i386« nicht unterstützt.
            N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://deb.nodesource.com/node_18.x nodistro InRelease« die Architektur »i386« nicht unterstützt.
            W: Fehlschlag beim Holen von https://packages.grafana.com/oss/deb/dists/stable/InRelease Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 963FA27710458545
            W: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.
            
            ==========================================================================
                Checking ioBroker user and directory permissions (2/5)
            ==========================================================================
            
            Created /etc/sudoers.d/iobroker
            Fixing directory permissions...
            
            ==========================================================================
                Check and cleanup npm temporary directories (3/5)
            ==========================================================================
            
            Done.
            
            ==========================================================================
                Database maintenance (4/5)
            ==========================================================================
            
            Checking for uncompressed JSONL databases... This might take a while!
            
            Compressing /opt/iobroker/iobroker-data/states.jsonl
            Compressing /opt/iobroker/iobroker-data/objects.jsonl
            Compressed 2 JSONL files. Done
            
            ==========================================================================
                Checking autostart (5/5)
            ==========================================================================
            
            Enabling autostart...
            Autostart enabled!
            
            ==========================================================================
            
                Your installation was fixed successfully
                Run iobroker start to start ioBroker again!
            
            ==========================================================================
            
            
            ioBroker nodejs fixer 2023-10-13
            No recommendation for a nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
            
            Your current setup is:
            /usr/bin/nodejs         v18.19.0
            /usr/bin/node           v18.19.0
            /usr/bin/npm            10.2.3
            /usr/bin/npx            10.2.3
            /usr/bin/corepack       0.22.0
            
            We found these nodejs versions available for installation:
            
            nodejs:
              Installed: 18.19.0-1nodesource1
              Candidate: 18.19.0-1nodesource1
              Version table:
             *** 18.19.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                    100 /var/lib/dpkg/status
                 18.18.2-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.18.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.18.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.17.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.17.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.16.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.16.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.15.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.14.2-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.14.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.14.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.13.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.12.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.11.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.10.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.9.1-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.9.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.8.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.7.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.6.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.5.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.4.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.3.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.2.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.1.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 18.0.0-1nodesource1 1001
                    500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                 12.22.9~dfsg-1ubuntu3.2 500
                    500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
                    500 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
                 12.22.9~dfsg-1ubuntu3 500
                    500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
            
            
            
            Nothing to do - Your installation is using the correct paths.
            
            You are running nodejs v18.19.0. Do you want to install latest version from nodejs v.18 tree?
            
            Press <y> to continue or any other key to quit
            Trying to update your installation now. Please be patient.
            find: '/run/user/1000/doc': Permission denied
            find: '/run/user/1000/gvfs': Permission denied
            Waiting for ioBroker to shut down - Give me a minute...
            ############################################################
            
            *** These repos are active on your system:
            Hit:1 https://apt.grafana.com stable InRelease
            Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
            Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
            Hit:4 https://packages.grafana.com/oss/deb stable InRelease
            Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
            Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease
            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 963FA27710458545
            Reading package lists... Done
            N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://apt.grafana.com stable InRelease' doesn't support architecture 'i386'
            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 963FA27710458545
            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 963FA27710458545
            W: Some index files failed to download. They have been ignored, or old ones used instead.
            
            *** Installing ca-certificates, curl and gnupg, just in case they are missing.
            
            *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
            
            deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
            Package: nodejs
            Pin: origin deb.nodesource.com
            Pin-Priority: 1001
            
            *** These repos are active after the adjustments:
            Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
            Hit:2 https://apt.grafana.com stable InRelease
            Hit:3 https://packages.grafana.com/oss/deb stable InRelease
            Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
            Hit:5 http://archive.ubuntu.com/ubuntu jammy InRelease
            Hit:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
            Err:3 https://packages.grafana.com/oss/deb stable InRelease
              The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
            Hit:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
            Reading package lists... Done
            N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://apt.grafana.com stable InRelease' doesn't support architecture 'i386'
            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 963FA27710458545
            N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://deb.nodesource.com/node_18.x nodistro InRelease' doesn't support architecture 'i386'
            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 963FA27710458545
            W: Some index files failed to download. They have been ignored, or old ones used instead.
            
            Installing the recommended nodejs version now!
            
            Exact recommended version unknown, installing a fallback!
            dpkg: warning: downgrading nodejs from 18.19.0-1nodesource1 to 18.0.0-1nodesource1
            (Reading database ... 232911 files and directories currently installed.)
            Preparing to unpack .../nodejs_18.0.0-1nodesource1_amd64.deb ...
            Detected old npm client, removing...
            Unpacking nodejs (18.0.0-1nodesource1) over (18.19.0-1nodesource1) ...
            Setting up nodejs (18.0.0-1nodesource1) ...
            Processing triggers for man-db (2.10.2-1) ...
            
            Updating fallback to latest nodejs v18 release
            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 963FA27710458545
            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 963FA27710458545
            W: Some index files failed to download. They have been ignored, or old ones used instead.
            (Reading database ... 233174 files and directories currently installed.)
            Preparing to unpack .../nodejs_18.19.0-1nodesource1_amd64.deb ...
            Detected old npm client, removing...
            Unpacking nodejs (18.19.0-1nodesource1) over (18.0.0-1nodesource1) ...
            Setting up nodejs (18.19.0-1nodesource1) ...
            Processing triggers for man-db (2.10.2-1) ...
            v18.19.0 has been installed! You are using the latest version now!
            Installing the recommended nodejs version!
            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 963FA27710458545
            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 963FA27710458545
            W: Some index files failed to download. They have been ignored, or old ones used instead.
            
            We tried our best to fix your nodejs. Please run iob diag again to verify.
            
            *** RESTARTING ioBroker NOW! ***
             Please refresh or restart your browser in a few moments.
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Gregor P last edited by

              @gregor-p

              Du hast da einen Desktop laufen. Ausschalten...

              sudo systemctl set-default multi-user.target
              

              Dann hast du da eine Doublette bei grafana irgendwo.

              grep -rn '/etc/apt/' -e 'grafana'
              
              Gregor P 1 Reply Last reply Reply Quote 0
              • Gregor P
                Gregor P @Thomas Braun last edited by

                @thomas-braun said in Grafana-Repo braucht neuen Schlüssel.:

                Dann hast du da eine Doublette bei grafana irgendwo.

                greg@greg-HP-EliteDesk-800-G2-DM-65W:~$ grep -rn '/etc/apt/' -e 'grafana'
                grep: /etc/apt/trusted.gpg.d/grafana.gpg~: Übereinstimmungen in Binärdatei
                /etc/apt/sources.list.d/grafana.list:1:deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main
                /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-jammy.list:1:deb https://packages.grafana.com/oss/deb stable main
                /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-jammy.list:2:# deb-src https://packages.grafana.com/oss/deb stable main
                grep: /etc/apt/trusted.gpg~: Übereinstimmungen in Binärdatei
                grep: /etc/apt/keyrings/grafana.gpg: Übereinstimmungen in Binärdatei
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Gregor P last edited by

                  @gregor-p sagte in Grafana-Repo braucht neuen Schlüssel.:

                  /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-jammy.list

                  Die ist überflüssig. Wo auch immer die her kommt.

                  sudo rm /etc/apt/sources.list.d/archive_uri-https_packages_grafana_com_oss_deb-jammy.list
                  
                  sudo apt update
                  
                  Gregor P 1 Reply Last reply Reply Quote 0
                  • Gregor P
                    Gregor P @Thomas Braun last edited by

                    @thomas-braun

                    scheint funktioniert zu haben. Das Thema hat mich gestern Nacht 4h gekostet 🙂
                    Vielen Dank Dir.

                    Sind die beiden Warnungen unten noch relevant oder einfach ignorieren?

                    greg@greg-HP-EliteDesk-800-G2-DM-65W:~$ sudo apt update
                    OK:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
                    OK:2 http://archive.ubuntu.com/ubuntu jammy InRelease
                    OK:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
                    OK:4 https://apt.grafana.com stable InRelease
                    OK:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
                    OK:6 https://deb.nodesource.com/node_18.x nodistro InRelease
                    Paketlisten werden gelesen… Fertig
                    Abhängigkeitsbaum wird aufgebaut… Fertig
                    Statusinformationen werden eingelesen… Fertig
                    Aktualisierung für 5 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                    N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://apt.grafana.com stable InRelease« die Architektur »i386« nicht unterstützt.
                    N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://deb.nodesource.com/node_18.x nodistro InRelease« die Architektur »i386« nicht unterstützt.
                    greg@greg-HP-EliteDesk-800-G2-DM-65W:~$
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Gregor P last edited by

                      @gregor-p sagte in Grafana-Repo braucht neuen Schlüssel.:

                      Sind die beiden Warnungen unten noch relevant oder einfach ignorieren?

                      Sind nur Hinweise. Kannst du übergehen oder die entsprechenden .list-Dateien um einen Eintrag zur Architektur ändern. Sieht dann z. B. so aus.

                      deb [arch=amd64] http://repo.irgendwas.com/stable/deb/ stable main
                      

                      Betrifft dann bei dir die grafana.list sowie die nodesource.list

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

                        @thomas-braun

                        heißt für mich. Ich kann die grafana.list suchen und in der Datei den Eintrag wie folgt anpassen

                        deb [arch=amd64] http://repo.irgendwas.com/stable/deb/ stable main
                        

                        Identisch für nodesource.list

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

                          @gregor-p

                          Die Dateien liegen beide im Verzeichnis /etc/apt/sources.list.d/ , weil dort alle .list-Dateien von Dritten liegen.

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

                            @thomas-braun

                            gefunden. Der Eintrag sieht so aus

                            deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main
                            
                            

                            ändere ich in

                            deb [arch=amd64 signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main
                            
                            
                            

                            Hat geklappt !

                            @Thomas-Braun Danke die nochmal für die flotte Hilfe!

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            775
                            Online

                            31.7k
                            Users

                            79.7k
                            Topics

                            1.3m
                            Posts

                            grafana update key
                            10
                            38
                            3952
                            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