Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Neuer Befehl: "iob nodejs-update"

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Neuer Befehl: "iob nodejs-update"

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

      @thomas-braun
      Ist ein LXC Container (ProMox) ein Problem für das Script?

      M heinhan 2 Replies Last reply Reply Quote 0
      • M
        Marty56 @Marty56 last edited by

        Ich habe iob fix ausgeführt und iob neu gestartet.
        wenn ich jetzt iob -help aufrufe, wird der neue Befehl nicht angezeigt.
        Was mache ich falsch?

        Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
        • heinhan
          heinhan @Marty56 last edited by heinhan

          @marty56 Hallo, habe gerade den neuen Befehl unter Proxmox, LXC Container mit Ubuntu durchgeführt. Lief alles ohne Probleme durch. Gruß Heinz

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

            @marty56 sagte in Neuer Befehl: "iob nodejs-update":

            Was mache ich falsch?

            Nichts. Der ist da nur noch nicht eingetragen. In der TabExtension fehlt der auch noch. Ist aber nicht so arg wichtig. Hauptsache es funktioniert.

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

              @thomas-braun sagte in Neuer Befehl: "iob nodejs-update":

              Edit: Und auf den 'Nebenhosts' in einem Multi-Host-Setup funktioniert das Kommando zwar auch technisch vollständig, hier kann aber nicht die installierte nodejs-Version mit der iobroker-Empfehlung abgeglichen werden, weil die vom Haupt-System kommt. Es wird hier immer wieder eine Installation der letzten stabilen Version vorgeschlagen (und durchgeführt, wenn man das bestätigt).

              Soll man den Befehl auch auf dem slave ausführen ?
              Oder nur der master.

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

                bei dem Befehl stand dann es wird upgedatet auf 18.18.27
                Im anschließenden iob diag steht nun 18.18.2

                Hab ich das falsch gelesen ?

                Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @bahnuhr last edited by

                  @bahnuhr sagte in Neuer Befehl: "iob nodejs-update":

                  Hab ich das falsch gelesen ?

                  wo?

                  ändert sich ja auch dauernd!

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

                    @bahnuhr sagte in Neuer Befehl: "iob nodejs-update":

                    Soll man den Befehl auch auf dem slave ausführen ?

                    Auf allen Kisten, die nodejs installiert haben. Also auch auf dem Slave. Die beiden Maschinen sollten eh den gleichen Stand haben.

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

                      @bahnuhr sagte in Neuer Befehl: "iob nodejs-update":

                      Hab ich das falsch gelesen ?

                      Keine Ahnung. Du liest die Texte auf deinem Bildschirm.

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

                        @thomas-braun sagte in Neuer Befehl: "iob nodejs-update":

                        Schau in 'mein' nodejs-HowTo, da steht das alles drin.

                        Klasse Arbeit! Danke! Hat alles funktioniert. Bin jetzt auf:

                        Node.js: v18.18.2
                        NPM: 9.8.1
                        

                        Ro75.

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          Rene 3 @Ro75 last edited by

                          @Thomas-Braun
                          Super Befehl - alles "funzt" wieder 👍

                          1 Reply Last reply Reply Quote 0
                          • Marc_el_K
                            Marc_el_K last edited by

                            @apollon77 Erstmal vielen Dank für das Update Script, damit konnte ich nun auch von 18.17. auf 18.18. ohne Probleme updaten.

                            Etwas erstaunt war ich, dass das Script für mich zunächst so aussah, als wäre "Nothing to do", aber nach der zusätzlichen Bestätigung, wurde das Update dann vorgenommen.

                            ioBroker nodejs fixer 2023-10-09
                            No recommendation for a nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
                            
                            Your current setup is:
                            /usr/bin/nodejs         v18.17.1
                            /usr/bin/node           v18.17.1
                            /usr/bin/npm            9.6.7
                            /usr/bin/npx            9.6.7
                            /usr/bin/corepack       0.18.0
                            
                            We found these nodejs versions available for installation:
                            
                            nodejs:
                              Installed: 18.17.1-deb-1nodesource1
                              Candidate: 18.17.1-deb-1nodesource1
                              Version table:
                             *** 18.17.1-deb-1nodesource1 500
                                    500 https://deb.nodesource.com/node_18.x bullseye/main armhf Packages
                                    100 /var/lib/dpkg/status
                                 12.22.12~dfsg-1~deb11u4 500
                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                            
                            Nothing to do - Your installation is using the correct paths.
                            
                            You are running nodejs v18.17.1. Do you want to install latest version from nodejs v.18 tree?
                            
                            Press <y> to continue or any other key to quit
                            

                            Was mich allgemein interessieren würde, ist zu wissen, wann man auf Nodejs V 20 wechseln sollte. Gibt es eine allgemeine Empfehlung welche Version verwendet werden sollte?

                            Meister Mopper Thomas Braun 2 Replies Last reply Reply Quote 0
                            • Meister Mopper
                              Meister Mopper @Marc_el_K last edited by

                              @marc_el_k sagte in Neuer Befehl: "iob nodejs-update":

                              Was mich allgemein interessieren würde, ist zu wissen, wann man auf Nodejs V 20 wechseln sollte. Gibt es eine allgemeine Empfehlung welche Version verwendet werden sollte?

                              Das erfährst du regelmäßig hier im Forum und auf dem Info-Tab im ioBroker (dort aber mit Vorsicht zu genießen, da das GUI manchmal flunkert).

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

                                @marc_el_k sagte in Neuer Befehl: "iob nodejs-update":

                                Gibt es eine allgemeine Empfehlung welche Version verwendet werden sollte?

                                Das Skript, bzw. das Kommando berücksichtigt die aktuelle Empfehlung für den ioBroker. Wenn denn irgendwann nodejs20 empfohlen wird würde alles passend eingerichtet. Genauso wie jetzt die 18.18.2 installiert wurde.

                                Ist das da bei dir ein Multihost-Setup?

                                1 Reply Last reply Reply Quote 1
                                • Marc_el_K
                                  Marc_el_K last edited by

                                  Dankeschön für die schnellen Antworten 🙂

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

                                    @marc_el_k

                                    Ist das da bei dir ein Multihost-Setup?

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

                                      @thomas-braun Nein.

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

                                        @marc_el_k

                                        Hmm. Dann sollte aber eigentlich eine recommend version gefunden werden. Lass das bitte nochmal laufen, bei laufendem ioBroker.

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

                                          @thomas-braun also ich hatte dann mit y bestätigt und bin jetzt bei 18.18.2

                                          d9ba5556-626f-4bbe-b9ee-a296e65c45cd-image.png

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

                                            @marc_el_k

                                            Zeig nochmal einen Lauf.

                                            Marc_el_K 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

                                            505
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            27
                                            93
                                            21097
                                            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