NEWS
UNSOLVED Zigbee Instanz rot nach node.js Update auf v12.18.4 [Gelöst]
-
I.) schaffe ich ja grad noch... Aber alles andere...
Komisch, dass sonst jeder Adapter läuft und auch in der aktuellsten Version läuft.
Zigbee lässt sich nicht Mal deistallieren:
2020-09-20 17:52:50.111 - info: host.raspberrypi iobroker del zigbee 2020-09-20 17:52:53.089 - info: host.raspberrypi iobroker Delete adapter "zigbee" 2020-09-20 17:52:53.111 - info: host.raspberrypi iobroker host.raspberrypi Counted 1 instances of zigbee 2020-09-20 17:52:53.126 - info: host.raspberrypi iobroker host.raspberrypi Counted 1 meta of zigbee 2020-09-20 17:52:53.133 - info: host.raspberrypi iobroker host.raspberrypi Counted 1 adapter for zigbee 2020-09-20 17:52:53.162 - info: host.raspberrypi iobroker host.raspberrypi Counted 1 channels of zigbee 2020-09-20 17:52:53.177 - info: host.raspberrypi iobroker host.raspberrypi Counted 5 states of zigbee 2020-09-20 17:52:53.192 - info: host.raspberrypi iobroker host.raspberrypi Counted 13 states of system.adapter.zigbee 2020-09-20 17:52:53.207 - info: host.raspberrypi iobroker host.raspberrypi Counted 5 states (io.zigbee.*) from states 2020-09-20 17:52:53.254 - info: host.raspberrypi iobroker host.raspberrypi Counted 3 states (system.adapter.zigbee.*) from states 2020-09-20 17:52:56.022 - warn: readDir will not read this directory () in future versions: zigbee is not an object of type "meta" 2020-09-20 17:52:56.102 - info: host.raspberrypi iobroker host.raspberrypi file zigbee.admin deleted 2020-09-20 17:52:56.123 - info: host.raspberrypi iobroker host.raspberrypi object zigbee.admin deleted 2020-09-20 17:52:56.126 - info: host.raspberrypi iobroker host.raspberrypi Deleting 22 object(s). 2020-09-20 17:52:57.110 - error: host.raspberrypi Cannot write files: /opt/iobroker/iobroker-data/files/zigbee.admin/_data.json: ENOENT: no such file or directory, open '/opt/iobroker/iobroker-data/files/zigbee.admin/_data.json' 2020-09-20 17:52:57.845 - info: host.raspberrypi object deleted system.adapter.zigbee.0 2020-09-20 17:52:57.921 - info: host.raspberrypi iobroker host.raspberrypi Deleting 8 state(s). 2020-09-20 17:52:58.299 - info: host.raspberrypi iobroker npm uninstall iobroker.zigbee --error --prefix "/opt/iobroker" (System call) 2020-09-20 17:53:34.737 - info: host.raspberrypi iobroker npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 2020-09-20 17:54:19.960 - info: host.raspberrypi iobroker npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 2020-09-20 17:54:19.972 - info: host.raspberrypi iobroker npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 2020-09-20 17:54:19.982 - info: host.raspberrypi iobroker npm WARN optional SKIPPING OPTIONAL DEPENDENCY: concentrate@^0.2.3 (node_modules/unpi/node_modules/concentrate):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported engine for concentrate@0.2.3: wanted: {"node":"~0.10.0"} (current: {"node":"12.18.4","npm":"6.14.6"})npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Not compatible with your version of node/npm: concentrate@0.2.3 2020-09-20 17:54:19.986 - info: host.raspberrypi iobroker 2020-09-20 17:54:20.027 - info: host.raspberrypi iobroker npm ERR! code ENOTSUP 2020-09-20 17:54:20.043 - info: host.raspberrypi iobroker npm ERR! notsup Unsupported engine for dissolve@0.3.3: wanted: {"node":"~0.10.0"} (current: {"node":"12.18.4","npm":"6.14.6"})npm ERR! notsup Not compatible with your version of node/npm: dissolve@0.3.3npm ERR! notsup Not compatible with your version of node/npm: dissolve@0.3.3npm ERR! notsup Required: {"node":"~0.10.0"}npm ERR! notsup Actual: {"npm":"6.14.6","node":"12.18.4"} 2020-09-20 17:54:20.178 - info: host.raspberrypi iobroker 2020-09-20 17:54:20.182 - info: host.raspberrypi iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-09-20T15_54_20_135Z-debug.log 2020-09-20 17:54:20.251 - error: host.raspberrypi iobroker Error deleting adapter zigbee from disk: Error: host.raspberrypi: Cannot uninstall iobroker.zigbee: 1You might have to delete it yourself! 2020-09-20 17:54:21.294 - info: host.raspberrypi iobroker exit 0
-
@birdy
Seltsamerweise ist bei mir dissolve gar nicht installiert:pi@raspberrypi:/opt/iobroker $ npm list dissolve iobroker.inst@2.0.3 /opt/iobroker └── (empty)
-
@Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:
@birdy
Seltsamerweise ist bei mir dissolve gar nicht installiert:pi@raspberrypi:/opt/iobroker $ npm list dissolve iobroker.inst@2.0.3 /opt/iobroker └── (empty)
Das bedeutet was?
-
@birdy
Das du da ggf. irgendeine Leiche im Keller hast. Denn wir haben soweit ich das sehe ganz ähnliche Adapter installiert. Was liefert denn der Befehl auf deinem System? -
Es würde mir ja schon reichen, wenn ich den Adapter weg bekomme und wieder neu installieren könnte...
-
@birdy
Dann musst du halt irgendwo anfangen das Gebilde zu sanieren. -
@Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:
@birdy
Das du da ggf. irgendeine Leiche im Keller hast. Denn wir haben soweit ich das sehe ganz ähnliche Adapter installiert. Was liefert denn der Befehl auf deinem System?pi@raspberrypi:/opt/iobroker $ npm list dissolve iobroker.inst@1.0.8 /opt/iobroker └─┬ iobroker.zigbee@0.10.2 └─┬ zigbee-shepherd@0.3.0 └─┬ zcl-packet@0.2.4 └─┬ dissolve-chunks@1.3.0 └── dissolve@0.3.3
Was sagt diese Meldung aus?
-
@birdy sagte in Zigbee Instanz rot nach node.js Update auf v12.18.4:
cd /opt/iobroker npm i iobroker.zigbee@1.2.1
-
@Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:
@birdy sagte in Zigbee Instanz rot nach node.js Update auf v12.18.4:
cd /opt/iobroker npm i iobroker.zigbee@1.2.1
Hab aber vergessen, iobroker zu stoppen... Schlecht?
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: concentrate@^0.2.3 (node_modules/unpi/node_modules/concentrate): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported engine for concentrate@0.2.3: wanted: {"node":"~0.10.0"} (current: {"node":"12.18.4","npm":"6.14.6"}) npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Not compatible with your version of node/npm: concentrate@0.2.3 npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for dissolve@0.3.3: wanted: {"node":"~0.10.0"} (current: {"node":"12.18.4","npm":"6.14.6"}) npm ERR! notsup Not compatible with your version of node/npm: dissolve@0.3.3 npm ERR! notsup Not compatible with your version of node/npm: dissolve@0.3.3 npm ERR! notsup Required: {"node":"~0.10.0"} npm ERR! notsup Actual: {"npm":"6.14.6","node":"12.18.4"} npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-09-20T16_27_48_926Z-debug.log
-
@birdy
Versuch mal dissolve rauszukicken.
Ein aktuelles zigbee benötigt das nicht mehr.npm uninstall dissolve
-
@Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:
@birdy
Versuch mal dissolve rauszukicken.
Ein akutelles zigbee benötigt das nicht mehr.npm uninstall dissolve
vorher iobroker stoppen?
-
@birdy
Kannst du machen. -
@birdy sagte in Zigbee Instanz rot nach node.js Update auf v12.18.4:
npm uninstall dissolve
Wenn das nicht klappt versuch mal mit
npm uninstall dissolve --save
-
pi@raspberrypi:/opt/iobroker $ npm uninstall dissolve npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 > canvas@2.6.1 install /opt/iobroker/node_modules/canvas > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v72-linux-glibc-arm.tar.gz node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@12.18.4 (node-v72 ABI, glibc) (falling back to source compile with node-gyp) Package cairo was not found in the pkg-config search path. Perhaps you should add the directory containing `cairo.pc' to the PKG_CONFIG_PATH environment variable No package 'cairo' found gyp: Call to 'pkg-config cairo --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.19.66-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v12.18.4 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) node-pre-gyp ERR! System Linux 4.19.66-v7+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas node-pre-gyp ERR! node -v v12.18.4 node-pre-gyp ERR! node-pre-gyp -v v0.11.0 node-pre-gyp ERR! not ok Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) > sharp@0.25.2 install /opt/iobroker/node_modules/sharp > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy) ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1 info sharp Attempting to build from source via node-gyp but this may fail due to the above error info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird betreten CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o AR(target) Release/obj.target/../node-addon-api/src/nothing.a COPY Release/nothing.a TOUCH Release/obj.target/libvips-cpp.stamp CXX(target) Release/obj.target/sharp/src/common.o ../src/common.cc:23:22: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden #include <vips/vips8> ^ compilation terminated. sharp.target.mk:138: die Regel für Ziel „Release/obj.target/sharp/src/common.o“ scheiterte make: *** [Release/obj.target/sharp/src/common.o] Fehler 1 make: Verzeichnis „/opt/iobroker/node_modules/sharp/build“ wird verlassen gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.19.66-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/sharp gyp ERR! node -v v12.18.4 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok > iobroker@1.0.8 install /opt/iobroker/node_modules/iobroker > node lib/setup.js NPM version: 6.14.8 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NPM 5 is currently NOT supported! Please use "npm install -g npm@4" to downgrade npm to 4.x and try again. You need to make sure to downgrade again with the above command after you installed an update to nodejs/npm! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: concentrate@^0.2.3 (node_modules/unpi/node_modules/concentrate): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported engine for concentrate@0.2.3: wanted: {"node":"~0.10.0"} (current: {"node":"12.18.4","npm":"6.14.6"}) npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Not compatible with your version of node/npm: concentrate@0.2.3 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 (node_modules/canvas): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 (node_modules/sharp): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.2 install: `(node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iobroker@1.0.8 install: `node lib/setup.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker@1.0.8 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-09-20T16_36_28_808Z-debug.log
-
So nebenbei möchte ich mich mal bei dir für die Zeit, die du in den fall investierst, bedanken!
-
@birdy
Wie gesagt: Viele viele Baustellen.
Vermutlich geht das schneller, wenn du das System komplett neuinstallierst (Buster) und dann dein Backup in den ioBroker einspielst. -
aber jetzt ganz schlimm:
pi@raspberrypi:/opt/iobroker $ start iobroker -bash: start: Kommando nicht gefunden.
-
iobroker start
-
@birdy
Nö. Das heißt ja auchiobroker start
-
@Thomas-Braun said in Zigbee Instanz rot nach node.js Update auf v12.18.4:
@birdy
Nö. Das heißt ja auchiobroker start
Sorry, bin schon etwas durch den Wind...