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

      @Manolo
      Versuch mal im Verzeichnis /opt/iobroker ein

      npm rebuild
      

      Ein

      iobroker fix
      

      kann auch meist nicht schaden.

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

        Leute ... laaangsam

        Wenn es mit "iobroker fix" nicht geht dann nehmt den langen fix befehl. der MUSS tun!
        Das ganze als user peter ausführen

        curl -sL https://iobroker.net/fix.sh | bash -
        
        1 Reply Last reply Reply Quote 0
        • M
          Manolo last edited by

          Hab den langen fix Befehl wie beschrieben durchgeführt. Der ist auch sauber durchgelaufen:
          a92264ed-6baa-4c5d-a86b-99f0faac5bdc-grafik.png

          Die Aktualisierung vom hm-rpc Adapter wird aber wieder mit Fehler beendet:

          ef58d4d0-9be6-4b56-9e5d-b0a16865f0e4-grafik.png

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

            @Manolo
            Was passiert denn, wenn du den iobroker selber aktualierst?
            Im Verzeichnis /opt/iobroker

            iobroker stop
            iobroker update
            iobroker upgrade self
            iobroker start
            
            1 Reply Last reply Reply Quote 0
            • M
              Manolo last edited by

              Dann kommt:

              Host    "beelinkj45"     is up to date.
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Manolo last edited by

                @Manolo

                iobroker version
                
                M 1 Reply Last reply Reply Quote 0
                • M
                  Manolo @Thomas Braun last edited by

                  @Thomas-Braun

                  peter@beelinkj45:~$ iobroker version
                  3.0.18

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

                    @Manolo Dann fällt mir nur noch

                    npm rebuild
                    

                    im Verzeichnis /opt/iobroker ein.

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

                      @Thomas-Braun

                      Erstmal vielen Dank für deine Geduld, Thomas!
                      Ich habs jetzt geschafft!

                      Nach 'npm rebuild' konnte ich den HM-rpc- Adapter aktualisieren.
                      Der Backitup-adapter brachte aber weiterhin Fehler.
                      Dann habe ich das Update des Admin-Adapters angestossen, welches ohne Probleme durchlief.
                      Danach konnte ich auch den Backitup-adapter aktualisieren.
                      Nun ist wieder alles auf dem neusten Stand!

                      Danke nochmals für deine Mithilfe! Ohne dich hätte ich das System neu aufsetzen müssen.

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

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

                        Ohne dich hätte ich das System neu aufsetzen müssen.

                        Das wollen wir ja nicht. Ist ja umständlich. Und man lernt nix dabei... Freut mich, wenn es jetzt wieder läuft.

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

                          Moin,
                          ich bin nach den Tipps die ihr für das Problem von Manolo und mir hier gerade alle durch gegangen (mehrfach)
                          leider ohne Erfolg.
                          hier mal alle Versionen:

                          pi@raspberrypi:~ $ iobroker version
                          3.0.18
                          pi@raspberrypi:~ $ npm -v
                          6.14.4
                          pi@raspberrypi:~ $ nodejs -v
                          v12.16.2
                          pi@raspberrypi:~ $ node -v
                          v12.16.2
                          

                          also ich habe als erstes ein iobroker Fix durchlaufen lassen danach ein apt update und apt upgrade so wie natülich auch ein npm rebuild

                          bekomme leider immer noch beim versuch einen Adapter zu installieren oder Aktualisieren
                          diese Meldung

                          $ ./iobroker upgrade pushover
                          Update pushover from @1.3.2 to @2.0.1
                          NPM version: 6.14.4npm install iobroker.pushover@2.0.1 --loglevel error --prefix "/opt/iobroker" (System call)
                          
                          ╭─────────────────────────────────────────────────────────╮│                                                         ││ Manual installation of ioBroker is no longer supported  ││ on Linux, OSX and FreeBSD!                              ││ Please refer to the documentation on how to install it! ││ https://github.com/ioBroker/ioBroker/wiki/Installation  ││                                                         │╰─────────────────────────────────────────────────────────╯
                          npm ERR! code ELIFECYCLEnpm ERR! errno 100npm ERR! iobroker@2.0.3 postinstall: `node lib/install.js`npm ERR! Exit status 100npm ERR! npm ERR! Failed at the iobroker@2.0.3 postinstall script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                          
                          npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-04-26T21_33_36_208Z-debug.log
                          ERROR: host.raspberrypi Cannot install iobroker.pushover@2.0.1: 100
                          ERROR: process exited with code 25
                          
                          M 1 Reply Last reply Reply Quote 0
                          • M
                            Manolo @Michigan last edited by

                            @Michigan
                            Hast du das npm rebuild im Ordner /opt/iobroker durchgeführt?

                            Michigan 1 Reply Last reply Reply Quote 0
                            • Michigan
                              Michigan @Manolo last edited by

                              @Manolo
                              Ja stimmt habe ich nicht definiert aber ja habe ich

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

                                Also wenn diese meldung kommt dann versucht er aus irgend einem Grund etwas zu installieren was so nicht geht. Ich würde raten: backup machen oder iobroker.data kopieren alles löschen (oder umbenennen) und mit installer neu sauber installieren. Dann iobroker.data zurückkopieren und den controller alle adapter frisch installieren lassen

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

                                  Ich vermute mal es wird hier irgendwo im Thread schon stehen, aber das zu suchen ...:
                                  Kann ich eigentlich gleich von der V8 auf die V12 upgraden?

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

                                    @RichieXX Klar. Bedingt allerdings u. U. weitere updates der Adapter.

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

                                      @ Thomas Braun
                                      Wo bekommt man da eine Übersicht welche Adapter mit welchen nodejs laufen?

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

                                        @RichieXX Eine Gesamtübersicht gibt es nicht. Ich würde einfach alles auf Stand halten.

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

                                          OK. Der Rest ist soweit ziemlich aktuell. Nur eben nodejs hängt etwas hinterher. Immer nach dem Motto "Don't touch running systems"😁

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

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

                                            "Don't touch running systems"

                                            'Never touch your low performance'.

                                            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

                                            932
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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