Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Zigbee down nach Kernel Update (npm not found)

    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 down nach Kernel Update (npm not found)

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

      Hallo,

      ich habe ein Kernel Update gemacht mit:

      sudo apt update && sudo apt upgrade
      sudo rpi-update
      

      Seit dem läuft mein Zigbee Adapter nicht mehr. Stick wird erkannt, aber keine Verbindung zum Host.
      .
      .
      .

      Dieser Teil hat sich erledigt, nur zur Historie:

      ~~Wenn ich dann versuche auch den Zigbee zu updaten:

      $ ./iobroker url "https://github.com/kirovilya/ioBroker.zigbee/tarball/master" zigbee --debug
      install https://github.com/kirovilya/ioBroker.zigbee/tarball/master
      npm install https://github.com/kirovilya/ioBroker.zigbee/tarball/master --production --save --prefix "/opt/iobroker" (System call)
      /bin/sh: 1: npm: not found
      ERROR: host.raspberrypi Cannot install https://github.com/kirovilya/ioBroker.zigbee/tarball/master: 127
      ERROR: process exited with code 25~~
      

      Was kann ich noch versuchen?
      Wenn ich den Zigbee nochmal löschen müsste wäre ziemlich blöd, auch für alle Skripte.
      ~~Der Knackpunkt ist wohl, dass npm nicht gefunden wird. Vermutlich liegt es unter einem falschen Pfad. Wie bekomme ich den gerichtet?

      npm gelöst mit:

      1. apt-get install nodejs npm

      2. curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

      3. apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs

      4. sudo npm install -g npm@4

      5. reboot~~

      Gruß
      maxpd

      1 Reply Last reply Reply Quote 0
      • M
        maxpd last edited by Negalein

        Fehlermeldungen im Log:

        host.raspberrypi	2019-02-15 22:06:39.186	error	instance system.adapter.zigbee.0 terminated with code 1 ()
        Caught	2019-02-15 22:06:39.186	error	by controller[0]: at Object.Module._extensions..js (module.js:663:10)
        Caught	2019-02-15 22:06:39.186	error	by controller[0]: at Module._compile (module.js:652:30)
        Caught	2019-02-15 22:06:39.186	error	by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/cc-znp/node_modules/serialport/lib/bindings/linux.js:2:36)
        Caught	2019-02-15 22:06:39.186	error	by controller[0]: at bindings (/opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:81:44)
        Caught	2019-02-15 22:06:39.186	error	by controller[0]: at require (internal/module.js:11:18)
        Caught	2019-02-15 22:06:39.185	error	by controller[0]: at Module.require (module.js:596:17)
        Caught	2019-02-15 22:06:39.185	error	by controller[0]: at Function.Module._load (module.js:497:3)
        Caught	2019-02-15 22:06:39.185	error	by controller[0]: at tryModuleLoad (module.js:505:12)
        Caught	2019-02-15 22:06:39.185	error	by controller[0]: at Module.load (module.js:565:32)
        Caught	2019-02-15 22:06:39.185	error	by controller[0]: at Object.Module._extensions..node (module.js:681:18)
        Caught	2019-02-15 22:06:39.185	error	by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
        Caught	2019-02-15 22:06:39.184	error	by controller[0]: NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
        Caught	2019-02-15 22:06:39.184	error	by controller[0]: NODE_MODULE_VERSION 48. This version of Node.js requires
        Caught	2019-02-15 22:06:39.184	error	by controller[0]: was compiled against a different Node.js version using
        Caught	2019-02-15 22:06:39.184	error	by controller[0]: Error: The module '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Release/serialport.node'
        Caught	2019-02-15 22:06:39.184	error	by controller[0]: ^
        Caught	2019-02-15 22:06:39.184	error	by controller[0]: throw e
        Caught	2019-02-15 22:06:39.183	error	by controller[0]: /opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:88
        
        Asgothian 1 Reply Last reply Reply Quote 0
        • Asgothian
          Asgothian Developer @maxpd last edited by

          @maxpd sagte in Zigbee down nach Kernel Update (npm not found):

          Caught 2019-02-15 22:06:39.185 error by controller[0]: the module (for instance, using npm rebuild or npm install).

          Da steht was zu tun ist:

          in/opt/iobroker : npm rebuild (ggf. mit sudo)

          A.

          1 Reply Last reply Reply Quote 0
          • M
            maxpd last edited by

            Ja, dabei passiert leider gar nichts. Gibt auch keine Rückmeldung.

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

              @maxpd
              mit oder ohne sudo ?

              A.

              1 Reply Last reply Reply Quote 0
              • M
                maxpd last edited by

                beidem 😞

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

                  @maxpd

                  Dann kann ich dir nur raten den Zigbee Adapter zu entfernen und neu zu installieren.

                  Die gute Nachricht: die Namen der Datenpunkte sind HW abhängig, sie ändern sich bei einer Neuinstallation nicht. Auch die Datenbank (Shepherd.db) bleibt erhalten, du musst also nichts neu anlernen.

                  A.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    maxpd last edited by

                    Super, danke für die Info. Ich habe vorm Kernel Update natürlich noch ein Backup gemacht, dass ich einspielen könnte.
                    Nur was ist besser:
                    Aktueller Kernel oder
                    Falsche Node.js

                    1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 last edited by

                      Was genau heisst denn "es gibt bei npm rebuild keine rückmeldung"? Du hast es aber schon im iobroker-Verzeichnis (/opt/iobroker) ausgeführt?!

                      1 Reply Last reply Reply Quote 0
                      • M
                        maxpd last edited by

                        wo ich es ausgeführt hatte, weiß ich tatsächlich nicht mehr. Allerdings habe ich jetzt npm install im /iobroker.zigbee Order ausgeführt. Jetzt läuft es. Keine Ahnung was ich mit meinen Versuchen jetzt alles sonst zusammengebaut habe ^^

                        1 Reply Last reply Reply Quote 0
                        • Bluelinux
                          Bluelinux last edited by

                          Halli Hallo alle zusammen,
                          ich versuche nun seit Tagen meinen Zigbee adapter wieder in den gang zu bekommen jedoch OHNE Erfolg. Ich habe alles was hier schon beschrieben wird probiert.
                          Nix passiert leider.

                          hier mal mein LOG

                          2019-03-03 11:23:16.445 - error: Caught by controller[0]: /opt/iobroker/node_modules/iobroker.zigbee/node_modules/bindings/bindings.js:96
                          2019-03-03 11:23:16.445 - error: Caught by controller[0]: throw err
                          2019-03-03 11:23:16.446 - error: Caught by controller[0]: ^
                          2019-03-03 11:23:16.446 - error: Caught by controller[0]: Error: Could not locate the bindings file. Tried:
                          2019-03-03 11:23:16.446 - error: Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/build/bindings.node
                          2019-03-03 11:23:16.446 - error: Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/build/Debug/bindings.node
                          2019-03-03 11:23:16.446 - error: Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/build/Release/bindings.node
                          2019-03-03 11:23:16.446 - error: Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/out/Debug/bindings.node
                          2019-03-03 11:23:16.451 - error: Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/Debug/bindings.node
                          2019-03-03 11:23:16.451 - error: Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/out/Release/bindings.node
                          2019-03-03 11:23:16.451 - error: Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/Release/bindings.node
                          2019-03-03 11:23:16.451 - error: Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/build/default/bindings.node
                          2019-03-03 11:23:16.451 - error: Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/compiled/8.11.1/linux/arm/bindings.node
                          2019-03-03 11:23:16.452 - error: Caught by controller[0]: at bindings (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/bindings/bindings.js:93:9)
                          2019-03-03 11:23:16.452 - error: Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/lib/linux.js:1:98)
                          2019-03-03 11:23:16.452 - error: Caught by controller[0]: at Module._compile (module.js:652:30)
                          2019-03-03 11:23:16.452 - error: Caught by controller[0]: at Object.Module._extensions..js (module.js:663:10)
                          2019-03-03 11:23:16.452 - error: Caught by controller[0]: at Module.load (module.js:565:32)
                          2019-03-03 11:23:16.452 - error: Caught by controller[0]: at tryModuleLoad (module.js:505:12)
                          2019-03-03 11:23:16.452 - error: Caught by controller[0]: at Function.Module._load (module.js:497:3)
                          2019-03-03 11:23:16.453 - error: Caught by controller[0]: at Module.require (module.js:596:17)
                          2019-03-03 11:23:16.453 - error: Caught by controller[0]: at require (internal/module.js:11:18)
                          2019-03-03 11:23:16.453 - error: Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/@serialport/bindings/lib/index.js:14:22)
                          2019-03-03 11:23:16.453 - error: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 1 ()

                          eventuell hat da jeman eine Idee...

                          Mein System besteht aus einem Raspberry 3b+ wenn noch Info fehlen reiche ich sie gerne nach ....

                          Danke an alle

                          Bluelinux 1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 last edited by

                            ja bitte mal neu installieren. Da ist beim Installieren was schief gegangen.

                            1 Reply Last reply Reply Quote 0
                            • Bluelinux
                              Bluelinux last edited by

                              Hallo miteinander...
                              gestern kam ein neues Admin update und nun ist es so das der Adapter wenigstens wieder auf Gelb geht aber irgendwie scheint er keine Verbindung mit dem Stick herzustellen. Welchen Kanal muss man denn dort einstellen???

                              Nervt mich total das es nicht mehr geht.

                              1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 last edited by

                                Was genau steht denn im Log wenn DU den Adapter startest? Mit Admin hat das an sich nichts zu tun

                                1 Reply Last reply Reply Quote 0
                                • Bluelinux
                                  Bluelinux @Bluelinux last edited by Negalein

                                  @apollon77 hier ist meine log datei ... da müsste es drin stehen.... allerdings habe ich seit gestern ein neues problem denn nun geht nix mehr.... ich könnte so brechen......wenn ich versuche den Iobroker zu starten sagt er immer er kan adresse 0.0.0......... nicht erreichen .... ich habe langsam das gefühl ich komme um eine neue Instalation nicht drum herum

                                  1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 last edited by

                                    Also der Fehler sagt nur das serialport nicht sauber installiert wurde. "npm rebuild" könnte helfen oder Adapter neu installieren

                                    1 Reply Last reply Reply Quote 0
                                    • Bluelinux
                                      Bluelinux last edited by

                                      erst mal möchte ich mich für den Support bedanken.

                                      leider bringt dieser Befehl " npm rebuild" auch keinen erfolg....

                                      kann man den serialport nicht neu installieren oder so?

                                      1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 last edited by

                                        Kein Erfolg heisst? Fehlermeldungen?

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          maxpd last edited by Negalein

                                          Bei mir ist er gestern plötzlich wieder ausgestiegen mit:

                                          zigbee.0 2019-03-10 07:53:14.667 error exception by stop: callback is not defined
                                          zigbee.0 2019-03-10 07:53:14.666 error at Signal.wrap.onsignal (internal/process.js:208:44)
                                          zigbee.0 2019-03-10 07:53:14.666 error at process.emit (events.js:208:7)
                                          zigbee.0 2019-03-10 07:53:14.666 error at emitNone (events.js:106:13)
                                          zigbee.0 2019-03-10 07:53:14.666 error at Object.onceWrapper (events.js:313:30)
                                          zigbee.0 2019-03-10 07:53:14.666 error at process.stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5023:21)
                                          zigbee.0 2019-03-10 07:53:14.666 error at Object.unload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:52:11)
                                          zigbee.0 2019-03-10 07:53:14.666 error ReferenceError: callback is not defined
                                          zigbee.0 2019-03-10 07:53:14.665 error uncaught exception: callback is not defined
                                          zigbee.0 2019-03-10 07:53:08.607 error exception by stop: callback is not defined
                                          zigbee.0 2019-03-10 07:53:08.607 error at Manager. (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                          zigbee.0 2019-03-10 07:53:08.607 error at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
                                          zigbee.0 2019-03-10 07:53:08.607 error at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
                                          zigbee.0 2019-03-10 07:53:08.607 error at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:780:25)
                                          zigbee.0 2019-03-10 07:53:08.607 error at process.exit (internal/process.js:157:15)
                                          zigbee.0 2019-03-10 07:53:08.607 error at process.emit (events.js:211:7)
                                          zigbee.0 2019-03-10 07:53:08.607 error at emitOne (events.js:116:13)
                                          zigbee.0 2019-03-10 07:53:08.607 error at Object.onceWrapper (events.js:315:30)
                                          zigbee.0 2019-03-10 07:53:08.607 error at process.stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5023:21)
                                          zigbee.0 2019-03-10 07:53:08.607 error at Object.unload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:52:11)
                                          zigbee.0 2019-03-10 07:53:08.607 error ReferenceError: callback is not defined
                                          zigbee.0 2019-03-10 07:53:08.606 error uncaught exception: callback is not defined
                                          zigbee.0 2019-03-10 07:53:08.590 error already running

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            maxpd last edited by Negalein

                                            Heute habe ich den Adapter komplett gelöscht und neu installiert und stoße auf das alte Problem:

                                            host.raspberrypi 2019-03-12 21:13:36.604 error instance system.adapter.zigbee.0 terminated with code 1 ()
                                            host.raspberrypi 2019-03-12 21:13:36.604 error Caught by controller[0]: at Object.Module._extensions..js (module.js:663:10)
                                            host.raspberrypi 2019-03-12 21:13:36.604 error Caught by controller[0]: at Module._compile (module.js:652:30)
                                            host.raspberrypi 2019-03-12 21:13:36.604 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/cc-znp/node_modules/serialport/lib/bindings/linux.js:2:36)
                                            host.raspberrypi 2019-03-12 21:13:36.603 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:81:44)
                                            host.raspberrypi 2019-03-12 21:13:36.603 error Caught by controller[0]: at require (internal/module.js:11:18)
                                            host.raspberrypi 2019-03-12 21:13:36.603 error Caught by controller[0]: at Module.require (module.js:596:17)
                                            host.raspberrypi 2019-03-12 21:13:36.603 error Caught by controller[0]: at Function.Module._load (module.js:497:3)
                                            host.raspberrypi 2019-03-12 21:13:36.603 error Caught by controller[0]: at tryModuleLoad (module.js:505:12)
                                            host.raspberrypi 2019-03-12 21:13:36.603 error Caught by controller[0]: at Module.load (module.js:565:32)
                                            host.raspberrypi 2019-03-12 21:13:36.603 error Caught by controller[0]: at Object.Module._extensions..node (module.js:681:18)
                                            host.raspberrypi 2019-03-12 21:13:36.603 error Caught by controller[0]: the module (for instance, using npm rebuild or npm install).
                                            host.raspberrypi 2019-03-12 21:13:36.602 error Caught by controller[0]: NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
                                            host.raspberrypi 2019-03-12 21:13:36.602 error Caught by controller[0]: NODE_MODULE_VERSION 48. This version of Node.js requires
                                            host.raspberrypi 2019-03-12 21:13:36.602 error Caught by controller[0]: was compiled against a different Node.js version using
                                            host.raspberrypi 2019-03-12 21:13:36.602 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/cc-znp/node_modules/serialport/build/Release/serialport.node'
                                            host.raspberrypi 2019-03-12 21:13:36.602 error Caught by controller[0]: ^
                                            host.raspberrypi 2019-03-12 21:13:36.602 error Caught by controller[0]: throw e
                                            host.raspberrypi 2019-03-12 21:13:36.601 error Caught by controller[0]: /opt/iobroker/node_modules/cc-znp/node_modules/bindings/bindings.js:88

                                            Also habe ich wieder npm install /iobroker.zigbee versucht, allerdings weiger er sich:

                                            ac91a32f-1dcb-43cb-a226-ff8450a34edc-image.png

                                            Wenn ich das ganze in /opt/iobroker : npm rebuild ausführe, dann kommen 1000 andere fehlermeldungen

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            998
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            error kernel update zigbee
                                            4
                                            25
                                            1279
                                            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