Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    [How-to] Node.js für ioBroker richtig updaten

    This topic has been deleted. Only users with topic management privileges can see it.
    • sigi234
      sigi234 Forum Testing Most Active @ps1304 last edited by sigi234

      @ps1304 sagte in [How-to] Node.js für ioBroker richtig updaten:

      @stabilostick Hallo - gibts es schon einen Updater für Windows? HAbe iobroker mit dem Windows Installer installiert - scheitere aber immer am Update der node.js bzw. der js-controller Versionen.
      Gruß peter

      https://forum.iobroker.net/post/446928

      Node Update:

      1: Konsole: iobroker stop
      2: Sicherung des Ordners: C:\Program Files\iobroker\deinhostname\nodejs auf dem Desktop
      3: Download der benötigten Node.js Version unter https://nodejs.org als Archiv nicht als msi Datei
      4: Entpacken des Downloads und kopieren den Gesamten Ordners über den vorhandenen C:\Program Files\iobroker\deinhostname\nodejs Ordner.
      5: Kopiere aus der Sicherungskopie des Desktops die Datei nodevars.bat in den Ordner C:\Program Files\iobroker\deinhostname\nodejs
      6: Konsole: iobroker start
      
      K 1 Reply Last reply Reply Quote 0
      • K
        klassisch Most Active @sigi234 last edited by

        @sigi234 Bist Du schon auf dem neuen JS-controller "stable" ?
        Wie bist Du dorthin gekommen?
        Direkt aus der aktiven Instanz oder erst mit dem Installer eine neuen Instanz erzeugt, damit man noch eine Rückfallösung hat?

        sigi234 1 Reply Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @klassisch last edited by sigi234

          @klassisch sagte in [How-to] Node.js für ioBroker richtig updaten:

          @sigi234 Bist Du schon auf dem neuen JS-controller "stable" ?
          Wie bist Du dorthin gekommen?
          Direkt aus der aktiven Instanz oder erst mit dem Installer eine neuen Instanz erzeugt, damit man noch eine Rückfallösung hat?

          Via Konsole im iob Verzeichnis des Host

          Screenshot (3394).png

          iobroker stop
          iobroker update
          iobroker upgrade self
          iobroker start
          
          K 1 Reply Last reply Reply Quote 1
          • K
            klassisch Most Active @sigi234 last edited by

            @sigi234 sagte in [How-to] Node.js für ioBroker richtig updaten:

            @klassisch sagte in [How-to] Node.js für ioBroker richtig updaten:
            Via Konsole im iob Verzeichnis des Host

            iobroker stop
            iobroker update
            iobroker upgrade self
            iobroker start
            

            vielen Dank! Habe das jetzt auch mal getestet. Sieht so weit ganz gut aus:

            
            C:\Program Files\iobroker\ioBrMain026>iobroker upgrade self
            Update js-controller from @3.1.6 to @3.2.16
            NPM version: 6.11.3
            npm install iobroker.js-controller@3.2.16 --loglevel error --unsafe-perm (System call)
            node-aead-crypto not needed on this system, since all ciphers are natively supported
            Starting node restart.js
            
            C:\Program Files\iobroker\ioBrMain026>iobroker start
            2021-02-27 01:34:12,418 INFO  - Starting the service with id 'iobroker(ioBrMain026)'
            
            C:\Program Files\iobroker\ioBrMain026>
            

            scheint so weit funktioniert zu haben. Alle Instanzen grün.

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

              Hallo,
              ich bin neu hier und auch neu bei iobroker auf Windows, ioBroker auf Raspi läuft seit einem Jahr stabil.
              Ich habe die Installation nach den Angaben hier richtig erstellt, leider öffnet sich das Skriptmenue nicht.
              Festgestellt habe ich, daß in der Info angezeigt wird: Nodejs V10.17.0 sei installiert, empfohlen sei V12.21.0 und mit der Konsole habe ich festgestellt, daß tatsächlich 14.6.0 installiert ist.
              Liegt hier der Fehler und wie kann ich ihn beheben? Die Javascriptinstanz ist V5.1.1

              Weiß jemand einen Rat?

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

                @frihu sagte in [How-to] Node.js für ioBroker richtig updaten:

                Javascriptinstanz ist V5.1.1

                Ist eine Beta-Version, bei der durch das Beta-Testing aufgefallen ist das da ein Fehler drin ist. Installier die Stabile Version 5.0.4.

                Dein node solltest du allerdings auch mal dringend anschauen. Mir ist aber nicht ganz klar ob da bei dir nun Windows oder Linux läuft.

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

                  @thomas-braun
                  Habe gerade die beiden JS-Adapter verglichen und festgestellt, daß der eine V5.1.1 ist und der andere 5.0.14. Habe den neuen auf 5.0.14 zurückgedreht und schon funktioniert es bestens!
                  Vielen Dank für den Hinweis.

                  @thomas-braun said in [How-to] Node.js für ioBroker richtig updaten:

                  @frihu sagte in [How-to] Node.js für ioBroker richtig updaten:

                  Javascriptinstanz ist V5.1.1

                  Ist eine Beta-Version, bei der durch das Beta-Testing aufgefallen ist das da ein Fehler drin ist. Installier die Stabile Version 5.0.4.

                  Dein node solltest du allerdings auch mal dringend anschauen. Mir ist aber nicht ganz klar ob da bei dir nun Windows oder Linux läuft.

                  FriHu apollon77 2 Replies Last reply Reply Quote 0
                  • FriHu
                    FriHu @FriHu last edited by

                    @frihu said in [How-to] Node.js für ioBroker richtig updaten:

                    @thomas-braun
                    Habe gerade die beiden JS-Adapter verglichen und festgestellt, daß der eine V5.1.1 ist und der andere 5.0.14. Habe den neuen auf 5.0.14 zurückgedreht und schon funktioniert es bestens!
                    Vielen Dank für den Hinweis.

                    @thomas-braun said in [How-to] Node.js für ioBroker richtig updaten:

                    @frihu sagte in [How-to] Node.js für ioBroker richtig updaten:

                    Javascriptinstanz ist V5.1.1

                    Ist eine Beta-Version, bei der durch das Beta-Testing aufgefallen ist das da ein Fehler drin ist. Installier die Stabile Version 5.0.4.

                    Dein node solltest du allerdings auch mal dringend anschauen. Mir ist aber nicht ganz klar ob da bei dir nun Windows oder Linux läuft.

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

                      @frihu 5.1.2 sollte es fixen

                      1 Reply Last reply Reply Quote 0
                      • E
                        Exile82 last edited by

                        Hi guys! I am quite new to iobroker but really like how it works and how flexible it is. I am driving an VW ID.3 so this adapter is the best thing that happened since I picked up my car.

                        I have one concern though, and it is probably more connected to VW API etc. I would most of all be able to fetch the current mileage of the car. This seems not to be possible in the adapter. I know that VWs own app is a bit poor when it comes to this, but are there any possibilities to open for this? Also, lock state for the doors would be nice to integrate with the smart home.
                        Thanks for reading!

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

                          @exile82 Hey, I think the thread you asked here is not really correct topic wise. I would propose to open up an issue with the relevant adapter on Github because this is a rather Adapter specific question

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            Exile82 @apollon77 last edited by

                            @apollon77 Hi, well, I can see my mistake now. Totally wrong thread! I was so certain that I was in the correct one, but no. 😂

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

                              Ich möchte den js-controller von 3.3.7 auf 3.3.8 updaten.

                              Dazu habe ich eine allgemeine Frage zum Update des js-controller: Wie kann ich diesen "alleine" updaten?
                              Ich bin der Anleitung zu Beginn dieses Topics gefolgt, weil node.js aber aktuell ist, bekomme eine entsprechende Rückmeldung und es passiert nichts weiter, der js-controller wird nicht upgedated.
                              Weil der js-controller ja als Adapter bezeichnet wird, habe ich es mit iobroker stop / update / upgrade / start probiert. Da kommt die Rückmeldung, alle Adapter aktuell (das stimmt auch - bis auf den js-controller).
                              Ich habe hier im Forum gesucht, in diesem Topic, auf Github - ich finde keine Anleitung dazu, meistens wird auf node.js eingegangen, nicht auf den js-controller - der passende Hinweis ist willommen!

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Jan1 @rennigel last edited by Jan1

                                @rennigel
                                Hier gehts um Node Update und nicht um den js-controller.
                                Das eine hat mit dem anderen nicht wirklich was zu tun

                                js-controller ist auch kein Adapter, weshalb er auch nicht bei Adapter steht sondern bei HOST und da gibts auch gleich die Antwort dazu wie man den Updatet, wenn es ein Update dafür gibt.

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  rennigel @Jan1 last edited by

                                  @jan1

                                  Danke für die schnelle Antwort. Ich habe offensichtlich zu lange auf dem Holzweg gesucht ... mit deinem Hinweis bin ich jetzt fündig geworden und habe auch meinen Fehler entdeckt ...

                                  1 Reply Last reply Reply Quote 1
                                  • M
                                    MCU last edited by MCU

                                    Wollte gerade node.js updaten auf 12.22.3

                                    sudo apt-get install -y nodejs
                                    Paketlisten werden gelesen... Fertig
                                    Abhängigkeitsbaum wird aufgebaut.
                                    Statusinformationen werden eingelesen.... Fertig
                                    nodejs ist schon die neueste Version (12.22.2-1nodesource1).
                                    Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                                      python-colorzero
                                    Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
                                    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 37 nicht aktualisiert.
                                    

                                    eeb2bfd0-e28a-4988-9bae-6ea0a19b7e88-image.png

                                    Wo ist der Fehler?

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      fastfoot @MCU last edited by fastfoot

                                      @mcu sagte in [How-to] Node.js für ioBroker richtig updaten:

                                      Wo ist der Fehler?

                                      die 12.22.3 ist nur für Windows

                                      siehe auch hier

                                      M 1 Reply Last reply Reply Quote 1
                                      • M
                                        MCU @fastfoot last edited by

                                        @fastfoot Warum holt er sich dann nicht diese Version:
                                        0a6bac25-ec11-413f-b719-512bff4e68b5-image.png

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

                                          @mcu Weil das kein vorgebackenes deb-Paket ist und nicht im nodesource-Repository angeboten wird. Wozu auch? Die Version ist nur für Windows von Belang.

                                          Die 37 wartenden Pakete bei dir sind wichtiger.

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

                                            @thomas-braun Hab ich alle soweit aktualisiert. Danke.

                                            P 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

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            617841
                                            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