Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Diskussion zum HowTo nodejs-Installation und upgrade

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Diskussion zum HowTo nodejs-Installation und upgrade

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Pupsimupsi @Homoran last edited by

      @homoran
      OK, machs nochmal!
      Danke!

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

        @thomas-braun

        geht nicht weiter...noch warten?

        pi@raspberrypi:~ $ cd /opt/iobroker
        pi@raspberrypi:/opt/iobroker $ npm uninstall iobroker.tado@git+ssh://git@github.com/DrozmotiX/ioBroker.tado.git#b76989c15dac473f32530a40632ebea1677451bf
        npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
        npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!
        The authenticity of host 'github.com (140.82.121.3)' can't be established.
        RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
        Are you sure you want to continue connecting (yes/no)? The authenticity of host 'github.com (140.82.121.3)' can't be established.
        RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
        Are you sure you want to continue connecting (yes/no)? The authenticity of host 'github.com (140.82.121.3)' can't be established.
        RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
        [            ......] | extract:date-fns: sill extract date-fns@2.22.1 extracted to /opt/iobroker/node_modules/.staging/date-fns-4e50d65e (14211ms)
        
        

        Bildschirmfoto 2021-07-06 um 15.22.54.png

        Ergänzung 15:29 Uhr:
        Hängt noch immer...denke das kann ich schließen und nen neues Terminal-fenster öffnen, oder?

        Ergänzung 2 15:45 Uhr:
        Hängt weiterhin... Hab nun das Terminal geschlossen. Neues geöffnet und der ioBroker startet zum Glück noch 🙂
        8dachte schon ich muss wieder die andere SSD anhängen und von Vorne anfangen.

        P 1 Reply Last reply Reply Quote 0
        • P
          Pupsimupsi @Pupsimupsi last edited by

          So,

          hab aufgegeben...

          Einmal die Backup Platte rein und die Holzhammer Methode von Stabilostick gemacht.

          Nun ist zumindest alles da wo es hingehört und Updates klappen auch wieder 😉

          1 Reply Last reply Reply Quote 0
          • R
            rettroo last edited by

            Hallo,

            ich wollte heute gerne von Node.js 12 auf 14 updaten komme aber nicht weiter:

            aaach@debian:/opt/iobroker$ sudo curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
            
            ## Installing the NodeSource Node.js 14.x repo...
            
            
            ## Populating apt-get cache...
            
            + apt-get update
            Paketlisten werden gelesen... Fertig
            E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
            E: Das Verzeichnis /var/lib/apt/lists/ kann nicht gesperrt werden.
            W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/pkgcache.bin - RemoveCaches (13: Keine Berechtigung)
            W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Keine Berechtigung)
            Error executing command, exiting
            aaach@debian:/opt/iobroker$ sudo apt install nodejs
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            nodejs ist schon die neueste Version (12.22.7-deb-1nodesource1).
            0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
            
            
            bahnuhr Thomas Braun 2 Replies Last reply Reply Quote 0
            • bahnuhr
              bahnuhr Forum Testing Most Active @rettroo last edited by

              @rettroo sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

              Node.js 12 auf 14

              stable ist doch 12.

              Warum will man auf 14!

              Hat das irgendwelche Vorteile ?

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

                @rettroo

                Änder in der bereits existierenden nodesource.list ein Eintrag von 12 auf 14.

                sudo nano /etc/apt/sources.list.d/nodesource.list
                
                R 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @bahnuhr last edited by

                  @bahnuhr

                  node14 ist die neue empfohlene nodeJS-Version für den ioBroker.

                  bahnuhr 1 Reply Last reply Reply Quote 0
                  • bahnuhr
                    bahnuhr Forum Testing Most Active @Thomas Braun last edited by

                    @thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                    @bahnuhr

                    node14 ist die neue empfohlene nodeJS-Version für den ioBroker.

                    im stable auch ?

                    Wurde mir bisher nicht angezeigt.

                    Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @bahnuhr last edited by

                      @bahnuhr
                      nodeJS hat nix mit dem ioBroker stable/beta-Repository zu tun.

                      1 Reply Last reply Reply Quote 0
                      • bahnuhr
                        bahnuhr Forum Testing Most Active last edited by

                        tatsächlich:
                        2009ed88-03f1-42d1-abe9-a0f96b692852-image.png

                        Im Info ist dies jetzt drin.

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

                          @thomas-braun
                          habe ich geändert und gespeichert, ändert aber nix:

                          aaach@debian:/opt/iobroker$ sudo curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
                          
                          ## Installing the NodeSource Node.js 14.x repo...
                          
                          
                          ## Populating apt-get cache...
                          
                          + apt-get update
                          Paketlisten werden gelesen... Fertig
                          E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
                          E: Das Verzeichnis /var/lib/apt/lists/ kann nicht gesperrt werden.
                          W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/pkgcache.bin - RemoveCaches (13: Keine Berechtigung)
                          W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Keine Berechtigung)
                          Error executing command, exiting
                          aaach@debian:/opt/iobroker$ sudo apt install nodejs
                          Paketlisten werden gelesen... Fertig
                          Abhängigkeitsbaum wird aufgebaut.
                          Statusinformationen werden eingelesen.... Fertig
                          nodejs ist schon die neueste Version (12.22.7-deb-1nodesource1).
                          0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                          aaach@debian:/opt/iobroker$ sudo nano /etc/apt/sources.list.d/nodesource.list
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @rettroo last edited by

                            @rettroo sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
                            Mach das nicht so. Das funktioniert in deinem Fall nicht.

                            sudo curl -fsSL https://deb.nodesource.com/setup_14.x | bash -

                            Was steht in der nodesource.list jetzt drin?

                            cat /etc/apt/sources.list.d/nodesource.list
                            
                            R 1 Reply Last reply Reply Quote 0
                            • R
                              rettroo @Thomas Braun last edited by

                              @thomas-braun said in Diskussion zum HowTo nodejs-Installation und upgrade:

                              cat /etc/apt/sources.list.d/nodesource.list

                              deb-src https://deb.nodesource.com/node_14.x buster main
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @rettroo last edited by Thomas Braun

                                @rettroo

                                Eine Zeile zu wenig.
                                So muss das aussehen:

                                #node 14
                                deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x buster main
                                deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x buster main
                                
                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  rettroo @Thomas Braun last edited by

                                  @thomas-braun

                                  hmm... so siehts im Nano aus:

                                   GNU nano 3.2                                                                                      /etc/apt/sources.list.d/nodesource.list
                                  
                                  deb https://deb.nodesource.com/node_14.x buster main
                                  deb-src https://deb.nodesource.com/node_14.x buster main
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @bahnuhr last edited by

                                    @bahnuhr sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                    im stable auch ?

                                    hat nix mit stable zu tun.
                                    nodejs ist das "Betriebssystem"

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

                                      @rettroo
                                      Ja, passt.

                                      iobroker stop
                                      sudo apt update
                                      sudo apt dist-upgrade
                                      sudo reboot
                                      
                                      R 1 Reply Last reply Reply Quote 0
                                      • R
                                        rettroo @Thomas Braun last edited by

                                        @thomas-braun said in Diskussion zum HowTo nodejs-Installation und upgrade:

                                        sudo reboot

                                        Funktioniert, DANKE!

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

                                          @rettroo

                                          Gegencheck:

                                          which node npm &&  node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                          
                                          
                                          R 1 Reply Last reply Reply Quote 0
                                          • R
                                            rettroo @Thomas Braun last edited by

                                            @thomas-braun

                                            aaach@debian:~$ which node npm &&  node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                            /usr/bin/node
                                            /usr/bin/npm
                                            v14.18.1
                                            6.14.15
                                            OK:1 http://security.debian.org/debian-security buster/updates InRelease
                                            OK:2 http://deb.debian.org/debian buster InRelease
                                            OK:3 http://deb.debian.org/debian buster-updates InRelease
                                            OK:4 https://deb.nodesource.com/node_14.x buster InRelease
                                            Paketlisten werden gelesen... Fertig
                                            Abhängigkeitsbaum wird aufgebaut.
                                            Statusinformationen werden eingelesen.... Fertig
                                            Alle Pakete sind aktuell.
                                            OK:1 http://security.debian.org/debian-security buster/updates InRelease
                                            OK:2 http://deb.debian.org/debian buster InRelease
                                            OK:3 http://deb.debian.org/debian buster-updates InRelease
                                            OK:4 https://deb.nodesource.com/node_14.x buster InRelease
                                            Paketlisten werden gelesen... Fertig
                                            Abhängigkeitsbaum wird aufgebaut.
                                            Statusinformationen werden eingelesen.... Fertig
                                            Alle Pakete sind aktuell.
                                            nodejs:
                                              Installiert:           14.18.1-deb-1nodesource1
                                              Installationskandidat: 14.18.1-deb-1nodesource1
                                              Versionstabelle:
                                             *** 14.18.1-deb-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_14.x buster/main amd64 Packages
                                                    100 /var/lib/dpkg/status
                                                 10.24.0~dfsg-1~deb10u1 500
                                                    500 http://deb.debian.org/debian buster/main amd64 Packages
                                                    500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
                                            
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            691
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs
                                            91
                                            844
                                            168707
                                            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