Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
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.1k

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

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

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

Scheduled Pinned Locked Moved ioBroker Allgemein
installationlinuxnodenode.jsnodejswindows
1.1k Posts 106 Posters 737.9k Views 112 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • crunchipC crunchip

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

    DiginixD Offline
    DiginixD Offline
    Diginix
    wrote on last edited by 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 Reply Last reply
    0
    • MathiasJM Offline
      MathiasJM Offline
      MathiasJ
      wrote on last edited by
      #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 Reply Last reply
      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
        wrote on last edited by
        #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 Reply Last reply
        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
          wrote on last edited by
          #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 Reply Last reply
          0
          • MathiasJM MathiasJ

            @Jan1
            danke, probiere ich gleich mal.

            J Offline
            J Offline
            Jan1
            wrote on last edited by
            #622

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

            MathiasJM 1 Reply Last reply
            0
            • J Jan1

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

              MathiasJM Offline
              MathiasJM Offline
              MathiasJ
              wrote on last edited by
              #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 Reply Last reply
              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
                wrote on last edited by
                #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 Reply Last reply
                0
                • S Offline
                  S Offline
                  saeft_2003
                  Most Active
                  wrote on last edited by
                  #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 Replies Last reply
                  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
                    wrote on last edited by
                    #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 Reply Last reply
                    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
                      wrote on last edited by
                      #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 Reply Last reply
                      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
                        wrote on last edited by 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 Replies Last reply
                        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
                          wrote on last edited by 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 Reply Last reply
                          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
                            wrote on last edited by
                            #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 Replies Last reply
                            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
                              wrote on last edited by
                              #631

                              @Glasfaser

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

                              1 Reply Last reply
                              0
                              • Thomas BraunT Thomas Braun

                                @saeft_2003

                                Als user, nicht als root:

                                iobroker update
                                iobroker upgrade
                                
                                S Offline
                                S Offline
                                saeft_2003
                                Most Active
                                wrote on last edited by
                                #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 Reply Last reply
                                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
                                  wrote on last edited by
                                  #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 Reply Last reply
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @saeft_2003

                                    lsb_release -a
                                    
                                    S Offline
                                    S Offline
                                    saeft_2003
                                    Most Active
                                    wrote on last edited by
                                    #634

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

                                    lsb_release -a

                                    root@iobroker:~# lsb_release -a
                                    No LSB modules are available.
                                    Distributor ID: Debian
                                    Description:    Debian GNU/Linux 9.8 (stretch)
                                    Release:        9.8
                                    Codename:       stretch
                                    root@iobroker:~#
                                    
                                    
                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • S saeft_2003

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

                                      lsb_release -a

                                      root@iobroker:~# lsb_release -a
                                      No LSB modules are available.
                                      Distributor ID: Debian
                                      Description:    Debian GNU/Linux 9.8 (stretch)
                                      Release:        9.8
                                      Codename:       stretch
                                      root@iobroker:~#
                                      
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by
                                      #635

                                      @saeft_2003

                                      adduser
                                      adduser -aG iobroker DEIN_USER
                                      adduser -aG sudo DEIN_USER
                                      

                                      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 Reply Last reply
                                      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
                                        wrote on last edited by
                                        #636

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

                                        node-aead-crypto is no longer needed on NodeJS 10+

                                        Die Meldung kommt mir bekannt vor .
                                        Hast du auch ein Reboot nach dem Update gemacht .

                                        Link Text

                                        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 Reply Last reply
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @saeft_2003

                                          adduser
                                          adduser -aG iobroker DEIN_USER
                                          adduser -aG sudo DEIN_USER
                                          
                                          S Offline
                                          S Offline
                                          saeft_2003
                                          Most Active
                                          wrote on last edited by
                                          #637

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

                                          adduser -aG sudo DEIN_USER

                                          Sorry das check ich nicht... 😞

                                          root@iobroker:/opt/iobroker# adduser
                                          adduser: Nur ein oder zwei Namen erlaubt.
                                          root@iobroker:/opt/iobroker# adduser -aG iobroker test
                                          Unknown option: ag
                                          adduser [--home VERZ] [--shell SHELL] [--no-create-home] [--uid ID]
                                          [--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GRUPPE | --gid ID]
                                          [--disabled-password] [--disabled-login] [--add_extra_groups] BENUTZER
                                             Fügt einen normalen Benutzer hinzu
                                          
                                          adduser --system [--home VERZ] [--shell SHELL] [--no-create-home] [--uid ID]
                                          [--gecos GECOS] [--group | --ingroup GRUPPE | --gid ID] [--disabled-password]
                                          [--disabled-login] [--add_extra_groups] BENUTZER
                                             Fügt einen Systembenutzer hinzu
                                          
                                          adduser --group [--gid ID] GRUPPE
                                          addgroup [--gid ID] GRUPPE
                                             Fügt eine Benutzergruppe hinzu
                                          
                                          addgroup --system [--gid ID] GRUPPE
                                             Fügt eine Systemgruppe hinzu
                                          
                                          adduser BENUTZER GRUPPE
                                             Fügt einen existierenden Benutzer einer existierenden Gruppe hinzu
                                          
                                          Allgemeine Optionen:
                                            --quiet | -q      Keine Prozessinformationen an stdout senden
                                            --force-badname   Benutzernamen erlauben, die nicht dem regulären Ausdruck
                                                              der Konfigurationsvariablen NAME_REGEX entsprechen
                                            --help | -h       Hilfstext zur Verwendung
                                            --version | -v    Versionsnummer und Copyright
                                            --conf | -c DATEI benutze DATEI als Konfigurationsdatei
                                          
                                          root@iobroker:/opt/iobroker# adduser -aG sudo test
                                          Unknown option: ag
                                          adduser [--home VERZ] [--shell SHELL] [--no-create-home] [--uid ID]
                                          [--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GRUPPE | --gid ID]
                                          [--disabled-password] [--disabled-login] [--add_extra_groups] BENUTZER
                                             Fügt einen normalen Benutzer hinzu
                                          
                                          adduser --system [--home VERZ] [--shell SHELL] [--no-create-home] [--uid ID]
                                          [--gecos GECOS] [--group | --ingroup GRUPPE | --gid ID] [--disabled-password]
                                          [--disabled-login] [--add_extra_groups] BENUTZER
                                             Fügt einen Systembenutzer hinzu
                                          
                                          adduser --group [--gid ID] GRUPPE
                                          addgroup [--gid ID] GRUPPE
                                             Fügt eine Benutzergruppe hinzu
                                          
                                          addgroup --system [--gid ID] GRUPPE
                                             Fügt eine Systemgruppe hinzu
                                          
                                          adduser BENUTZER GRUPPE
                                             Fügt einen existierenden Benutzer einer existierenden Gruppe hinzu
                                          
                                          Allgemeine Optionen:
                                            --quiet | -q      Keine Prozessinformationen an stdout senden
                                            --force-badname   Benutzernamen erlauben, die nicht dem regulären Ausdruck
                                                              der Konfigurationsvariablen NAME_REGEX entsprechen
                                            --help | -h       Hilfstext zur Verwendung
                                            --version | -v    Versionsnummer und Copyright
                                            --conf | -c DATEI benutze DATEI als Konfigurationsdatei
                                          
                                          root@iobroker:/opt/iobroker#
                                          
                                          
                                          Thomas BraunT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          636

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe