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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Wildbill @Thomas Braun last edited by

      @thomas-braun Danke, da schau ich dann demnächst. Hab grad nur keine Zeit dafür, bin am Kernlöcher bohren für 5 dezentrale Lüftungssysteme (Bayernlüfter).

      Gruss, Jürgen

      1 Reply Last reply Reply Quote 0
      • BananaJoe
        BananaJoe Most Active last edited by

        Ich habe heute auch auf nodejs 20 aktualisert und will mal ein Problem teilen falls noch jemand darüber stolpert:

        Sah erst alles ok aus, gab dann aber beim eCharts-Adapter eine Fehlermeldung wegen Canvas:

        2024-07-10 20:15:25.138  - error: echarts.0 (1632729) Cannot find required modules: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node'
        was compiled against a different Node.js version using
        NODE_MODULE_VERSION 108. This version of Node.js requires
        NODE_MODULE_VERSION 115. Please try re-compiling or re-installing
        the module (for instance, using `npm rebuild` or `npm install`).
        

        Das passiert wenn man per SendTo an eCharts eine Grafik erzeugt (die man z.B. per Telegram versendet).
        Interessanterweise hat er das Bild trotzdem erzeugt und es wurde verschickt ...
        Ok, so etwas hatte ich doch schon mal, als eCharts damals heraus kam musste ich mit dem Canvas auch etwas kämpfen.
        Also Modulinstallation geprüft:

        iobroker@iobroker:/opt/iobroker$ npm ls canvas
        iobroker.inst@2.0.3 /opt/iobroker
        ├─┬ iobroker.echarts@1.8.4
        │ ├── canvas@2.11.2
        │ └─┬ jsdom@24.1.0
        │   └── canvas@2.11.2 deduped
        └─┬ iobroker.energiefluss@3.6.0 (git+ssh://git@github.com/SKB-CGN/ioBroker.energiefluss.git#1b2f62380b39ac21b8a94853d76b4acf6c395111)
          └── canvas@2.11.2 deduped
        

        Mhh, sieht ok aus ...

        npm rebuild canvas
        

        und danach:

        iobroker.inst@2.0.3 /opt/iobroker
        ├─┬ iobroker.echarts@1.8.4
        │ ├── canvas@2.11.2
        │ └─┬ jsdom@24.1.0
        │   └── canvas@2.11.2 deduped
        └─┬ iobroker.energiefluss@3.6.0 (git+ssh://git@github.com/SKB-CGN/ioBroker.energiefluss.git#1b2f62380b39ac21b8a94853d76b4acf6c395111)
          └── canvas@2.11.2 deduped
        

        sieht für mich 1:1 aus wie vorher.
        Dann ist der eCharts-Adapter beim nächsten erzeugen eines Bilds abgestürzt und wurde neu gestartet (ich hatte ioBroker / den Adapter nicht angehalten), seit geht es ohne Fehlermeldung und es ist ruhe.

        W 1 Reply Last reply Reply Quote 1
        • W
          Wildbill @BananaJoe last edited by

          @bananajoe Canvas scheint da immer irgendwie Problemkind zu sein. Ich habe das regelmäßig beim mihome-vacuum-Adapter für den Roborock. Da muss ich Canvas nach einem Update von NodeJS auch regelmäßig wieder installieren.

          Gruss, Jürgen

          1 Reply Last reply Reply Quote 1
          • Dr. Bakterius
            Dr. Bakterius Most Active @Thomas Braun last edited by

            @thomas-braun sagte in Wir Empfehlen: Node.js 20.x 🙂:

            Zum Beispiel ganz aktuell:

            Wenn ich das richtig verstanden habe, betrifft das aber "nur" Windows-Installationen. Und da muss der Angreifer auch mal Zugang zum System haben. Oder irre ich?

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Dr. Bakterius last edited by

              @dr-bakterius

              Das sind doch mehrere Dinge. Da ist nicht nur die Windows-Version betroffen.

              Und kannst du bei jedem Issue für dein System bewerten, ob es betroffen ist? Ich könnte das jedenfalls nicht besser bewerten als die Leute, die den Code kennen und per Patch auf eine gemeldete Lücke reagiert haben.

              Dr. Bakterius 1 Reply Last reply Reply Quote 1
              • Dr. Bakterius
                Dr. Bakterius Most Active @Thomas Braun last edited by

                @thomas-braun Wobei die anderen nicht mit 'high' bewertet werden. Aber ich mache auch meist alle 14 Tage ein Update - spätestens nach einem Monat. Da schaue ich mir die Issues gar nicht an.

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

                  @haselchen hab mir heite das 9.1.2 buanet image installiert. Das kommt immer noch mit node 18 daher. Dann warte ich mal geduldig bis es offiziell ein Image mit Node 20 gibt. Solange alles läuft ist das ja nicht so dringend

                  1 Reply Last reply Reply Quote 0
                  • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            517
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            46
                                            217
                                            37385
                                            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