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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [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 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
                              • N
                                Nas007 @apollon77 last edited by

                                @apollon77
                                Vielen Dank für die Info 🙂 Dann bin ich ja beruhigt.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  skokarl last edited by skokarl

                                  @apollon77

                                  So, habe auf node 12 aktualisiert, und danach npm rebuild gemacht. ( Fehlerfrei durchgelaufen )

                                  Sieht eigentlich alles ganz gut aus.

                                  Kleinigkeit im Log:

                                  1.PNG

                                  Muss ich mir da Gedanken machen ?

                                  edit : Adapter ist grün

                                  Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @skokarl last edited by

                                    @skokarl Da musst du canvas rebuilden.

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

                                      @skokarl am besten npm install --production I’m Verzeichnis /opt/iobroker/node_modules/iobroker.iot

                                      S 1 Reply Last reply Reply Quote 1
                                      • S
                                        skokarl @apollon77 last edited by skokarl

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

                                        @skokarl am besten npm install --production I’m Verzeichnis /opt/iobroker/node_modules/iobroker.iot

                                        hat leider nichts verändert.

                                        1.PNG

                                        Hilft es den Adapter neu zu installieren ?

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

                                          @skokarl
                                          Neuinstallation kann u. U. helfen, du kannst aber auch im /opt/iobroker stehend ein

                                          npm rebuild
                                          

                                          versuchen. Wobei wenn ich das richtig sehe nicht iot der 'Übeltäter' ist sondern desssen Dependency 'canvas'.
                                          Da müsste 'canvas' rebuilded werden.

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

                                            @Thomas-Braun

                                            das rebuild hab ich doch schon gemacht, siehe oben.
                                            Wie finde ich canvas ?

                                            Thomas Braun 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

                                            897
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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