NEWS
Fehler bei vis Installation nach restore
-
Hallo,
ich habe auf Grund einiger Probleme mit node und npm mein System neu aufgesetzt.
Danach habe ich ein backup restore gemacht.
Es läuft jetzt alles außer vis rund.
Das System versucht den Adapter zu installieren und bricht ab. Habe dann eine installation über die Konsole mit --debug angestoßen.
Das enden auch mit einem Fehler . Habe mal den Log dazu angehängt. Kann mir jemand sagen woran das liegt. Alles andere läuft einwandfrei und auch alle Updates nach dem Restore sind durchgelaufen.0 sudo -H -u iobroker npm cache clean --force0 verbose cli /usr/bin/node /usr/bin/npm 1 info using npm@8.15.0 2 info using node@v16.17.0 3 timing npm:load:whichnode Completed in 0ms 4 timing config:load:defaults Completed in 3ms 5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms 6 timing config:load:builtin Completed in 2ms 7 timing config:load:cli Completed in 3ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/opt/iobroker/.npmrc Completed in 2ms 10 timing config:load:project Completed in 31ms 11 timing config:load:file:/home/iobroker/.npmrc Completed in 1ms 12 timing config:load:user Completed in 1ms 13 timing config:load:file:/usr/etc/npmrc Completed in 0ms 14 timing config:load:global Completed in 0ms 15 timing config:load:validate Completed in 1ms 16 timing config:load:credentials Completed in 1ms 17 timing config:load:setEnvs Completed in 2ms 18 timing config:load Completed in 46ms 19 timing npm:load:configload Completed in 46ms 20 timing npm:load:mkdirpcache Completed in 2ms 21 timing npm:load:mkdirplogs Completed in 3ms 22 verbose title npm install iobroker.vis@1.4.15 23 verbose argv "install" "--save-exact" "iobroker.vis@1.4.15" 24 timing npm:load:setTitle Completed in 2ms 25 timing config:load:flatten Completed in 5ms 26 timing npm:load:display Completed in 6ms 27 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs
-
@kaschperle83 und hier noch der Log aus Iobroker:
$ iobroker add vis auto --host iobroker --debug Installing iobroker.vis@1.4.15... (System call) npm ERR! code 6npm ERR! path /opt/iobroker/node_modules/iobroker.vis host.iobroker Cannot install iobroker.vis@1.4.15: 6 ERROR: Process exited with code 25
-
@kaschperle83 sagte in Fehler bei vis Installation nach restore:
ich habe auf Grund einiger Probleme mit node und npm mein System neu aufgesetzt.
Die wäre ich ja an deiner Stelle angegangen, statt einer Neuinstallation...
vis-Backup: Ältere Version installieren und dann da das Backup drüber legen war soweit ich weiß die Lösung.
Zusätzlich noch:
https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8 -
@thomas-braun die ältere Version hat geklappt. Danke.
-
@thomas-braun Moin,
Ich habe mich heute auch dazu entschieden, mein Raspberry OS auf Bullseye upzudaten. Dazu habe ich den PI komplett neu aufgesetzt.
Dann nach Anleitung ioBroker neu installiert und via Backitup alle zurück gespielt. Der erste Versuch ging in die Hose, weil ich vorher REDIS nicht installiert hatte. Beim 2. Mal hat es dann geklappt. Leider funktioniert jetzt aber der VIS-Adapter nicht mehr.
Ich kann auch nichts dazu finden, wie ich den aktuellen Adapter auf eine vorherige Version downgrade. Irgendwie stehe ich gerade im Wald....
Vielleicht kann mir hier jemand auf die Sprünge helfen.
1 Zeit debug Nachricht host.raspberrypi 2022-09-15 16:43:30.324 error Cannot download and install adapter "vis@1.4.15". To retry it disable/enable the adapter or restart host. Also check the error messages in the log! host.raspberrypi 2022-09-15 16:43:29.823 error Cannot download and install adapter "sourceanalytix@0.4.12". To retry it disable/enable the adapter or restart host. Also check the error messages in the log! host.raspberrypi 2022-09-15 16:43:28.822 info iobroker npm-install: exit 25 host.raspberrypi 2022-09-15 16:43:27.772 error iobroker npm-install: host.raspberrypi Cannot install iobroker.vis@1.4.15: 6 vis.0 2022-09-15 16:43:26.902 warn Terminated (UNCAUGHT_EXCEPTION): Without reason vis.0 2022-09-15 16:43:26.900 info terminating vis.0 2022-09-15 16:43:26.395 error Not exists vis.0 2022-09-15 16:43:26.393 error Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21) vis.0 2022-09-15 16:43:26.390 error unhandled promise rejection: Not exists vis.0 2022-09-15 16:43:26.388 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). vis.0 2022-09-15 16:43:26.035 info vis license is OK. vis.0 2022-09-15 16:43:25.804 info starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.17.0, js-controller: 4.0.23 host.raspberrypi 2022-09-15 16:43:17.095 info iobroker npm-install: Installing iobroker.vis@1.4.15... (System call) host.raspberrypi 2022-09-15 16:43:17.094 info iobroker npm-install: NPM version: 8.15.0 host.raspberrypi 2022-09-15 16:43:13.531 info iobroker install vis@1.4.15 using installedVersion host.raspberrypi 2022-09-15 16:43:13.530 warn startInstance cannot find adapter "vis@1.4.15". Try to install it... 4 attempt host.raspberrypi 2022-09-15 16:43:12.529 info iobroker npm-install: exit 12 host.raspberrypi 2022-09-15 16:43:11.491 error iobroker npm-install: host.raspberrypi Unknown packetName sourceanalytix. Please install packages from outside the repository using npm! host.raspberrypi 2022-09-15 16:43:09.106 info iobroker install sourceanalytix@0.4.12 using installedVersion host.raspberrypi 2022-09-15 16:43:09.105 warn startInstance cannot find adapter "sourceanalytix@0.4.12". Try to install it... 4 attempt host.raspberrypi 2022-09-15 16:43:08.105 info iobroker npm-install: exit 25 host.raspberrypi 2022-09-15 16:43:07.073 error iobroker npm-install: host.raspberrypi Cannot install iobroker.vis@1.4.15: 6 vis.0 2022-09-15 16:43:06.079 warn Terminated (UNCAUGHT_EXCEPTION): Without reason vis.0 2022-09-15 16:43:06.078 info terminating vis.0 2022-09-15 16:43:05.572 error Not exists vis.0 2022-09-15 16:43:05.571 error Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21) vis.0 2022-09-15 16:43:05.567 error unhandled promise rejection: Not exists vis.0 2022-09-15 16:43:05.566 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). vis.0 2022-09-15 16:43:05.317 info vis license is OK. vis.0 2022-09-15 16:43:05.042 info starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.17.0, js-controller: 4.0.23 host.raspberrypi 2022-09-15 16:42:56.266 info iobroker npm-install: Installing iobroker.vis@1.4.15... (System call) host.raspberrypi 2022-09-15 16:42:56.264 info iobroker npm-install: NPM version: 8.15.0 host.raspberrypi 2022-09-15 16:42:52.579 info iobroker install vis@1.4.15 using installedVersion host.raspberrypi 2022-09-15 16:42:52.578 warn startInstance cannot find adapter "vis@1.4.15". Try to install it... 3 attempt host.raspberrypi 2022-09-15 16:42:51.575 info iobroker npm-install: exit 12 host.raspberrypi 2022-09-15 16:42:50.536 error iobroker npm-install: host.raspberrypi Unknown packetName sourceanalytix. Please install packages from outside the repository using npm! host.raspberrypi 2022-09-15 16:42:48.189 info iobroker install sourceanalytix@0.4.12 using installedVersion host.raspberrypi 2022-09-15 16:42:48.188 warn startInstance cannot find adapter "sourceanalytix@0.4.12". Try to install it... 3 attempt host.raspberrypi 2022-09-15 16:42:47.188 info iobroker npm-install: exit 25 host.raspberrypi 2022-09-15 16:42:46.158 error iobroker npm-install: host.raspberrypi Cannot install iobroker.vis@1.4.15: 6 vis.0 2022-09-15 16:42:45.275 warn Terminated (UNCAUGHT_EXCEPTION): Without reason vis.0 2022-09-15 16:42:45.274 info terminating vis.0 2022-09-15 16:42:44.770 error Not exists vis.0 2022-09-15 16:42:44.768 error Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21) vis.0 2022-09-15 16:42:44.765 error unhandled promise rejection: Not exists vis.0 2022-09-15 16:42:44.764 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). vis.0 2022-09-15 16:42:44.503 info vis license is OK. vis.0 2022-09-15 16:42:44.269 info starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.17.0, js-controller: 4.0.23 host.raspberrypi 2022-09-15 16:42:35.382 info iobroker npm-install: Installing iobroker.vis@1.4.15... (System call) host.raspberrypi 2022-09-15 16:42:35.380 info iobroker npm-install: NPM version: 8.15.0 host.raspberrypi 2022-09-15 16:42:31.862 info iobroker install vis@1.4.15 using installedFrom host.raspberrypi 2022-09-15 16:42:31.862 warn startInstance cannot find adapter "vis@1.4.15". Try to install it... 2 attempt host.raspberrypi 2022-09-15 16:42:30.861 info iobroker npm-install: exit 12 host.raspberrypi 2022-09-15 16:42:29.827 error iobroker npm-install: host.raspberrypi Unknown packetName sourceanalytix. Please install packages from outside the repository using npm! host.raspberrypi 2022-09-15 16:42:27.459 info iobroker install sourceanalytix@0.4.12 using installedFrom host.raspberrypi 2022-09-15 16:42:27.458 warn startInstance cannot find adapter "sourceanalytix@0.4.12". Try to install it... 2 attempt host.raspberrypi 2022-09-15 16:42:26.457 info iobroker npm-install: exit 25 host.raspberrypi 2022-09-15 16:42:25.426 error iobroker npm-install: host.raspberrypi Cannot install iobroker.vis@1.4.15: 6 vis.0 2022-09-15 16:42:24.528 warn Terminated (UNCAUGHT_EXCEPTION): Without reason vis.0 2022-09-15 16:42:24.527 info terminating vis.0 2022-09-15 16:42:24.022 error Not exists vis.0 2022-09-15 16:42:24.020 error Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21) vis.0 2022-09-15 16:42:24.016 error unhandled promise rejection: Not exists vis.0 2022-09-15 16:42:24.015 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). vis.0 2022-09-15 16:42:23.759 info vis license is OK. vis.0 2022-09-15 16:42:23.515 info starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.17.0, js-controller: 4.0.23 host.raspberrypi 2022-09-15 16:42:14.751 info iobroker npm-install: Installing iobroker.vis@1.4.15... (System call) host.raspberrypi 2022-09-15 16:42:14.748 info iobroker npm-install: NPM version: 8.15.0 host.raspberrypi 2022-09-15 16:42:11.165 info iobroker install vis@1.4.15 using installedFrom host.raspberrypi 2022-09-15 16:42:11.164 warn startInstance cannot find adapter "vis@1.4.15". Try to install it... 1 attempt host.raspberrypi 2022-09-15 16:42:10.163 info iobroker npm-install: exit 12 host.raspberrypi 2022-09-15 16:42:09.132 error iobroker npm-install: host.raspberrypi Unknown packetName sourceanalytix. Please install packages from outside the repository using npm! host.raspberrypi 2022-09-15 16:42:06.813 info iobroker install sourceanalytix@0.4.12 using installedFrom host.raspberrypi 2022-09-15 16:42:06.811 warn startInstance cannot find adapter "sourceanalytix@0.4.12". Try to install it... 1 attempt host.raspberrypi 2022-09-15 16:42:05.810 info iobroker npm-install: exit 25 host.raspberrypi 2022-09-15 16:42:04.786 error iobroker npm-install: host.raspberrypi Cannot install iobroker.vis@1.4.15: 6 vis.0 2022-09-15 16:42:03.932 warn Terminated (UNCAUGHT_EXCEPTION): Without reason vis.0 2022-09-15 16:42:03.930 info terminating vis.0 2022-09-15 16:42:03.422 error Not exists vis.0 2022-09-15 16:42:03.407 error Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21)  vis.0 2022-09-15 16:42:03.403 error unhandled promise rejection: Not exists vis.0 2022-09-15 16:42:03.401 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). host.raspberrypi 2022-09-15 16:42:03.210 info "system.adapter.vis.0" enabled vis.0 2022-09-15 16:42:02.974 info vis license is OK.
-
@jack01 sagte in Fehler bei vis Installation nach restore:
Dann nach Anleitung ioBroker neu installiert und via Backitup alle zurück gespielt. Der erste Versuch ging in die Hose, weil ich vorher REDIS nicht installiert hatte. Beim 2. Mal hat es dann geklappt. Leider funktioniert jetzt aber der VIS-Adapter nicht mehr.
Aufgrund eines Bugs muss im Moment vor dem Restore vis installiert werden
-
@homoran Das heißt, dass ich erst den VIS Adapter lösche, dann manuell neu installiere und dann nochmals ein Restore des gesamten Backups mach, ohne alle Adapter vorher zu löschen?
-
@jack01 OK, habe jetzt den VIS-Adapter gelöscht (und die dazugehörigen vis-widgets und symbole) und ihn dann neu installiert. Anschließend den Lizenzschlüssel eingegeben und die vorher gelöschten Widgets und Symbole wieder installiert. Jetzt scheint es wieder alles zu funktionieren. Nur beim Restore der Influx Daten zeigt er an, dass die Daten aus dem Speicherort geladen werden. Es passiert aber scheinbar nichts (oder muß ich hier sehr, sehr lange warten?)
Die gesamte Prozedur hat jetzt 6 Stunden gedauert. Ich hoffe, dass mein System jetzt erstmal zukunftssicher ist......
-
@jack01 sagte in Fehler bei vis Installation nach restore:
Die gesamte Prozedur hat jetzt 6 Stunden gedauert.
Beim nächsten mal dauert ein gemütliches Stündchen.
-
@jack01 sagte in Fehler bei vis Installation nach restore:
habe jetzt den VIS-Adapter gelöscht (und die dazugehörigen vis-widgets und symbole) und ihn dann neu installiert.
Hätte auch gereicht, einfach v 1.4.0 zu installieren und anschliessend wieder hoch auf die aktuelle