NEWS
UNSOLVED zigbee: nach update von nodejs startet adapter nicht mehr
-
@tom_33
Dann versuchen wir die Holzhammermethode:sudo rm -rf /usr/local/bin/npm
Und dann nochmal mit
which npm
schauen ob die Version aus /usr/bin genutzt wird
-
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
-
@tom_33
Okay, ist offenbar weg...ls -la /usr/bin/npm
-
@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!
-
@tom_33
Dann noch einsudo apt-get install --reinstall nodejs
-
@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?
-
@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. -
@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 nichtspi@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
-
@tom_33
Du musst im Verzeichnis /opt/iobroker noch einnpm 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.
-
tolle Leistung ... bzw. Geduld
-
@Glasfaser said in zigbee: nach update von nodejs startet adapter nicht mehr:
tolle Leistung ... bzw. Geduld
Danke. Aber tom_33 war ja auch pflegeleicht und hat alles schön umgesetzt.
-
@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 .
-
und alles klar .... mit Zigbee !?
-
@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:
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
ihr seid wirklich spitze! hilfe ohne ende!
nein npm rebuild hat keine faxen gemachthost.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
-
Stoppe die Instanz , Sichere die Daten , deinstalliere Zigbee und dann über die Katze neu .
Aber die neue 1.1.1 -
@Glasfaser
Ist serialport im Modul zigbee enthalten oder was eigenes? Scheint mir da zu klemmen.npm rebuild serialport
vielleicht?
-
@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 -
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