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.
    • apollon77
      apollon77 @bommel_030 last edited by

      @bommel_030 versuch mal ... uninstall und dann neu rebuild

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

        @apollon77
        rpi2 deinstalliert rebuild nochmal angestossen, jetzt kommt das...


        lib/install.js is not being run as part of an installation - skipping...

        @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings
        prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

        prebuild-install WARN install No prebuilt binaries found (target=10.16.0 runtime=node arch=arm64 libc= platform=linux)
        gyp ERR! clean error
        gyp ERR! stack Error: EACCES: permission denied, unlink 'build/Makefile'
        gyp ERR! System Linux 4.4.180-rockchip64
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/npm-lifecycle/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings
        gyp ERR! node -v v10.16.0
        gyp ERR! node-gyp -v v3.8.0
        gyp ERR! not ok
        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR! @serialport/bindings@2.0.8 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the @serialport/bindings@2.0.8 install script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

        iobroker läuft weiterhin unauffällig. Langsam beschleicht mich das Gefühl ich sollte den rock mal mit debian statt ubuntu neu aufsetzen...

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

          Hast du alle Adapter aktuell die drauf sind?

          B 1 Reply Last reply Reply Quote 0
          • MathiasJ
            MathiasJ @smartboart last edited by

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

            @MathiasJ hi, danke für deine Überprüfung... wie hast du das denn getestet? Hängen da Taster oder Relais dranne und werden die weiterhin angesteuert und eingelesen. oder hast du dir nur die states angeschaut ob sie angelegt werden? Das alleine sagt nämlich nichts aus...

            Hast recht!
            Sorry, bin jetzt erst dazu gekommen.
            States werden angelegt, aber das Relais schaltet nicht.
            ich habe es zuerst nur mit einem Relais getestet. Später sollte eine 8-Kanal Relaiskarte dran, Wenn's aber net funktioniert, kann ich mir den Rest auch sparen.

            smartboart 1 Reply Last reply Reply Quote 0
            • B
              bommel_030 @apollon77 last edited by

              @apollon77 Ja, alle installierten Adapter aktuell.

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

                Dann lass den Installation Fixer mal laufen. Irgendwas ist mit permission nicht ok.

                1 Reply Last reply Reply Quote 0
                • smartboart
                  smartboart @MathiasJ last edited by smartboart

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

                  Hast recht!
                  Sorry, bin jetzt erst dazu gekommen.
                  States werden angelegt, aber das Relais schaltet nicht.
                  ich habe es zuerst nur mit einem Relais getestet. Später sollte eine 8-Kanal Relaiskarte dran, Wenn's aber net funktioniert, kann ich mir den Rest auch sparen.

                  Ja das hab ich mir fast gedacht...Mit der älteren node und npm funktioniert es bei mir ja auch... Lese die Spannungsüberwachung und Klingel sowie ein paar Sammelstörungen darüber ein. Deshalb bleibe ich vorerst mit meinem Slave auf der alten Version... Aber eine Lösung wäre schon toll. Irgendwann muss ich mal updaten.. Keiner von den Profis ne Idee was dem rpi Adapter fehlt?

                  MathiasJ 1 Reply Last reply Reply Quote 0
                  • S
                    schweiger2 last edited by

                    Hallo zusammen,

                    ich bin Neuling und erhalte beim Update folgende Fehlermeldungen.

                    Was muss ich nun tun ?

                    98b72313-3b44-4b44-9c42-a0cfe2a08a91-image.png

                    Vielen Dank für Hilfe.

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

                      @schweiger2
                      Habe ich auch. beim troubleshooting bin ich darüber gestolpert...Arbeite gerade auch daran...
                      https://codeforgeek.com/make-failed-with-exit-code-2/

                      ob das die Lösung ist kann ich aber nicht sagen.. Eventuell hat einer ne bessere Idee.

                      1 Reply Last reply Reply Quote 0
                      • MathiasJ
                        MathiasJ @smartboart last edited by

                        @smartboart
                        Dann werde ich IObroker wohl nochmal aufsetzen müssen. Ist ja bei mir auch nur der Slave.
                        Welche Node-v hast Du?
                        Reicht es wenn ich zur 8.x zurück gehe?
                        Gruß,
                        Mathias

                        smartboart 1 Reply Last reply Reply Quote 0
                        • smartboart
                          smartboart @MathiasJ last edited by

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

                          Reicht es wenn ich zur 8.x zurück gehe?

                          ja habe diese Version...siehe Foto
                          slave.PNG

                          MathiasJ 1 Reply Last reply Reply Quote 0
                          • MathiasJ
                            MathiasJ @smartboart last edited by

                            @smartboart
                            Nein, das troubleshooting wird nicht weiter helfen. Meine Installation lief fehlerlos also ohne errors und Warnungen durch.....

                            smartboart 1 Reply Last reply Reply Quote 0
                            • smartboart
                              smartboart @MathiasJ last edited by smartboart

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

                              Nein, das troubleshooting wird nicht weiter helfen. Meine Installation lief fehlerlos also ohne errors und Warnungen durch.....

                              sorry das troubleshooting ging an schweiger 2 ..hat mit dem rpi nix zu tun
                              Bekomme die selben Meldungen wie Schweiger2 beim deinstallieren eines alten Adapter noch von vor dem Update und der backupwiderherstellung.. hierbei geht es um mein master system Rock64 EMMC 64Gb / Pine 64 System diese läuft mit aktueller node und npm Version
                              master.PNG

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

                                Ok, gaaaaaaanz langsam!!

                                Der rpi2 Adapter kann wohl (noch) nur bis nodejs 8 laufen. 😞 Grund https://github.com/iobroker-community-adapters/ioBroker.rpi2/issues/2 ...

                                Eure Lösung: https://forum.iobroker.net/topic/23533/aufruf-rpi2-adapter-für-nodejs-10

                                Apollon77 created this issue in iobroker-community-adapters/ioBroker.rpi2

                                closed Upgrade to rpi-gpio@2 to support nodejs 10 #2

                                smartboart 1 Reply Last reply Reply Quote 0
                                • MathiasJ
                                  MathiasJ @smartboart last edited by

                                  @smartboart
                                  Ah ok.....
                                  Ich war da radikaler.
                                  Habe IObroker platt gemacht, mit Node 10.x neu aufgesetzt und das Backup eingespielt.
                                  Auch beim Rock64, allerdings 32GB eMMc.

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

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

                                    Ok, gaaaaaaanz langsam!!

                                    Ohh super, brand aktuell...Danke für das Aufgreifen des Problems...

                                    @MathiasJ
                                    hast ja noch die aktulle Node.js laufen...kannst das bitte testen?
                                    Wenn es klappt update ich dann meinen Slave auch und teste ebenfalls...

                                    S MathiasJ 2 Replies Last reply Reply Quote 0
                                    • S
                                      schweiger2 @smartboart last edited by

                                      ok, ich habe jetzt also schmerzhaft herausgefunden, dass man als Laie das System nicht wirklich up-and-running kann, wenn mal etwas nicht so richtig sauber durchläuft.

                                      Das ist sehr schade, aber dann muss ich mich wohl wieder auf mein "Homematic only" zurückziehen.

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

                                        @smartboart
                                        Das Test-Relais wird jetzt unter der 1.1.0 angesprochen, läßt sich aber nimmer ausschalten.
                                        bei der Version 1.0.0 war es anders herum.
                                        Gruß,
                                        Mathias

                                        1 Reply Last reply Reply Quote 0
                                        • MathiasJ
                                          MathiasJ @schweiger2 last edited by

                                          @schweiger2
                                          Hast Du ein backup?
                                          Dann mache es wie ich......

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            schweiger2 @MathiasJ last edited by

                                            @MathiasJ

                                            Ich habe eines - erzeugt über backitup als totalbackup.

                                            Da ich Linux-Laie bin, weiß ich nicht wie ich das wegsichern kann, denn ich muss doch das armbian auf dem Tinker auch neu aufsetzen ?

                                            Kurz: habe keinen blassen Schimmer

                                            J 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

                                            450
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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