Hallo,
ich wollte jetzt nach dem Urlaub alle Adapter auf den aktuellen Stand bringen.
Alles klappt nur der ZIGBEE-Adapter will nicht updaten:
Code
$ ./iobroker upgrade zigbee
Update zigbee from @0.6.0 to @0.7.1
NPM version: 3.5.2
npm install iobroker.zigbee@0.7.1 --production --save --prefix "/opt/iobroker" (System call)
WARN
engine dissolve@0.3.3: wanted: {"node":"~0.10.0"} (current: {"node":"8.10.0","npm":"3.5.2"})
npm
WARN optional Skipping failed optional dependency /iobroker.ble/noble/xpc-connection:
npm WARN notsup Not compatible with your operating system or architecture: xpc-connection@0.1.4
npm WARN
enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/mkdirp/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar-fs/package.json'
npm
WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/cc-znp/package.json'
npm ERR!
Linux 4.15.0-33-genericnpm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zigbee@0.7.1" "--production" "--save" "--prefix" "/opt/iobroker"
npm ERR! node
v8.10.0npm
ERR! npm
v3.5.2
npm ERR! path /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-shepherd/node_modules/cc-znp/node_modules/serialport/node_modules/prebuild-install/node_modules/.bin/detect-libcnpm ERR! code EEXIST
npm
ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-shepherd/node_modules/cc-znp/node_modules/serialport/node_modules/prebuild-install/node_modules/.bin/detect-libc: containing path /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-shepherd/node_modules/cc-znp/node_modules/serialport/node_modules/prebuild-install/node_modules/detect-libc isn't under npm's controlnpm ERR! File exists: /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-shepherd/node_modules/cc-znp/node_modules/serialport/node_modules/prebuild-install/node_modules/.bin/detect-libc
npm ERR! Move it away, and try again.
npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.zigbee"
npm
ERR! registry error parsing json
WARN engine concentrate@0.2.3: wanted: {"node":"~0.10.0"} (current: {"node":"8.10.0","npm":"3.5.2"})
WARN engine dissolve@0.3.3: wanted: {"node":"~0.10.0"} (current: {"node":"8.10.0","npm":"3.5.2"})
npm
ERR! Linux 4.15.0-33-genericnpm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--production"
npm ERR!
node v8.10.0npm ERR! npm v3.5.2
npm ERR! path /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-shepherd/node_modules/cc-znp/node_modules/serialport/node_modules/prebuild-install/node_modules/.bin/detect-libc
npm ERR! code EEXIST
npm
ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-shepherd/node_modules/cc-znp/node_modules/serialport/node_modules/prebuild-install/node_modules/.bin/detect-libc: containing path /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-shepherd/node_modules/cc-znp/node_modules/serialport/node_modules/prebuild-install/node_modules/detect-libc isn't under npm's controlnpm ERR! File exists: /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-shepherd/node_modules/cc-znp/node_modules/serialport/node_modules/prebuild-install/node_modules/.bin/detect-libc
npm ERR!
Move it away, and try again.
npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/node_modules/iobroker.zigbee/npm-debug.log
Cannot install iobroker.zigbee: 1
ERROR: process exited with code 25
Alles anzeigen
Was mache ich falsch?
Seit dem Update-Versuch habe ich auch im LOG einen Fehler beim ZIGBEE-Adapter:
Code
host.beelink 2018-08-28 18:59:06.202 info Restart adapter system.adapter.zigbee.0 because enabled
host.beelink 2018-08-28 18:59:06.202 error instance system.adapter.zigbee.0 terminated with code 1 ()
host.beelink 2018-08-28 18:59:06.202 error Caught by controller[0]: at Function.Module._load (module.js:497:3)
host.beelink 2018-08-28 18:59:06.202 error Caught by controller[0]: at tryModuleLoad (module.js:505:12)
host.beelink 2018-08-28 18:59:06.202 error Caught by controller[0]: at Module.load (module.js:565:32)
host.beelink 2018-08-28 18:59:06.202 error Caught by controller[0]: at Object.Module._extensions..js (module.js:663:10)
host.beelink 2018-08-28 18:59:06.202 error Caught by controller[0]: at Module._compile (module.js:652:30)
host.beelink 2018-08-28 18:59:06.202 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/main.js:18:19)
host.beelink 2018-08-28 18:59:06.202 error Caught by controller[0]: at require (internal/module.js:11:18)
host.beelink 2018-08-28 18:59:06.202 error Caught by controller[0]: at Module.require (module.js:596:17)
host.beelink 2018-08-28 18:59:06.202 error Caught by controller[0]: at Function.Module._load (module.js:474:25)
host.beelink 2018-08-28 18:59:06.201 error Caught by controller[0]: at Function.Module._resolveFilename (module.js:547:15)
host.beelink 2018-08-28 18:59:06.201 error Caught by controller[0]: Error: Cannot find module 'zigbee-shepherd'
host.beelink 2018-08-28 18:59:06.201 error Caught by controller[0]: ^
host.beelink 2018-08-28 18:59:06.201 error Caught by controller[0]: throw err;
host.beelink 2018-08-28 18:59:06.201 error Caught by controller[0]: module.js:549
host.beelink 2018-08-28 18:59:05.237 info instance system.adapter.zigbee.0 started with pid 25373
Alles anzeigen