Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [How-to] Node.js für ioBroker richtig updaten

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

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

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
installationlinuxnodenode.jsnodejswindows
1.1k Beiträge 106 Kommentatoren 738.3k Aufrufe 112 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • DiginixD Diginix

    Hab nun auch das Update auf node 12 gewagt, leider mit einigen Problemen.

    radar2 findet bisher keine BT Geräte. Bis node 10 ging es mit noble was er auch findet:

    radar2.0	2020-05-23 20:21:30.788	warn	(11795) node-bluetooth not found!
    radar2.0	2020-05-23 20:21:37.606	info	(11795) found and will use '@abandonware/noble'
    radar2.0	2020-05-23 20:21:37.738	info	(11795) Will try to scan BT devices: false
    

    Aber node-bluetooth wird wahrs. auch benötigt. Habe im iobroker.radar2 Ordner schon das probiert:

    npm install node-pre-gyp 
    npm install @abandonware/bluetooth-hci-socket 
    npm install node-bluetooth
    

    Aber node-bluetooth wird nicht installiert.
    npm Log:
    2020-05-23T18_35_44_502Z-debug.log

    apollon77A Online
    apollon77A Online
    apollon77
    schrieb am zuletzt editiert von
    #614

    @Diginix du musst nach dem node Update diese ganzen setcap Befehle aus der Radar2 Doku neu ausführen!!

    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
    DiginixD 1 Antwort Letzte Antwort
    0
    • DiginixD Diginix

      Hab nun auch das Update auf node 12 gewagt, leider mit einigen Problemen.

      radar2 findet bisher keine BT Geräte. Bis node 10 ging es mit noble was er auch findet:

      radar2.0	2020-05-23 20:21:30.788	warn	(11795) node-bluetooth not found!
      radar2.0	2020-05-23 20:21:37.606	info	(11795) found and will use '@abandonware/noble'
      radar2.0	2020-05-23 20:21:37.738	info	(11795) Will try to scan BT devices: false
      

      Aber node-bluetooth wird wahrs. auch benötigt. Habe im iobroker.radar2 Ordner schon das probiert:

      npm install node-pre-gyp 
      npm install @abandonware/bluetooth-hci-socket 
      npm install node-bluetooth
      

      Aber node-bluetooth wird nicht installiert.
      npm Log:
      2020-05-23T18_35_44_502Z-debug.log

      apollon77A Online
      apollon77A Online
      apollon77
      schrieb am zuletzt editiert von
      #615

      @Diginix node-Bluetooth gibts nicht. Wo hast du er das das gebraucht wird?

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      1 Antwort Letzte Antwort
      0
      • apollon77A apollon77

        @Diginix du musst nach dem node Update diese ganzen setcap Befehle aus der Radar2 Doku neu ausführen!!

        DiginixD Offline
        DiginixD Offline
        Diginix
        schrieb am zuletzt editiert von Diginix
        #616

        @apollon77 Die habe ich schon mehrfach ausgeführt:

        sudo apt-get -y install libcap2-bin arp-scan bluetooth bluez libbluetooth-dev libudev-dev net-tools
        sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp-scan`)
        sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which node`)
        sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp`)
        sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which hcitool`)
        sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which hciconfig`)
        sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which l2ping`)
        
        

        Na im Log steht dass er node-bluetooth nicht findet. Daher dachte ich es wird benötigt. Zumindest findet radar2 mit nodejs 12 bei mir keine BT Geräte mehr. Weder BLE noch normale.
        In der Kommandozeile klappt es mit hcitool scan und hcitool lescan.
        Aber bei radar2 musste ich schon unter node 8 und 10 immer noble nehmen statt hci.

        ..:: So long! Tom ::..

        NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

        crunchipC 1 Antwort Letzte Antwort
        1
        • DiginixD Diginix

          @apollon77 Die habe ich schon mehrfach ausgeführt:

          sudo apt-get -y install libcap2-bin arp-scan bluetooth bluez libbluetooth-dev libudev-dev net-tools
          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp-scan`)
          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which node`)
          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp`)
          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which hcitool`)
          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which hciconfig`)
          sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which l2ping`)
          
          

          Na im Log steht dass er node-bluetooth nicht findet. Daher dachte ich es wird benötigt. Zumindest findet radar2 mit nodejs 12 bei mir keine BT Geräte mehr. Weder BLE noch normale.
          In der Kommandozeile klappt es mit hcitool scan und hcitool lescan.
          Aber bei radar2 musste ich schon unter node 8 und 10 immer noble nehmen statt hci.

          crunchipC Abwesend
          crunchipC Abwesend
          crunchip
          Forum Testing Most Active
          schrieb am zuletzt editiert von crunchip
          #617

          @Diginix wurde doch im neuen Update entfernt
          https://forum.iobroker.net/post/435884

          umgestiegen von Proxmox auf Unraid

          DiginixD 1 Antwort Letzte Antwort
          0
          • crunchipC crunchip

            @Diginix wurde doch im neuen Update entfernt
            https://forum.iobroker.net/post/435884

            DiginixD Offline
            DiginixD Offline
            Diginix
            schrieb am zuletzt editiert von Diginix
            #618

            @crunchip Oh, ok das Update ging an mir vorbei!
            Aber nach einem weiteren Reboot findet radar2 1.2.5 nun auch wieder meine Geräte.
            Werde aber mal das Update auf v2 testen.

            Edit: radar2 1.9.9 funktioniert.

            ..:: So long! Tom ::..

            NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

            1 Antwort Letzte Antwort
            0
            • MathiasJM Offline
              MathiasJM Offline
              MathiasJ
              schrieb am zuletzt editiert von
              #619

              habe heute den Slave auf Node 12.17.0 upgedatet.
              gibt#s was neus zum Fixer oder ist der immer noch der gleiche?

              Als ich den ausgeführt habe:

              curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/fix_installation.sh | bash -
              

              bekam ich folgende Meldung:

              Unbenannt2.JPG

              Gruß,
              Mathias

              IObroker auf dem NUC als VM.
              Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
              Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

              J 1 Antwort Letzte Antwort
              0
              • MathiasJM MathiasJ

                habe heute den Slave auf Node 12.17.0 upgedatet.
                gibt#s was neus zum Fixer oder ist der immer noch der gleiche?

                Als ich den ausgeführt habe:

                curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/fix_installation.sh | bash -
                

                bekam ich folgende Meldung:

                Unbenannt2.JPG

                Gruß,
                Mathias

                J Offline
                J Offline
                Jan1
                schrieb am zuletzt editiert von
                #620

                @MathiasJ
                Also Dein Aufruf ist sehr alt, der neuere sieht so aus:

                curl -sL https://iobroker.net/fix.sh | bash -
                

                wobei das mittlerweile schon vollkommen reicht:

                iobroker fix
                
                MathiasJM 1 Antwort Letzte Antwort
                0
                • J Jan1

                  @MathiasJ
                  Also Dein Aufruf ist sehr alt, der neuere sieht so aus:

                  curl -sL https://iobroker.net/fix.sh | bash -
                  

                  wobei das mittlerweile schon vollkommen reicht:

                  iobroker fix
                  
                  MathiasJM Offline
                  MathiasJM Offline
                  MathiasJ
                  schrieb am zuletzt editiert von
                  #621

                  @Jan1
                  danke, probiere ich gleich mal.

                  IObroker auf dem NUC als VM.
                  Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
                  Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

                  J 1 Antwort Letzte Antwort
                  0
                  • MathiasJM MathiasJ

                    @Jan1
                    danke, probiere ich gleich mal.

                    J Offline
                    J Offline
                    Jan1
                    schrieb am zuletzt editiert von
                    #622

                    @MathiasJ
                    Das funktioniert, gerade gestern nach Node Update nötig gewesen 😉

                    MathiasJM 1 Antwort Letzte Antwort
                    0
                    • J Jan1

                      @MathiasJ
                      Das funktioniert, gerade gestern nach Node Update nötig gewesen 😉

                      MathiasJM Offline
                      MathiasJM Offline
                      MathiasJ
                      schrieb am zuletzt editiert von
                      #623

                      @Jan1
                      super läuft!
                      danke nochmals...... 😉

                      IObroker auf dem NUC als VM.
                      Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
                      Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

                      1 Antwort Letzte Antwort
                      1
                      • Thomas BraunT Thomas Braun

                        @Stefan_1969 Das ist 64bit.
                        Wobei ich die VM/Proxmox in meinem Fall eh nicht als 'kvm64' sondern als 'host' aufsetzen würde:

                        If you want an exact match, you can set the CPU type to host in which case the VM will have exactly the same CPU flags as your host system.
                        This has a downside though. If you want to do a live migration of VMs between different hosts, your VM might end up on a new system with a different CPU type. If the CPU flags passed to the guest are missing, the qemu process will stop. To remedy this Qemu has also its own CPU type kvm64, that Proxmox VE uses by defaults. kvm64 is a Pentium 4 look a like CPU type, which has a reduced CPU flags set, but is guaranteed to work everywhere.

                        Kommt halt drauf an, ob du die VMs auch auf andere Hardware (einen anderen Prozessortyp) verschieben willst.

                        S Offline
                        S Offline
                        Stefan_1969
                        schrieb am zuletzt editiert von
                        #624

                        @Thomas-Braun & @Homoran

                        Kurzes Feedback an Euch, die mir auf die Sprünge geholfen haben.

                        Fertig! Scheint (fast) alles in der neuen VM zu laufen.

                        Ging ein bisschen, da ich krankheitsbedingt (Chemo) nicht immer die nötige Ausdauer und Nerven habe.

                        Vielen Dank für die Hilfe und ein grosses Lob für das System.
                        Chapeau an die Entwickler, Admins und Unterstützer!


                        ioBroker, grafana, influx, mariaDB, pihole, MotionEye auf proxmox
                        Geräte: Homematic, Shelly, Sonoff, Gosund, WEMOS

                        1 Antwort Letzte Antwort
                        0
                        • S Offline
                          S Offline
                          saeft_2003
                          Most Active
                          schrieb am zuletzt editiert von
                          #625

                          Mein zigbee adapter läuft nicht mehr! Ich habe geupdatet von 10 auf 12. Danach habe ich den fixer laufen lassen und ein npm rebuild im iobroker verzeichnis ausgeführt. Hier kommt ganz am schluss dieser error:

                          node-aead-crypto is no longer needed on NodeJS 10+
                          npm ERR! code ELIFECYCLE
                          npm ERR! errno 1
                          npm ERR! node-aead-crypto@2.1.4 install: `node lib/install.js`
                          npm ERR! Exit status 1
                          npm ERR!
                          npm ERR! Failed at the node-aead-crypto@2.1.4 install 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-05-30T20_55_21_164Z-debug.log
                          
                          

                          es laufen alle adapter bis auf zigbee. Dieser bringt diese fehler im log, die auf jeden Fall was mit dem update zu tun haben. Der befehl iobroker rebuild zigbee ist nicht bekannt. Wie kann ich manuell ein rebuild von zigbee machen?

                          ost.iobroker	2020-05-30 23:01:07.023	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                          host.iobroker	2020-05-30 23:01:07.023	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32)
                          host.iobroker	2020-05-30 23:01:07.023	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
                          host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1138:30)
                          host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36)
                          host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:112:48)
                          host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18)
                          host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1026:19)
                          host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:879:14)
                          host.iobroker	2020-05-30 23:01:07.021	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32)
                          host.iobroker	2020-05-30 23:01:07.021	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1188:18)
                          host.iobroker	2020-05-30 23:01:07.021	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                          host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                          host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: NODE_MODULE_VERSION 64. This version of Node.js requires
                          host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: was compiled against a different Node.js version using
                          host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'
                          host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: ^
                          host.iobroker	2020-05-30 23:01:07.019	error	Caught by controller[0]: throw e;
                          host.iobroker	2020-05-30 23:01:07.019	error	Caught by controller[0]: /opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:121
                          host.iobroker	2020-05-30 23:01:06.505	info	instance system.adapter.weatherunderground.0 terminated with code 0 (NO_ERROR)
                          host.iobroker	2020-05-30 23:01:06.465	info	instance system.adapter.zigbee.0 started with pid 2647
                          host.iobroker	2020-05-30 23:01:06.413	info	"system.adapter.zigbee.0" enabled
                          
                          GlasfaserG Thomas BraunT 3 Antworten Letzte Antwort
                          0
                          • S saeft_2003

                            Mein zigbee adapter läuft nicht mehr! Ich habe geupdatet von 10 auf 12. Danach habe ich den fixer laufen lassen und ein npm rebuild im iobroker verzeichnis ausgeführt. Hier kommt ganz am schluss dieser error:

                            node-aead-crypto is no longer needed on NodeJS 10+
                            npm ERR! code ELIFECYCLE
                            npm ERR! errno 1
                            npm ERR! node-aead-crypto@2.1.4 install: `node lib/install.js`
                            npm ERR! Exit status 1
                            npm ERR!
                            npm ERR! Failed at the node-aead-crypto@2.1.4 install 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-05-30T20_55_21_164Z-debug.log
                            
                            

                            es laufen alle adapter bis auf zigbee. Dieser bringt diese fehler im log, die auf jeden Fall was mit dem update zu tun haben. Der befehl iobroker rebuild zigbee ist nicht bekannt. Wie kann ich manuell ein rebuild von zigbee machen?

                            ost.iobroker	2020-05-30 23:01:07.023	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                            host.iobroker	2020-05-30 23:01:07.023	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32)
                            host.iobroker	2020-05-30 23:01:07.023	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
                            host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1138:30)
                            host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36)
                            host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:112:48)
                            host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18)
                            host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1026:19)
                            host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:879:14)
                            host.iobroker	2020-05-30 23:01:07.021	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32)
                            host.iobroker	2020-05-30 23:01:07.021	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1188:18)
                            host.iobroker	2020-05-30 23:01:07.021	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                            host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                            host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: NODE_MODULE_VERSION 64. This version of Node.js requires
                            host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: was compiled against a different Node.js version using
                            host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'
                            host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: ^
                            host.iobroker	2020-05-30 23:01:07.019	error	Caught by controller[0]: throw e;
                            host.iobroker	2020-05-30 23:01:07.019	error	Caught by controller[0]: /opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:121
                            host.iobroker	2020-05-30 23:01:06.505	info	instance system.adapter.weatherunderground.0 terminated with code 0 (NO_ERROR)
                            host.iobroker	2020-05-30 23:01:06.465	info	instance system.adapter.zigbee.0 started with pid 2647
                            host.iobroker	2020-05-30 23:01:06.413	info	"system.adapter.zigbee.0" enabled
                            
                            GlasfaserG Online
                            GlasfaserG Online
                            Glasfaser
                            schrieb am zuletzt editiert von
                            #626

                            @saeft_2003

                            und was ist mit ...

                            iobroker rebuild zigbee
                            

                            Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                            1 Antwort Letzte Antwort
                            0
                            • S saeft_2003

                              Mein zigbee adapter läuft nicht mehr! Ich habe geupdatet von 10 auf 12. Danach habe ich den fixer laufen lassen und ein npm rebuild im iobroker verzeichnis ausgeführt. Hier kommt ganz am schluss dieser error:

                              node-aead-crypto is no longer needed on NodeJS 10+
                              npm ERR! code ELIFECYCLE
                              npm ERR! errno 1
                              npm ERR! node-aead-crypto@2.1.4 install: `node lib/install.js`
                              npm ERR! Exit status 1
                              npm ERR!
                              npm ERR! Failed at the node-aead-crypto@2.1.4 install 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-05-30T20_55_21_164Z-debug.log
                              
                              

                              es laufen alle adapter bis auf zigbee. Dieser bringt diese fehler im log, die auf jeden Fall was mit dem update zu tun haben. Der befehl iobroker rebuild zigbee ist nicht bekannt. Wie kann ich manuell ein rebuild von zigbee machen?

                              ost.iobroker	2020-05-30 23:01:07.023	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                              host.iobroker	2020-05-30 23:01:07.023	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32)
                              host.iobroker	2020-05-30 23:01:07.023	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
                              host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1138:30)
                              host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36)
                              host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:112:48)
                              host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18)
                              host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1026:19)
                              host.iobroker	2020-05-30 23:01:07.022	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:879:14)
                              host.iobroker	2020-05-30 23:01:07.021	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32)
                              host.iobroker	2020-05-30 23:01:07.021	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1188:18)
                              host.iobroker	2020-05-30 23:01:07.021	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                              host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                              host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: NODE_MODULE_VERSION 64. This version of Node.js requires
                              host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: was compiled against a different Node.js version using
                              host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'
                              host.iobroker	2020-05-30 23:01:07.020	error	Caught by controller[0]: ^
                              host.iobroker	2020-05-30 23:01:07.019	error	Caught by controller[0]: throw e;
                              host.iobroker	2020-05-30 23:01:07.019	error	Caught by controller[0]: /opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:121
                              host.iobroker	2020-05-30 23:01:06.505	info	instance system.adapter.weatherunderground.0 terminated with code 0 (NO_ERROR)
                              host.iobroker	2020-05-30 23:01:06.465	info	instance system.adapter.zigbee.0 started with pid 2647
                              host.iobroker	2020-05-30 23:01:06.413	info	"system.adapter.zigbee.0" enabled
                              
                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #627

                              @saeft_2003

                              cd /opt/iobroker  
                              sudo -H -u iobroker npm rebuild @serialport
                              

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              S 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @saeft_2003

                                cd /opt/iobroker  
                                sudo -H -u iobroker npm rebuild @serialport
                                
                                S Offline
                                S Offline
                                saeft_2003
                                Most Active
                                schrieb am zuletzt editiert von saeft_2003
                                #628

                                @Thomas-Braun

                                root@iobroker:/opt/iobroker# sudo -H -u iobroker npm rebuild @serialport
                                npm ERR! code EINVALIDTAGNAME
                                npm ERR! Invalid tag name "@serialport": Tags may not have any characters that encodeURIComponent encodes.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2020-05-30T21_09_44_141Z-debug.log
                                
                                
                                

                                @Glasfaser

                                dann kommt dass das kein iobroker befehl ist und es wird eine liste angezeigt welche es gibt.

                                GlasfaserG Thomas BraunT 2 Antworten Letzte Antwort
                                0
                                • S saeft_2003

                                  @Thomas-Braun

                                  root@iobroker:/opt/iobroker# sudo -H -u iobroker npm rebuild @serialport
                                  npm ERR! code EINVALIDTAGNAME
                                  npm ERR! Invalid tag name "@serialport": Tags may not have any characters that encodeURIComponent encodes.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2020-05-30T21_09_44_141Z-debug.log
                                  
                                  
                                  

                                  @Glasfaser

                                  dann kommt dass das kein iobroker befehl ist und es wird eine liste angezeigt welche es gibt.

                                  GlasfaserG Online
                                  GlasfaserG Online
                                  Glasfaser
                                  schrieb am zuletzt editiert von Glasfaser
                                  #629

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

                                  kein iobroker befehl ist

                                  Sorry ... ich dachte du hast JS3

                                  Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                  S 1 Antwort Letzte Antwort
                                  0
                                  • S saeft_2003

                                    @Thomas-Braun

                                    root@iobroker:/opt/iobroker# sudo -H -u iobroker npm rebuild @serialport
                                    npm ERR! code EINVALIDTAGNAME
                                    npm ERR! Invalid tag name "@serialport": Tags may not have any characters that encodeURIComponent encodes.
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2020-05-30T21_09_44_141Z-debug.log
                                    
                                    
                                    

                                    @Glasfaser

                                    dann kommt dass das kein iobroker befehl ist und es wird eine liste angezeigt welche es gibt.

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #630

                                    @saeft_2003

                                    Als user, nicht als root:

                                    iobroker update
                                    iobroker upgrade
                                    

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    S 2 Antworten Letzte Antwort
                                    0
                                    • GlasfaserG Glasfaser

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

                                      kein iobroker befehl ist

                                      Sorry ... ich dachte du hast JS3

                                      S Offline
                                      S Offline
                                      saeft_2003
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #631

                                      @Glasfaser

                                      ne bin noch auf 2.2.8 das wollte ich dann als nächstes irgendwann machen...

                                      1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @saeft_2003

                                        Als user, nicht als root:

                                        iobroker update
                                        iobroker upgrade
                                        
                                        S Offline
                                        S Offline
                                        saeft_2003
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #632

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

                                        @saeft_2003

                                        Als user, nicht als root:

                                        iobroker update
                                        iobroker upgrade
                                        

                                        Puhh als user ich habe glaube ich gar keinen bis jetzt habe ich alles über root gemacht... Weißt du wie man schnell einen anlegt?

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • S saeft_2003

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

                                          @saeft_2003

                                          Als user, nicht als root:

                                          iobroker update
                                          iobroker upgrade
                                          

                                          Puhh als user ich habe glaube ich gar keinen bis jetzt habe ich alles über root gemacht... Weißt du wie man schnell einen anlegt?

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #633

                                          @saeft_2003

                                          lsb_release -a
                                          

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          S 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          634

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe