Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. zigbee: nach update von nodejs startet adapter nicht mehr

    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

    UNSOLVED zigbee: nach update von nodejs startet adapter nicht mehr

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

      @Thomas-Braun

      pi@ioBroker-RasPi:/opt/iobroker $ sudo rm -rf /usr/local/bin/npm
      pi@ioBroker-RasPi:/opt/iobroker $ npm -v
      
      Wir gehen davon aus, dass der lokale Systemadministrator Ihnen die
      Regeln erklärt hat.  Normalerweise läuft es auf drei Regeln hinaus:
      
          #1) Respektieren Sie die Privatsphäre anderer.
          #2) Denken Sie nach, bevor Sie tippen.
          #3) Mit großer Macht kommt große Verantwortung.
      
      [sudo] Passwort für pi:
      pi@ioBroker-RasPi:/opt/iobroker $ npm -v
      pi@ioBroker-RasPi:/opt/iobroker $ which npm
      pi@ioBroker-RasPi:/opt/iobroker $
      
      

      ich bemüh mich eh die 3 regeln einzuhalten 😉

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

        @tom_33
        Okay, ist offenbar weg...

        ls -la /usr/bin/npm
        
        T 1 Reply Last reply Reply Quote 0
        • T
          tom_33 @Thomas Braun last edited by

          @Thomas-Braun sagte in zigbee: nach update von nodejs startet adapter nicht mehr:

          ls -la /usr/bin/npm

          pi@ioBroker-RasPi:/opt/iobroker $ ls -la /usr/bin/npm
          ls: Zugriff auf '/usr/bin/npm' nicht möglich: Datei oder Verzeichnis nicht gefunden
          
          

          yep!

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

            @tom_33
            Dann noch ein

            sudo apt-get install --reinstall nodejs
            
            T 1 Reply Last reply Reply Quote 0
            • T
              tom_33 @Thomas Braun last edited by

              @Thomas-Braun sagte in zigbee: nach update von nodejs startet adapter nicht mehr:

              sudo apt-get install --reinstall nodejs

              pi@ioBroker-RasPi:/opt/iobroker $ sudo apt-get install --reinstall nodejs
              Paketlisten werden gelesen... Fertig
              Abhängigkeitsbaum wird aufgebaut.
              Statusinformationen werden eingelesen.... Fertig
              0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
              Es müssen noch 0 B von 15,9 MB an Archiven heruntergeladen werden.
              Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
              (Lese Datenbank ... 56088 Dateien und Verzeichnisse sind derzeit installiert.)
              Vorbereitung zum Entpacken von .../nodejs_12.16.2-1nodesource1_armhf.deb ...
              Entpacken von nodejs (12.16.2-1nodesource1) über (12.16.2-1nodesource1) ...
              nodejs (12.16.2-1nodesource1) wird eingerichtet ...
              Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
              pi@ioBroker-RasPi:/opt/iobroker $ npm -v
              6.14.4
              
              

              das sieht mal schon besser aus. ein fix steht evtl. noch aus und dann den iobroker starten?

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

                @tom_33
                Jetzt bist du sauber.
                Der fixer kann nicht Schaden,

                npm rebuild
                

                in /opt/iobroker und dann würde ich den iobroker wieder anorgeln.
                Ich würde allerdings an deiner Stelle überlegen, den Stretch auf Buster zu hieven.

                T 1 Reply Last reply Reply Quote 0
                • T
                  tom_33 @Thomas Braun last edited by

                  @Thomas-Braun
                  ein ganz großes danke an dich für die geduld mit mir. da bin ich jetzt uptodate.
                  zigbee zickt leider immer noch gleich rum. z.zt. schnurrt die katze, mal sehen ob's was bringt.

                  Ich würde allerdings an deiner Stelle überlegen, den Stretch auf Buster zu hieven.
                  das sagt mir leider gar nichts

                  
                  pi@ioBroker-RasPi:~ $ nodejs -v
                  v12.16.2
                  pi@ioBroker-RasPi:~ $ node -v
                  v12.16.2
                  pi@ioBroker-RasPi:~ $ npm -v
                  6.14.4
                  
                  
                  host.ioBroker-RasPi	2020-04-26 00:08:12.025	info	Restart adapter system.adapter.zigbee.0 because enabled
                  host.ioBroker-RasPi	2020-04-26 00:08:12.025	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.ioBroker-RasPi	2020-04-26 00:08:12.024	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:1000:32)
                  host.ioBroker-RasPi	2020-04-26 00:08:12.023	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
                  host.ioBroker-RasPi	2020-04-26 00:08:12.023	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1156:30)
                  host.ioBroker-RasPi	2020-04-26 00:08:12.022	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36)
                  host.ioBroker-RasPi	2020-04-26 00:08:12.021	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:112:48)
                  host.ioBroker-RasPi	2020-04-26 00:08:12.021	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18)
                  host.ioBroker-RasPi	2020-04-26 00:08:12.020	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1042:19)
                  host.ioBroker-RasPi	2020-04-26 00:08:12.019	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:899:14)
                  host.ioBroker-RasPi	2020-04-26 00:08:12.018	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:1000:32)
                  host.ioBroker-RasPi	2020-04-26 00:08:12.018	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1206:18)
                  host.ioBroker-RasPi	2020-04-26 00:08:12.017	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                  host.ioBroker-RasPi	2020-04-26 00:08:12.016	error	Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                  host.ioBroker-RasPi	2020-04-26 00:08:12.016	error	Caught by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires
                  host.ioBroker-RasPi	2020-04-26 00:08:12.015	error	Caught by controller[0]: was compiled against a different Node.js version using
                  host.ioBroker-RasPi	2020-04-26 00:08:12.014	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'
                  host.ioBroker-RasPi	2020-04-26 00:08:12.013	error	Caught by controller[0]: ^
                  host.ioBroker-RasPi	2020-04-26 00:08:12.012	error	Caught by controller[0]: throw e;
                  host.ioBroker-RasPi	2020-04-26 00:08:12.010	error	Caught by controller[0]: /opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:121
                  host.ioBroker-RasPi	2020-04-26 00:08:11.364	info	instance system.adapter.zigbee.0 started with pid 1971
                  
                  Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @tom_33 last edited by Thomas Braun

                    @tom_33
                    Du musst im Verzeichnis /opt/iobroker noch ein

                    npm rebuild 
                    

                    ausführen.

                    'Stretch' ist die sog. 'oldstable' Version on Debian, 'Buster' die aktuelle 'stable'. Debian wird zwar immer sehr lange gepflegt, aber man sollte da doch irgendwann auch sein System nachziehen.

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

                      @Thomas-Braun

                      tolle Leistung ... bzw. Geduld 👍

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

                        @Glasfaser said in zigbee: nach update von nodejs startet adapter nicht mehr:

                        @Thomas-Braun

                        tolle Leistung ... bzw. Geduld 👍

                        Danke. Aber tom_33 war ja auch pflegeleicht und hat alles schön umgesetzt.

                        Glasfaser T 2 Replies Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Thomas Braun last edited by Glasfaser

                          @Thomas-Braun sagte in zigbee: nach update von nodejs startet adapter nicht mehr:

                          war ja auch pflegeleicht

                          Da kann ich dir Recht geben , viele ballern zwischdurch noch andere Befehle dazu .

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

                            @tom_33

                            und alles klar .... mit Zigbee !?

                            1 Reply Last reply Reply Quote 0
                            • T
                              tom_33 @Thomas Braun last edited by

                              @Thomas-Braun sagte in zigbee: nach update von nodejs startet adapter nicht mehr:

                              @Glasfaser said in zigbee: nach update von nodejs startet adapter nicht mehr:

                              @Thomas-Braun

                              tolle Leistung ... bzw. Geduld 👍

                              Danke. Aber tom_33 war ja auch pflegeleicht und hat alles schön umgesetzt.

                              da schließe ich mich an glasfaser an. und das andere seh ich als lob 🙂

                              nein, zigbee macht immer noch errors. grrrr

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

                                @tom_33

                                nein, zigbee macht immer noch errors

                                und welche !?

                                Jetzt sag nicht ... npm rebulid

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

                                  @Glasfaser
                                  ihr seid wirklich spitze! hilfe ohne ende!
                                  nein npm rebuild hat keine faxen gemacht

                                  host.ioBroker-RasPi	2020-04-26 00:34:16.543	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.543	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:1000:32)
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.543	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.542	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1156:30)
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.542	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36)
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.541	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:112:48)
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.541	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18)
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.541	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1042:19)
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.540	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:899:14)
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.540	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:1000:32)
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.540	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1206:18)
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.539	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.539	error	Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.539	error	Caught by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.538	error	Caught by controller[0]: was compiled against a different Node.js version using
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.538	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.538	error	Caught by controller[0]: ^
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.537	error	Caught by controller[0]: throw e;
                                  host.ioBroker-RasPi	2020-04-26 00:34:16.536	error	Caught by controller[0]: /opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:121
                                  host.ioBroker-RasPi	2020-04-26 00:33:52.912	info	"system.adapter.zigbee.0" disabled
                                  host.ioBroker-RasPi	2020-04-26 00:33:45.862	info	Restart adapter system.adapter.zigbee.0 because enabled
                                  
                                  Glasfaser 1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @tom_33 last edited by Glasfaser

                                    @tom_33

                                    Stoppe die Instanz , Sichere die Daten , deinstalliere Zigbee und dann über die Katze neu .
                                    Aber die neue 1.1.1

                                    Thomas Braun T 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Glasfaser last edited by

                                      @Glasfaser
                                      Ist serialport im Modul zigbee enthalten oder was eigenes? Scheint mir da zu klemmen.

                                      npm rebuild serialport
                                      

                                      vielleicht?

                                      Glasfaser 2 Replies Last reply Reply Quote 0
                                      • T
                                        tom_33 @Glasfaser last edited by tom_33

                                        @Glasfaser
                                        instanz stoppen: ok
                                        daten sichern: hm, da muss ich mit WinSCP den/die ?-ordner auf meinen windosrechner ziehen?
                                        btw: zigbee 1.1.1 läuft schon jetzt

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

                                          @Thomas-Braun

                                          Ich habe es vorgestern selber so gehabt , wo ich node hochgezogen habe . Da ging npm rebuild auch nicht .
                                          Habe es dann so wie oben durchgeführt .

                                          Edit :
                                          Sehe gerade beim Zigbee Adapter (Instanz ) da kann man keine Daten sichern
                                          😞

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

                                            @tom_33

                                            Welche JS Version hast du !?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            665
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            node8 nodejs 12 zigbee adapter
                                            5
                                            71
                                            3222
                                            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