Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. nach NodeJS update 16.x startet zigbee 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

    nach NodeJS update 16.x startet zigbee nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • ChrisNett
      ChrisNett last edited by

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Pi4.
      Arbeitsspeicher: 4GB
      Festplattenart: SD-Karte&
      Betriebssystem: Ubuntu/Windows/Mac
      Node-Version:
      Nodejs-Version: v16.14.2
      NPM-Version: 8.5.0
      Installationsart: Manuell
      Image genutzt: JNein

      huhu ich wollte JS auf 4.0 updaten scheitere aber schon bei NodeJS 16... den fix für den Klf habe ich noch hinbekommen aber der zigbee adatper starte trotz

      iobroker rebuild zigbee.0
      

      nicht mehr

      hier noch der log nach einem neustart des adapters

      host.PI4	2022-03-31 11:18:06.907	info	Rebuild for adapter system.adapter.zigbee.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
      host.PI4	2022-03-31 11:18:06.907	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.PI4	2022-03-31 11:18:06.907	error	Caught by controller[0]: }
      host.PI4	2022-03-31 11:18:06.906	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
      host.PI4	2022-03-31 11:18:06.906	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) {
      host.PI4	2022-03-31 11:18:06.906	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
      host.PI4	2022-03-31 11:18:06.906	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1103:14)
      host.PI4	2022-03-31 11:18:06.906	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
      host.PI4	2022-03-31 11:18:06.906	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
      host.PI4	2022-03-31 11:18:06.905	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
      host.PI4	2022-03-31 11:18:06.905	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19)
      host.PI4	2022-03-31 11:18:06.905	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
      host.PI4	2022-03-31 11:18:06.905	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32)
      host.PI4	2022-03-31 11:18:06.904	error	Caught by controller[0]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1187:18)
      host.PI4	2022-03-31 11:18:06.904	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
      host.PI4	2022-03-31 11:18:06.904	error	Caught by controller[0]: NODE_MODULE_VERSION 93. Please try re-compiling or re-installing
      host.PI4	2022-03-31 11:18:06.904	error	Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
      host.PI4	2022-03-31 11:18:06.904	error	Caught by controller[0]: was compiled against a different Node.js version using
      host.PI4	2022-03-31 11:18:06.903	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
      host.PI4	2022-03-31 11:18:06.903	error	Caught by controller[0]: ^
      host.PI4	2022-03-31 11:18:06.903	error	Caught by controller[0]: throw e;
      host.PI4	2022-03-31 11:18:06.902	error	Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
      host.PI4	2022-03-31 11:18:05.003	info	instance system.adapter.zigbee.0 started with pid 10673
      host.PI4	2022-03-31 11:18:04.798	info	"system.adapter.zigbee.0" enabled
      host.PI4	2022-03-31 11:18:02.262	info	"system.adapter.zigbee.0" disabled
      

      an was könnte es liegen?

      Asgothian 1 Reply Last reply Reply Quote 0
      • Asgothian
        Asgothian Developer @ChrisNett last edited by

        @christian-sandkaulen

        Log lesen. Da steht

        • woran es liegt
        • was zu tun ist

        Wichtig: Log einträge müssen in der richtigen Reihenfolge gelesen werden, in diesem Fall "von unten" :

        host.PI4	2022-03-31 11:18:06.904	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
        host.PI4	2022-03-31 11:18:06.904	error	Caught by controller[0]: NODE_MODULE_VERSION 93. Please try re-compiling or re-installing
        host.PI4	2022-03-31 11:18:06.904	error	Caught by controller[0]: NODE_MODULE_VERSION 72. This version of Node.js requires
        host.PI4	2022-03-31 11:18:06.904	error	Caught by controller[0]: was compiled against a different Node.js version using
        host.PI4	2022-03-31 11:18:06.903	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
        

        Klartext: Das hardwarenahe Modul /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node (übersetzt für NODE_MODULE_VERSION 72) passt nicht zur aktuell installierten Node.JS version (NODE_MODULE_VERSION 93).
        Um das Problem zu beheben:

        Auf die Konsole gehen, in das Verzeichnis /opt/iobroker, npm rebuild ausführen.

        A.

        ChrisNett OliverIO 2 Replies Last reply Reply Quote 0
        • ChrisNett
          ChrisNett @Asgothian last edited by

          @asgothian

          danke dann kann ich jetzt den JS Cont updaten

          zigbee.0	2022-03-31 11:41:20.634	info	(18523) Zigbee started
          
          1 Reply Last reply Reply Quote 0
          • OliverIO
            OliverIO @Asgothian last edited by OliverIO

            Ist evtl etwas verwirrend. ganz oben steht was anderes

            Please execute "npm install --production" in adapter directory manually.
            

            Und geht wahrscheinlich schneller, weil nicht alles neu compiliert wird.

            Asgothian 1 Reply Last reply Reply Quote 0
            • Asgothian
              Asgothian Developer @OliverIO last edited by

              @oliverio sagte in nach NodeJS update 16.x startet zigbee nicht mehr:

              Ist evtl etwas verwirrend. ganz oben steht was anderes

              Please execute "npm install --production" in adapter directory manually.
              

              Und geht wahrscheinlich schneller, weil nicht alles neu compiliert wird.

              Geht ggf. schneller weil nicht alles neu kompiliert wird - geht aber auch in die Hose, weil nicht alles neu kompiliert wird.

              Das "Wurde nicht neu kompiliert" ist genau die Ursache des Fehlers.

              A.

              ChrisNett 1 Reply Last reply Reply Quote 0
              • ChrisNett
                ChrisNett @Asgothian last edited by

                hat aber echt auch lange gedauert, ist aber ja nicht weiter schlimm.

                T 1 Reply Last reply Reply Quote 0
                • T
                  toki1973 @ChrisNett last edited by

                  @christian-sandkaulen @Asgothian
                  Danke für den Post. Ich habe genau den gleichen Fehler nach node.js Update von 12 auf 14.

                  Habe nun npm rebuild ausgeführt. Kann man da den Status verfolgen? Nach 30 Minuten ist die Putty Verbindung unterbrochen worden. Nun weiß ich nicht ob sich noch etwas tut oder es schief gegangen ist.

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

                    @toki1973

                    Wieder anmelden. Und nochmal schauen. Wenn das rebuild unterbrochen wurde sieht man das im Log.

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

                      @thomas-braun
                      Anmelden über Putty funktioniert nicht mehr 😞

                      Über die Proxmoxkonsole Konsole komme ich soweit

                      75d8366f-281d-4c09-b876-b016dc61c87a-image.png

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

                        @toki1973

                        Mach einen eigenen Thread auf. Da ist vielleicht im Proxmurks was kaputt. Hab ich aber nix mit am Hut.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        832
                        Online

                        31.8k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        5
                        10
                        848
                        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