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.
    • Thomas Braun
      Thomas Braun Most Active @Guest last edited by

      @dp20eic

      I know, I know...
      War auch spaßig gemeint. pacman ftw!

      ? M 2 Replies Last reply Reply Quote 0
      • ?
        A Former User @Thomas Braun last edited by

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

        I know, I know...
        War auch spaßig gemeint.

        Moin,

        🙂 I know, I know 🙂
        Von mir auch 🙂

        Deine kleinen (großen) Helferlein sind klasse, danke dafür.

        VG
        Bernd

        mcm1957 1 Reply Last reply Reply Quote 0
        • mcm1957
          mcm1957 @Guest last edited by mcm1957

          Nochmal zum Thema in 'iob fix' integrieren:

          Man könnte m.e. auch iob nodejs-update an node fix anhängen, also

          Als eine der letzten - alternativ auch als eine der ersten Aktionen in node fix, kann man prüfen ob nodejs-update existiert und dieses aufrufen (ggF. nach Rückfrage).

          Dieser Ansatz würde die Codebasis sauber getrennt halten (der optional erfolgende Aufruf in node fix wär sicher keine große Unsicherheit in node fix), für den Enduser wär es aber ein Befehl. Im Bedarfsfall ließe sich das node script jederzeit extra aufrufen (z.B. zum Testen)

          Nur mal als Diskussionbasis ...

          Und auch von mir ein herzliches DANKE an Thomas

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

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

            Nur mals als Disussionbasis ...

            war wohl ein 🍷 oder 🍺 zu viel?

            SCNR

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

              @homoran
              Leider kann ich mich diesmal nicht aufs Handy ausreden. Das waren wohl meine Finger selbst 🙂

              Ev. sollte ich mal zum Arzt - ev. zeigt sich Alzheimer ja auch in solchen Texten 😞

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

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

                Wird er nicht, für neue Major-Releases musste man schon immer die Weichen umstellen. Und dieses einmalige manuelle Weichenstellen nimmt der iob nodejs-update dir halt auch noch ab.

                Und ein weiterer fauler User dankt dir von Herzen für deine Arbeit 😊

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

                                            Support us

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

                                            601
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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