NEWS
Zigbee Adapter startet nicht
-
Hallo,
ich hoffe mir kann jemand helfen..... Habe heute meinen CC2531 Stick erhalten und wollte den Zigbee Adapter installieren. Das hat auch geklappt, nur leider startet der nicht mit folgendem Log:
ioBroker läuft auf einem RPi 3
host.raspberrypi 2021-03-09 15:50:25.285 error instance system.adapter.zigbee.0 terminated with code 1 ()
Caught 2021-03-09 15:50:25.285 error by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:520:3)
Caught 2021-03-09 15:50:25.284 error by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
Caught 2021-03-09 15:50:25.284 error by controller[0]: at Module.load (internal/modules/cjs/loader.js:589:32)
Caught 2021-03-09 15:50:25.284 error by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
Caught 2021-03-09 15:50:25.284 error by controller[0]: at Module._compile (internal/modules/cjs/loader.js:678:30)
Caught 2021-03-09 15:50:25.284 error by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/@iobroker/adapter-core/build/index.js:29:54)
Caught 2021-03-09 15:50:25.284 error by controller[0]: at require (internal/modules/cjs/helpers.js:20:18)
Caught 2021-03-09 15:50:25.284 error by controller[0]: at Module.require (internal/modules/cjs/loader.js:626:17)
Caught 2021-03-09 15:50:25.283 error by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:497:25)
Caught 2021-03-09 15:50:25.283 error by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
Caught 2021-03-09 15:50:25.283 error by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/exitCodes'
Caught 2021-03-09 15:50:25.283 error by controller[0]: ^
Caught 2021-03-09 15:50:25.283 error by controller[0]: throw err;
Caught 2021-03-09 15:50:25.281 error by controller[0]: internal/modules/cjs/loader.js:573Ich bin nicht wirklich der Linux Held und hilflos....
-
- Bitte Logs immer in code Tags (</>) setzen
- Welchen Adapter hast du installiert (version) ?
- Welches OS ?
- Welche NodeJS Version
- Welche JS Controller version
- Gab es Meldungen bei der Installation ?
A.
-
@consoleman sagte in Zigbee Adapter startet nicht:
Ich bin nicht wirklich der Linux Held und hilflos....
und meine Glaskugel ist zur Zeit zur politur...
-
@asgothian said in Zigbee Adapter startet nicht:
- Bitte Logs immer in code Tags (</>) setzen
- Welchen Adapter hast du installiert (version) ?
- Welches OS ?
- Welche NodeJS Version
- Welche JS Controller version
- Gab es Meldungen bei der Installation ?
A.
Sorry, war nicht mein Plan jemanden zu ärgern.
Adapter Version 1.4.4
Raspberian auf RPi3
NodeJS 10.0.0
So wie es aussieht ist der JS Controller nicht installiert? -
@asgothian sagte in Zigbee Adapter startet nicht:
Welche JS Controller version
Gab es Meldungen bei der Installation ?Diese Beiden Fragen solltest Du noch beantworten.
Wenn Du keinen JS Controller hast läuft dein ioBroker nicht.
Wenn Du Node 10.0.0 hast dann stimmt da auch was nicht.A.
-
iobroker -v which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
Bei dem Nickname dürfte die Bedienung via shell ja kein Thema sein.
-
6.4.1 nodejs: Installed: 10.24.0-1nodesource1 Candidate: 10.24.0-1nodesource1 Version table: *** 10.24.0-1nodesource1 500 500 https://deb.nodesource.com/node_10.x stretch/main armhf Packages 100 /var/lib/dpkg/status 8.11.1~dfsg-2~bpo9+1 500 500 http://archive.raspberrypi.org/debian stretch/main armhf Packages 4.8.2~dfsg-1 500 500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages Iobroker 1.5.14
-
@consoleman das ist aber nicht der vollständige Output
-
h npm && npm -v && apt policy nodejs /usr/bin/nodejs v10.24.0 /home/pi/.nvm/versions/node/v10.15.2/bin/node v10.15.2 /home/pi/.nvm/versions/node/v10.15.2/bin/npm 6.4.1 nodejs: Installed: 10.24.0-1nodesource1 Candidate: 10.24.0-1nodesource1 Version table: *** 10.24.0-1nodesource1 500 500 https://deb.nodesource.com/node_10.x stretch/main armhf Packages 100 /var/lib/dpkg/status 8.11.1~dfsg-2~bpo9+1 500 500 http://archive.raspberrypi.org/debian stretch/main armhf Packages 4.8.2~dfsg-1 500 500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
-
@consoleman Node-Installation ist komplett krumm.
-
@thomas-braun said in Zigbee Adapter startet nicht:
@consoleman Node-Installation ist komplett krumm.
Ok, wie behebe ich das?
-
@consoleman
https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debianOder durch den Werkzeugkasten aus meiner Signatur buddeln.
-
Ok.... aber was genau meinst du mit "krumm", grundsätzlich läuft ja iobroker und Homebridge Problemlos.
-
Trotzdem krumm. Hast du das HowTo gelesen? Da steht drin wie das richtig aussehen muss.
-
usr/bin/nodejs v12.21.0 /usr/bin/node v12.21.0 /usr/bin/npm 7.6.2 nodejs: Installed: 12.21.0-1nodesource1 Candidate: 12.21.0-1nodesource1 Version table: *** 12.21.0-1nodesource1 500 500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages 100 /var/lib/dpkg/status 8.11.1~dfsg-2~bpo9+1 500 500 http://archive.raspberrypi.org/debian stretch/main armhf Packages 4.8.2~dfsg-1 500 500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
Besser oder?
Mein Problem mit dem Zigbee Adapter hat es jedoch nicht gelöst.Gibt es weitere Tipps?
-
-
pi@raspberrypi:~ $ iobroker -v 1.5.14
-
@consoleman Mittlerweile sind wir bei 3.2.16
Bring das System in die Jetzt-Zeit. Mit npm@6. -
was genau meinst du mit npm@6 ?
-
@consoleman Deine Version von npm ist zu neu, die funktioniert mit ioBroker noch nicht vernünftig. Installier eine Version aus der 6er-Reihe.
Reinstall von node über apt spült automatisch eine passende Version auf das System.Wenn das sauber ist installier iobroker 3.2.16