Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Wir Empfehlen: Node.js 20.x :-)

    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

    Wir Empfehlen: Node.js 20.x :-)

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

      @drapo

      Falls Du mal Langeweile hast 😉

      c05d175e-6755-42c7-ae03-f20699252764-grafik.png

      D 1 Reply Last reply Reply Quote 0
      • D
        drapo @haselchen last edited by

        @haselchen haha danke für die info. Aber ich warte lieber auf die stable version

        1 Reply Last reply Reply Quote 0
        • S
          smarthome2020 last edited by smarthome2020

          Hey Leute,

          ich bekomme ich ioBroker seit kurzer Zeit unter Host immer die Erinnerung:

          libnode-dev/stable 18.19.0+dfsg-6~deb12u2 amd64 [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
          libnode108/stable 18.19.0+dfsg-6~deb12u2 amd64 [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
          node-babel7-runtime/stable 7.20.15+ds1+~cs214.269.168-3+deb12u2 all [aktualisierbar von: 7.20.15+ds1+~cs214.269.168-3+deb12u1]
          node-babel7/stable 7.20.15+ds1+~cs214.269.168-3+deb12u2 all [aktualisierbar von: 7.20.15+ds1+~cs214.269.168-3+deb12u1]
          node-v8-compile-cache/stable 2.3.0-3+deb12u1 all [aktualisierbar von: 2.3.0-3]
          nodejs-doc/stable 18.19.0+dfsg-6~deb12u2 all [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
          nodejs/nodistro 20.16.0-1nodesource1 amd64 [aktualisierbar von: 18.19.0+dfsg-6~deb12u1]
          

          Nun wollte ich mich ans Werk machen und nodejs auf 20 heben nach folgender Anleitung .

          Leider klappt das nicht, mir wird unter "iob diag" folgendes ausgegeben:

          corepack:       N/A
          *** nodejs is NOT correctly installed ***
          
          nodejs:
            Installed: 18.19.0+dfsg-6~deb12u1
            Candidate: 20.16.0-1nodesource1
            Version table:
               20.16.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.15.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.15.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.14.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.13.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.13.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.12.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.12.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.12.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.11.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.11.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.10.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.9.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.8.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.8.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.7.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.6.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.6.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.5.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.5.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.4.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.3.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.3.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.2.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.1.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               20.0.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
               18.19.0+dfsg-6~deb12u2 500
                  500 http://deb.debian.org/debian bookworm/main amd64 Packages
           *** 18.19.0+dfsg-6~deb12u1 500
                  500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
                  100 /var/lib/dpkg/status
          

          Ich habe bereits "iob fix" probiert. Die VM unter Proxmox ist auf dem neuesten Stand.
          Was mache ich falsch? Wie aktualisiere ich den Rest dann (apt update und upgrade -y sind bereits ausgeführt worden)

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

            @smarthome2020

            Da ist die falsche Version noch installiert.
            Sollte eigentlich per

            iob nodejs-update 20
            

            automatisch alles bereinigt werden. Zeig mal die Ausgaben davon.

            S 1 Reply Last reply Reply Quote 1
            • S
              smarthome2020 @Thomas Braun last edited by

              @thomas-braun

              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.20 tree?
              
              Press <y> to continue or any other key to quit
              Trying to fix your installation now. Please be patient.
              
              Virtualization: kvm
              Waiting for ioBroker to shut down - Give me a minute...
              ############################################################
              
              *** These repos are active on your system:
              Hit:1 http://deb.debian.org/debian bookworm InRelease
              Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
              Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
              Reading package lists... Done
              
              *** 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_20.x nodistro main
              Package: nodejs
              Pin: origin deb.nodesource.com
              Pin-Priority: 1001
              
              *** These repos are active after the adjustments:
              Hit:1 http://deb.debian.org/debian bookworm InRelease
              Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
              Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
              Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
              Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [8759 B]
              Fetched 20.9 kB in 0s (45.1 kB/s)
              Reading package lists... Done
              
              Installing nodejs now!
              
              E: Broken packages
              Installing nodejs now!
              E: Broken packages
              
              *** You need to manually restart your container/virtual machine now! ***
              
              We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @smarthome2020 last edited by Thomas Braun

                @smarthome2020
                Versuch mal ein

                sudo apt remove libnode* node-* nodejs-doc npm nodejs
                

                und danach nochmal

                sudo apt update
                iob nodejs-update 20
                
                S S 2 Replies Last reply Reply Quote 1
                • S
                  smarthome2020 @Thomas Braun last edited by

                  @thomas-braun

                  Super, das hat geklappt 🙂
                  Vielen Dank für deine kompetente Hilfe (wie immer 😄 ) .

                  1 Reply Last reply Reply Quote 0
                  • Gabriel Bast
                    Gabriel Bast @apollon77 last edited by

                    @apollon77 Hallo ich habe ein Problem . Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt. Ich habe das richtige Passwort eingegeben aber er sagt es ist falsch. Wo liegt das Problem?
                    Über eine Antwort wäre ich sehr dankbar.
                    Vielen Dank und Gruß
                    Gabriel

                    sigi234 Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                    • sigi234
                      sigi234 Forum Testing Most Active @Gabriel Bast last edited by

                      @gabriel-bast

                      Meister Fehler ist ein Leerzeichen am Anfang oder Ende des PW

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

                        @gabriel-bast sagte in Wir Empfehlen: Node.js 20.x 🙂:

                        Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt.

                        Wie installierst du es denn?
                        Per

                        iob nodejs-update
                        

                        wirst du nicht nach dem PW für den iobroker-Admin gefragt sondern nach dem Passwort für das Betriebssystem.

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Gabriel Bast last edited by

                          @gabriel-bast sagte in Wir Empfehlen: Node.js 20.x 🙂:

                          Ich will Version 20 installieren

                          wie?

                          @gabriel-bast sagte in Wir Empfehlen: Node.js 20.x 🙂:

                          ich werde nach dem iobrocker Passwort gefragt

                          wo genau?

                          bitte mehr Infos

                          1 Reply Last reply Reply Quote 0
                          • S
                            Stadtschloss @Thomas Braun last edited by Stadtschloss

                            @thomas-braun

                            Hallo,

                            ich habe die genannten Befehle ausgeführt. Bei dem nodejs-update kann Anscheint die neue Version nicht installiert werden. Was kann ich hier machen?

                            Danke!

                            iob nodejs-update 20
                            
                            ioBroker nodejs fixer 2024-10-10
                            You requested to install latest version from nodejs v20 tree.
                            
                            Your current setup is:
                            /home/iobroker/.nodejs-update.sh: line 156: node: command not found
                             		
                            /home/iobroker/.nodejs-update.sh: line 157: npm: command not found
                             		
                            /home/iobroker/.nodejs-update.sh: line 158: npx: command not found
                             		
                            /home/iobroker/.nodejs-update.sh: line 178: node: command not found
                            /home/iobroker/.nodejs-update.sh: line 179: npm: command not found
                            /home/iobroker/.nodejs-update.sh: line 180: npx: command not found
                            
                            *** nodejs is NOT correctly installed ***
                            We found these nodejs versions available for installation:
                            
                            nodejs:
                              Installed: (none)
                              Candidate: 20.18.1-1nodesource1
                              Version table:
                                 20.18.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.18.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.17.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.16.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.15.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.15.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.14.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.13.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.13.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.12.2-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.12.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.12.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.11.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.11.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.10.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.9.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.8.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.8.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.7.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.6.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.6.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.5.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.5.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.4.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.3.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.3.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.2.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.1.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.0.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 12.22.12~dfsg-1~deb11u5 500
                                    500 http://security.debian.org bullseye-security/main amd64 Packages
                                 12.22.12~dfsg-1~deb11u4 500
                                    500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                            
                            
                            
                            Your nodejs-Installation seems to be faulty. Shall we try to fix it?
                            Press <y> to continue or any other key to quit
                            
                            Fixing your nodejs setup
                            *** Deleting  ***
                            rm: cannot remove '': No such file or directory
                            *** Deleting  ***
                            rm: cannot remove '': No such file or directory
                            *** Deleting  ***
                            rm: cannot remove '': No such file or directory
                            
                            Wrong paths have been fixed. Run 'iob diag' or 'iob nodejs-update' again to check if your installation is fine now
                            /home/iobroker/.nodejs-update.sh: line 279: node: command not found
                            
                            You are running nodejs . Do you want to install latest version from nodejs v.20 tree? 
                            
                            Press <y> to continue or any other key to quit
                            Trying to fix your installation now. Please be patient.
                            
                            rm: cannot remove '/etc/apt/keyrings/nodesource.gpg 2> /dev/null': No such file or directory
                            
                            Virtualization: lxc
                            Waiting for ioBroker to shut down - Give me a minute...
                            ############################################################
                            
                            Removing dfsg-nodejs
                            
                            
                            *** These repos are active on your system:
                            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
                            Reading package lists... Done
                            
                            *** 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_20.x nodistro main
                            Package: nodejs
                            Pin: origin deb.nodesource.com
                            Pin-Priority: 1001
                            
                            *** These repos are active after the adjustments:
                            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://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB] 
                            Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [9928 B]
                            Fetched 22.1 kB in 1s (28.3 kB/s)   
                            Reading package lists... Done
                            
                            Installing nodejs now!
                            
                            /home/iobroker/.nodejs-update.sh: line 386: [: : integer expression expected
                            Exact recommended version unknown, installing a fallback!
                            Selecting previously unselected package nodejs.
                            (Reading database ... 36421 files and directories currently installed.)
                            Preparing to unpack .../nodejs_20.0.0-1nodesource1_amd64.deb ...
                            Unpacking nodejs (20.0.0-1nodesource1) ...
                            Setting up nodejs (20.0.0-1nodesource1) ...
                            Processing triggers for man-db (2.9.4-2) ...
                            
                            Updating fallback to latest nodejs v20 release
                            (Reading database ... 41875 files and directories currently installed.)
                            Preparing to unpack .../nodejs_20.18.1-1nodesource1_amd64.deb ...
                            Detected old npm client, removing...
                            Unpacking nodejs (20.18.1-1nodesource1) over (20.0.0-1nodesource1) ...
                            Setting up nodejs (20.18.1-1nodesource1) ...
                            Processing triggers for man-db (2.9.4-2) ...
                            v20.18.1 has been installed! You are using the latest version now!
                            /home/iobroker/.nodejs-update.sh: line 403: [: : integer expression expected
                            Installing nodejs now!
                            
                            *** You need to manually restart your container/virtual machine now! *** 
                            
                            We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                            

                            UPDATE:

                            Ein restart zeigt nun das. Hat also wie es ausschaut jetzt geklappt:

                            ioBroker nodejs fixer 2024-10-10
                            
                            Recommended nodejs-version is: 20.18.1
                            Checking your installation now. Please be patient!
                            
                            Your current setup is:
                            /usr/bin/nodejs 	v20.18.1
                            /usr/bin/node 		v20.18.1
                            /usr/bin/npm 		10.8.2
                            /usr/bin/npx 		10.8.2
                            /usr/bin/corepack 	0.29.4
                            
                            We found these nodejs versions available for installation:
                            
                            nodejs:
                              Installed: 20.18.1-1nodesource1
                              Candidate: 20.18.1-1nodesource1
                              Version table:
                             *** 20.18.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                    100 /var/lib/dpkg/status
                                 20.18.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.17.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.16.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.15.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.15.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.14.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.13.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.13.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.12.2-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.12.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.12.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.11.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.11.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.10.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.9.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.8.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.8.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.7.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.6.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.6.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.5.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.5.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.4.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.3.1-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.3.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.2.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.1.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 20.0.0-1nodesource1 1001
                                    500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                 12.22.12~dfsg-1~deb11u5 500
                                    500 http://security.debian.org bullseye-security/main amd64 Packages
                                 12.22.12~dfsg-1~deb11u4 500
                                    500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                            
                            
                            
                            Nothing to do - Your installation is using the correct paths.
                            Nothing to do - Your version is the recommended one.
                            
                            ***You can now keep your whole system up-to-date using the usual 'sudo apt update && sudo apt full-upgrade' commands. ***
                            *** DO NOT USE node version managers like 'nvm', 'n' and others in parallel. They will break your current installation! ***
                            
                             *** DO NOT use 'nodejs-update' as part of a regular update process! ***
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Stadtschloss last edited by

                              @stadtschloss

                              Deswegen ja auch der Hinweis:

                              *** You need to manually restart your container/virtual machine now! ***

                              1 Reply Last reply Reply Quote 0
                              • L
                                LastActionHero last edited by

                                Ich muss mich hier leider in die Reihe der Ahnungslosen einklinken. Ich habe ioBroker als LXC auf meinem Proxmox laufen, via Proxmox VE Helperscript aufgesetzt. Leider bekomme ich das Update auf Node 20 auch nicht hin. Wenn ich mich über die Console anmelde, bin ich per se root, der lässt mich das script damit foglerichtig nicht ausführen.

                                switche ich mit SU auf einen anderen, neu erstellten user, heißt es wie folgt:

                                Sorry, user ioadmin is not allowed to execute '/usr/bin/curl -sLf https://iobroker.net/node-update.sh --output /home/iobroker/.nodejs-update.sh' as iobroker on iobroker.homenet.local.
                                

                                ich hab leider wenig Ahnung von der Userverwaltung in Linux Betriebssystemen - was muss ich machen, damit der user ioadmin zugriff bekommt?

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

                                  @lastactionhero sagte in Wir Empfehlen: Node.js 20.x 🙂:

                                  Wenn ich mich über die Console anmelde, bin ich per se root, der lässt mich das script damit foglerichtig nicht ausführen.

                                  Du musst dir einen User anlegen und den verwenden.
                                  Dieser user muss in der Gruppe 'iobroker' sein.
                                  Check das per

                                  groups
                                  

                                  als dieser user.

                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    LastActionHero @Thomas Braun last edited by LastActionHero

                                    @thomas-braun einen neuen User (ioadmin) hatte ich bereits erstellt, und den hatte ich auch der gruppe iobroker zugewiesen, dachte ich zumindest!

                                    sorry, korrektur: Mit dem o.g. Befehl wird mir iobroker, ioadmin und adm ausgegeben

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @LastActionHero last edited by

                                      @lastactionhero sagte in Wir Empfehlen: Node.js 20.x 🙂:

                                      @thomas-braun einen neuen User (ioadmin) hatte ich bereits erstellt, und den hatte ich auch der gruppe iobroker zugewiesen, dachte ich zumindest!

                                      Mit dem o.g. Befehl wird mir ausschließlich "root" als Gruppe angezeigt!?

                                      bitte immer alles zeigen!

                                      von dem Eingabeprompt
                                      bis zum nächsten

                                      mit welchem user, in welchem Verzeichnis ausgeführt usw. müsste man dann nicht nachfragen

                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        LastActionHero @Homoran last edited by

                                        @homoran sorry, habt ja recht!

                                        root@iobroker:~# su ioadmin
                                        $ groups
                                        ioadmin adm iobroker
                                        
                                        Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @LastActionHero last edited by

                                          @lastactionhero dann warst du bestimmt vorhin noch als root unterwegs.
                                          Das solltest du nie machen.
                                          Meld dich vernünftig ab und dann als ioadmin wieder sn.

                                          Vorher solltest du aber den ioadmin noch in die Gruppe sudo packen

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

                                            @lastactionhero

                                            Und nix aus der Konsole löschen.
                                            Immer auch den LogIn Prompt zeigen. Gerade bei Berchtigungsgeschichten.
                                            Darfst du denn das /home/iobroker betreten?

                                            ls -l /home/
                                            

                                            anschauen.

                                            L 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

                                            806
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            237
                                            43680
                                            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