Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Update auf Nodejs 16 scheitert an grafana

    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

    Update auf Nodejs 16 scheitert an grafana

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      ed210 last edited by

      Hallo!

      Ich wollte gerade ein Update von Nodejs auf Version 16 durchführen und erhalte folgenden Fehler:

      Err:6 https://packagecloud.io/grafana/stable/debian stretch InRelease
      402 Payment Required [IP: 52.8.238.184 443]

      E: Failed to fetch https://packagecloud.io/grafana/stable/debian/dists/stretch/InRelease 402 Payment Required [IP: 52.8.238.184 443]
      E: The repository 'https://packagecloud.io/grafana/stable/debian stretch InRelease' is not signed.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      N: See apt-secure(8) manpage for repository creation and user configuration details.

      Kann mir wer helfen?

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

        @ed210
        Bitte immer vollständige Ein- und Ausgaben.
        Das die Quelle falsch ist sieht man erst im Kontext der anderen Quellen.

        Und die anderen beiden Probleme in deiner Installation sieht man gar nicht.

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

          Hier der ganze Text:

          root@CT201:/opt/iobroker# curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
          
          ## Installing the NodeSource Node.js 16.x repo...
          
          
          ## Populating apt-get cache...
          
          + apt-get update
          Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
          Get:2 https://deb.nodesource.com/node_14.x bionic InRelease [4584 B]                                                                                                     
          Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                                                                
          Get:4 https://repos.influxdata.com/ubuntu bionic InRelease [4737 B]                                                                                          
          Get:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                                                   
          Err:6 https://packagecloud.io/grafana/stable/debian stretch InRelease                                     
            402  Payment Required [IP: 52.8.238.184 443]
          Get:7 https://repos.influxdata.com/ubuntu bionic/stable amd64 Packages [1267 B]
          Get:8 https://deb.nodesource.com/node_14.x bionic/main amd64 Packages [769 B]
          Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2707 kB]
          Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [500 kB]
          Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [889 kB]
          Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [123 kB]
          Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1837 kB]
          Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [398 kB]
          Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [24.9 kB]
          Get:16 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2366 kB]
          Get:17 http://archive.ubuntu.com/ubuntu bionic-security/main Translation-en [410 kB]
          Get:18 http://archive.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [859 kB]
          Get:19 http://archive.ubuntu.com/ubuntu bionic-security/restricted Translation-en [118 kB]
          Get:20 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1223 kB]
          Get:21 http://archive.ubuntu.com/ubuntu bionic-security/universe Translation-en [282 kB]
          Get:22 http://archive.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [19.0 kB]
          Reading package lists... Done                                                                                                                                            
          E: Failed to fetch https://packagecloud.io/grafana/stable/debian/dists/stretch/InRelease  402  Payment Required [IP: 52.8.238.184 443]
          E: The repository 'https://packagecloud.io/grafana/stable/debian stretch InRelease' is not signed.
          N: Updating from such a repository can't be done securely, and is therefore disabled by default.
          N: See apt-secure(8) manpage for repository creation and user configuration details.
          Error executing command, exiting
          root@CT201:/opt/iobroker# sudo apt install -y nodejs
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          The following packages will be upgraded:
            nodejs
          1 upgraded, 0 newly installed, 0 to remove and 149 not upgraded.
          Need to get 25.5 MB of archives.
          After this operation, 2564 kB of additional disk space will be used.
          Get:1 https://deb.nodesource.com/node_14.x bionic/main amd64 nodejs amd64 14.20.0-1nodesource1 [25.5 MB]
          Fetched 25.5 MB in 3s (7467 kB/s) 
          (Reading database ... 37036 files and directories currently installed.)
          Preparing to unpack .../nodejs_14.20.0-1nodesource1_amd64.deb ...
          Detected old npm client, removing...
          Unpacking nodejs (14.20.0-1nodesource1) over (14.17.6-1nodesource1) ...
          Setting up nodejs (14.20.0-1nodesource1) ...
          Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
          root@CT201:/opt/iobroker# node -v
          v14.20.0
          
          Thomas Braun Homoran 4 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @ed210 last edited by

            @ed210

            Punkt 1: Nicht als root rumeimern. Leg dir einen user an, falls da noch keiner ist:

            adduser deinusername
            usermod -aG sudo deinusername
            usermod -aG iobroker deinusername
            exit
            

            Und dann niemehr als root anmelden, nur noch mit dem user.

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

              @ed210

              Punkt 2:
              Jetzt als user:

              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://packages.grafana.com/gpg.key
              echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
              
              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators last edited by

                Habe das nach OffTopic verschoben.
                Grafana ist kein Bestandteil von ioBroker

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

                  @ed210

                  Punkt 3:

                  sudo apt update 
                  sudo apt full-upgrade
                  sudo reboot
                  
                  E 2 Replies Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @ed210 last edited by

                    @Thomas-Braun

                    @ed210 sagte in Update auf Nodejs 16 scheitert an grafana:

                    root@CT201:

                    @ed210
                    steht das für ConTainer?

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

                      @thomas-braun Vielen Dank für die ausführliche Beschreibung! Der User ist angelegt und das Update wird gerade ausgeführt. Soweit hat alles geklappt bisher.

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • E
                        ed210 @Homoran last edited by

                        @homoran

                        Ja, das Linux läuft in einem Proxmox Container.

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

                          @ed210 sagte in Update auf Nodejs 16 scheitert an grafana:

                          Soweit hat alles geklappt bisher.

                          Zeigen...
                          Nach dem reboot:

                          sudo apt update
                          apt policy grafana
                          apt policy nodejs
                          
                          E 2 Replies Last reply Reply Quote 0
                          • E
                            ed210 @Thomas Braun last edited by

                            @thomas-braun

                            Ich bin jetzt alle Punkte durchgegangen. Der grafana-Fehler bleibt leider bestehen:

                            ed210@CT201:/opt/iobroker$ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
                            
                            ## Installing the NodeSource Node.js 16.x repo...
                            
                            
                            ## Populating apt-get cache...
                            
                            + apt-get update
                            Hit:1 https://repos.influxdata.com/ubuntu bionic InRelease
                            Hit:2 https://deb.nodesource.com/node_14.x bionic InRelease                                                                                                              
                            Hit:3 https://packages.grafana.com/oss/deb stable InRelease                                                                                                              
                            Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                                                  
                            Hit:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                                  
                            Hit:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease                                
                            Err:7 https://packagecloud.io/grafana/stable/debian stretch InRelease                           
                              402  Payment Required [IP: 52.8.238.184 443]
                            Reading package lists... Done                      
                            E: Failed to fetch https://packagecloud.io/grafana/stable/debian/dists/stretch/InRelease  402  Payment Required [IP: 52.8.238.184 443]
                            E: The repository 'https://packagecloud.io/grafana/stable/debian stretch InRelease' is not signed.
                            N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                            N: See apt-secure(8) manpage for repository creation and user configuration details.
                            Error executing command, exiting
                            ed210@CT201:/opt/iobroker$ 
                            
                            1 Reply Last reply Reply Quote 0
                            • E
                              ed210 @Thomas Braun last edited by

                              @thomas-braun

                              Hab das "Nach dem Reboot" übersehen, sorry.

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

                                @thomas-braun said in Update auf Nodejs 16 scheitert an grafana:

                                apt policy nodejs

                                ed210@CT201:/opt/iobroker$ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
                                
                                ## Installing the NodeSource Node.js 16.x repo...
                                
                                
                                ## Populating apt-get cache...
                                
                                + apt-get update
                                Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
                                Hit:2 https://repos.influxdata.com/ubuntu bionic InRelease                                                                                                               
                                Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                                          
                                Hit:4 https://deb.nodesource.com/node_14.x bionic InRelease                                                                                                              
                                Hit:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease                                                                                                         
                                Hit:6 https://packages.grafana.com/oss/deb stable InRelease                                                                                           
                                Err:7 https://packagecloud.io/grafana/stable/debian stretch InRelease                                                           
                                  402  Payment Required [IP: 52.8.238.184 443]
                                Reading package lists... Done                      
                                E: Failed to fetch https://packagecloud.io/grafana/stable/debian/dists/stretch/InRelease  402  Payment Required [IP: 52.8.238.184 443]
                                E: The repository 'https://packagecloud.io/grafana/stable/debian stretch InRelease' is not signed.
                                N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                N: See apt-secure(8) manpage for repository creation and user configuration details.
                                Error executing command, exiting
                                ed210@CT201:/opt/iobroker$ 
                                

                                Der Fehler ist leider immer noch da, auch nach den 3 Zeilen bei "Nach dem reboot"

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

                                  @ed210

                                  Es muss noch eine *.list Datei geben, die "packagecloud" enthält.

                                  grep -r "packagecloud" /etc/apt/
                                  

                                  Diese Datei löschen.

                                  sudo rm /pfad/zur/datei.list
                                  
                                  E 1 Reply Last reply Reply Quote 0
                                  • E
                                    ed210 @Thomas Braun last edited by

                                    @thomas-braun

                                    Der erste Befehl wird gerade ausgeführt. Er scheint ne Weile dafür zu brauchen.

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

                                      @ed210 sagte in Update auf Nodejs 16 scheitert an grafana:

                                      Er scheint ne Weile dafür zu brauchen.

                                      Sollte eigentlich nicht. So viele Dateien sollten in dem Pfad nicht liegen.

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

                                        @thomas-braun

                                        > ed210@CT201:/opt/iobroker$ grep -r "packagecloud" /etc/apt/
                                        > 
                                        

                                        Ich vermute das er was tut, weil ich nach der Eingabe keinen promt mehr bekomme.

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

                                          @ed210

                                          STRG-C

                                          grep -r "grafana" /etc/apt/
                                          
                                          E 1 Reply Last reply Reply Quote 0
                                          • E
                                            ed210 @Thomas Braun last edited by

                                            @thomas-braun

                                            ed210@CT201:/opt/iobroker$ grep -r "grafana" /etc/apt/
                                            /etc/apt/sources.list:deb https://packagecloud.io/grafana/stable/debian/ stretch main
                                            /etc/apt/sources.list.d/grafana.list:deb [signed-by=/usr/share/keyrings/grafana.key] https://packages.grafana.com/oss/deb stable main
                                            ed210@CT201:/opt/iobroker$ 
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            844
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            46
                                            1914
                                            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