NEWS
IoBroker läuft, aber NICHTS läßt sich updaten/installieren
-
Hallo zusammen,
der letzte Neustart meines iobroker Servers unter Debian scheint ihm nicht gefallen zu haben. ioBroker läuft zwar, aber jeder Versuch, einen Adapter zu aktualisieren oder neu hinzuzufügen, schlägt fehl (hier am Beispiel des Homematic RPC Adapters):
$ ./iobroker upgrade hm-rpc Update hm-rpc from @1.7.8 to @1.8.0 NPM version: 6.4.1 npm install iobroker.hm-rpc@1.8.0 --production --save --prefix "/opt/iobroker" (System call) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/dashdash/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-parser/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-client/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/has-binary/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/socket.io-client/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sshpk/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar-pack/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar.gz/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/usb/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/utile/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/node_modules/sshpk/package.json' npm ERR! Cannot read property '0' of undefined npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-12-31T16_58_48_401Z-debug.log npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.hm-rpc" got /opt/iobroker/node_modules/iobroker.hm-rpc/admin upload [150] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/95_group_hm-cc-vg-1_thumb.png icons/95_group_hm-cc-vg-1_thumb.png image/png upload [100] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/48_hm-sen-ep_thumb.png icons/48_hm-sen-ep_thumb.png image/png upload [90] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/36_hmw-sys-ps7-dr_thumb.png icons/36_hmw-sys-ps7-dr_thumb.png image/png upload [80] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/27_hmw-lc-bl1-dr_thumb.png icons/27_hmw-lc-bl1-dr_thumb.png image/png upload [70] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/17_hm-sec-rhs_thumb.png icons/17_hm-sec-rhs_thumb.png image/png upload [60] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/150_hm-lc-dw-wm_thumb.png icons/150_hm-lc-dw-wm_thumb.png image/png upload [50] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/140_alpha-ip-rgb_thumb.png icons/140_alpha-ip-rgb_thumb.png image/png upload [40] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/132_hmip-smo_thumb.png icons/132_hmip-smo_thumb.png image/png upload [30] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/121_hmip-wth_thumb.png icons/121_hmip-wth_thumb.png image/png upload [20] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/113_hmip-psm_thumb.png icons/113_hmip-psm_thumb.png image/png upload [19] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/113_hmip-psm-uk_thumb.png icons/113_hmip-psm-uk_thumb.png image/png upload [18] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/113_hmip-psm-pe_thumb.png icons/113_hmip-psm-pe_thumb.png image/png upload [17] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/113_hmip-psm-it_thumb.png icons/113_hmip-psm-it_thumb.png image/png upload [16] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/113_hmip-psm-ch_thumb.png icons/113_hmip-psm-ch_thumb.png image/png upload [15] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/112_hmip-wrc2_thumb.png icons/112_hmip-wrc2_thumb.png image/png upload [14] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/111_hm-lc-rgbw-wm_thumb.png icons/111_hm-lc-rgbw-wm_thumb.png image/png upload [13] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/110_hm-es-pmsw1-dr_thump.png icons/110_hm-es-pmsw1-dr_thump.png image/png upload [12] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/109_hm-lc-sw1-pl-ct_thump.png icons/109_hm-lc-sw1-pl-ct_thump.png image/png upload [11] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/108_hm-rc-dis-h-x-eu_thump.png icons/108_hm-rc-dis-h-x-eu_thump.png image/png upload [10] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/107_hm-es-pmsw1-pl-R5_thumb.png icons/107_hm-es-pmsw1-pl-R5_thumb.png image/png upload [9] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/107_hm-es-pmsw1-pl-R4_thumb.png icons/107_hm-es-pmsw1-pl-R4_thumb.png image/png upload [8] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/107_hm-es-pmsw1-pl-R3_thumb.png icons/107_hm-es-pmsw1-pl-R3_thumb.png image/png upload [7] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/107_hm-es-pmsw1-pl-R2_thumb.png icons/107_hm-es-pmsw1-pl-R2_thumb.png image/png upload [6] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/105_hm-sec-sd-2-team_thumb.png icons/105_hm-sec-sd-2-team_thumb.png image/png upload [5] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/104_hm-sec-sd-2_thumb.png icons/104_hm-sec-sd-2_thumb.png image/png upload [4] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/103_hm-sen-mdir-wm55_thumb.png icons/103_hm-sen-mdir-wm55_thumb.png image/png upload [3] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/102_hm-es-tx-wm_thumb.png icons/102_hm-es-tx-wm_thumb.png image/png upload [2] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/101_hm-sen-db-pcb_thumb.png icons/101_hm-sen-db-pcb_thumb.png image/png upload [1] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/100_hm-rc-8_thumb.png icons/100_hm-rc-8_thumb.png image/png upload [0] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/homematic.png homematic.png image/png Adapter "hm-rpc" updated process exited with code 0
Selbiges Problem beim Update von "BackItUp":
$ ./iobroker upgrade backitup Update backitup from @0.3.8 to @1.0.0 NPM version: 6.4.1 npm install iobroker.backitup@1.0.0 --production --save --prefix "/opt/iobroker" (System call) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/dashdash/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-client/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-parser/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/has-binary/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/socket.io-client/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sshpk/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar-pack/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar.gz/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/usb/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/utile/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/node_modules/sshpk/package.json' npm ERR! Cannot read property '0' of undefined npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-12-31T17_02_10_847Z-debug.log npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.backitup" npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm notice created a lockfile as package-lock.json. You should commit this file. got /opt/iobroker/node_modules/iobroker.backitup/admin upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png Adapter "backitup" updated process exited with code 0
Beide Adapter behaupten zwar am Ende, sie seien erfolgreich aktualisiert worden, sind sie aber nicht
Habe dann mal versucht, den Onkyo Pioneer Adapter hinzuzufügen, hier selbiges Spiel, nur dass die Installation diesmal auch "offiziell" fehlschlägt:
$ ./iobroker add onkyo --host iobroker NPM version: 6.4.1 npm install iobroker.onkyo --production --save --prefix "/opt/iobroker" (System call) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/dashdash/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-client/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-parser/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/has-binary/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/socket.io-client/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sshpk/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar-pack/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar.gz/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/usb/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/utile/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/node_modules/sshpk/package.json' npm ERR! Cannot read property '0' of undefined npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-12-31T17_05_04_154Z-debug.log host.iobroker install adapter onkyo NPM version: 6.4.1 npm install iobroker.onkyo --production --save --prefix "/opt/iobroker" (System call) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/dashdash/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-client/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-parser/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/has-binary/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/socket.io-client/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sshpk/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar-pack/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar.gz/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/usb/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/utile/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/node_modules/sshpk/package.json' npm ERR! Cannot read property '0' of undefined npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-12-31T17_06_29_157Z-debug.log host.iobroker install adapter onkyo NPM version: 6.4.1npm install iobroker.onkyo --production --save --prefix "/opt/iobroker" (System call) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/dashdash/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-client/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/engine.io-parser/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/has-binary/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/prompt/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/socket.io-client/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sshpk/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar-pack/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/tar.gz/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/usb/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/utile/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-pre-gyp/node_modules/sshpk/package.json' npm ERR! Cannot read property '0' of undefined npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-12-31T17_07_53_753Z-debug.log host.iobroker install adapter onkyo ERROR: host.iobroker Cannot install onkyo ERROR: process exited with code 13
Hat vielleicht jemand einen Tipp? Es läuft nodejs 8.14 und js-controller 1.5.3
Danke und viele Grüße
Christian
-
Falls jemand noch die Lösung braucht:
hier fehlte offenbar das Rekompilieren via reinstall.sh und eine Aktualisierung von NPM von 6.4.1 auf 6.5. Danach ließ sich zB Backitup aktualisieren, von kleinen Problemen mal abgesehen:
$ ./iobroker upgrade backitup Update backitup from @0.3.9 to @1.0.0 NPM version: 6.5.0 npm install iobroker.backitup@1.0.0 --production --save --prefix "/opt/iobroker" (System call) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.backitup" npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm notice created a lockfile as package-lock.json. You should commit this file. got /opt/iobroker/node_modules/iobroker.backitup/admin upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript Update "system.adapter.backitup.0" upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png Adapter "backitup" updated process exited with code 0
So und jetzt geh ich Silvester feiern
-
Interessant trotzdem ist warum die files weg waren. Ja reinstall hat es gefixt indem es alles neu installiert hat
Gesendet vom Handy …
-
Ich danke für diese Information