Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Stefan_1969 @Thomas Braun last edited by

      @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!

      1 Reply Last reply Reply Quote 0
      • S
        saeft_2003 Most Active last edited by

        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
        
        Glasfaser Thomas Braun 3 Replies Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @saeft_2003 last edited by

          @saeft_2003

          und was ist mit ...

          iobroker rebuild zigbee
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @saeft_2003 last edited by

            @saeft_2003

            cd /opt/iobroker  
            sudo -H -u iobroker npm rebuild @serialport
            
            S 1 Reply Last reply Reply Quote 0
            • S
              saeft_2003 Most Active @Thomas Braun last edited by 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.

              Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @saeft_2003 last edited by 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 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @saeft_2003 last edited by

                  @saeft_2003

                  Als user, nicht als root:

                  iobroker update
                  iobroker upgrade
                  
                  S 2 Replies Last reply Reply Quote 0
                  • S
                    saeft_2003 Most Active @Glasfaser last edited by

                    @Glasfaser

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

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

                      @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 Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @saeft_2003 last edited by

                        @saeft_2003

                        lsb_release -a
                        
                        S 1 Reply Last reply Reply Quote 0
                        • S
                          saeft_2003 Most Active @Thomas Braun last edited by

                          @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 Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @saeft_2003 last edited by

                            @saeft_2003

                            adduser
                            adduser -aG iobroker DEIN_USER
                            adduser -aG sudo DEIN_USER
                            
                            S 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @saeft_2003 last edited by

                              @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

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

                                @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 Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @saeft_2003 last edited by

                                  @saeft_2003
                                  Sorry, mein Fehler:

                                  adduser DEIN_USER
                                  usermod -aG sudo DEIN_USER
                                  usermod -aG iobroker DEIN_USER
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    saeft_2003 Most Active @Thomas Braun last edited by

                                    @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 Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @saeft_2003 last edited by

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

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

                                        @Thomas-Braun

                                        nein problem ist immer noch da

                                        Glasfaser 1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @saeft_2003 last edited by

                                          @saeft_2003

                                          Hast du mein Post oben nicht gesehen !?

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            saeft_2003 Most Active @Glasfaser last edited by

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

                                            @saeft_2003

                                            Hast du mein Post oben nicht gesehen !?

                                            doch ich komm grad nur mit dem schreiben nicht nach, ich habe jetzt schon zwei reboots gemacht und der fehler bleibt

                                            Glasfaser 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            777
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            677736
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo