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.2k 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.
  • 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
                            • Thomas BraunT Thomas Braun

                              @saeft_2003

                              lsb_release -a
                              
                              S Offline
                              S Offline
                              saeft_2003
                              Most Active
                              schrieb am zuletzt editiert von
                              #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 Antwort Letzte Antwort
                              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
                                schrieb am zuletzt editiert von
                                #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 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
                                  
                                  GlasfaserG Online
                                  GlasfaserG Online
                                  Glasfaser
                                  schrieb am zuletzt editiert von
                                  #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 Antwort Letzte Antwort
                                  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
                                    schrieb am zuletzt editiert von
                                    #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 Antwort Letzte Antwort
                                    0
                                    • S saeft_2003

                                      @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 Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #638

                                      @saeft_2003
                                      Sorry, mein Fehler:

                                      adduser DEIN_USER
                                      usermod -aG sudo DEIN_USER
                                      usermod -aG iobroker 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

                                      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
                                        #639

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

                                        @saeft_2003

                                        Als user, nicht als root:

                                        iobroker update
                                        iobroker upgrade
                                        

                                        hab ich jetzt gemacht jetzt installiert er ein paar updates, was hat das mit meinem Problem zu tun?

                                        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
                                          

                                          hab ich jetzt gemacht jetzt installiert er ein paar updates, was hat das mit meinem Problem zu tun?

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

                                          @saeft_2003 Weiß ich noch nicht. Startet der Kram nun?

                                          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

                                          735

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          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