NEWS
Vis nach Backup nicht mehr aufrufbar
-
Ich habe bei meinen Eltern ein Backup des Iobrokers einspielen müssen. Seitdem geht die Visualisierung nicht mehr. Ich kann den Adapter weder löschen, noch kann ich ihn erneut installieren. Anbei ein Auszug aus dem Log:
host.raspberrypi 2022-11-23 17:59:20.483 error iobroker host.raspberrypi Cannot install iobroker.vis@1.4.15: 6 host.raspberrypi 2022-11-23 17:59:20.449 info iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-11-23T16_59_09_617Z-debug-0.log host.raspberrypi 2022-11-23 17:59:20.442 info iobroker npm ERR! command sh -c -- node main.js --install host.raspberrypi 2022-11-23 17:59:20.440 info iobroker npm ERR! command failed host.raspberrypi 2022-11-23 17:59:20.433 info iobroker npm ERR! path /opt/iobroker/node_modules/iobroker.vis host.raspberrypi 2022-11-23 17:59:20.429 info iobroker npm ERR! code 6 vis.0 2022-11-23 17:59:19.584 warn Terminated (UNCAUGHT_EXCEPTION): Without reason vis.0 2022-11-23 17:59:19.582 info terminating vis.0 2022-11-23 17:59:19.078 error Not exists vis.0 2022-11-23 17:59:19.076 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-11-23 17:59:19.074 error unhandled promise rejection: Not exists vis.0 2022-11-23 17:59:19.072 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().
-
@lustig29 sagte in Vis nach Backup nicht mehr aufrufbar:
/home/iobroker/.npm/_logs/2022-11-23T16_59_09_617Z-debug-0.log
Und was steht da drin?
-
@thomas-braun
Meinst du das hier,2022-11-23 18:13:39.277 - info: host.raspberrypi iobroker npm ERR! code 6 2022-11-23 18:13:39.278 - info: host.raspberrypi iobroker npm ERR! path /opt/iobroker/node_modules/iobroker.vis 2022-11-23 18:13:39.282 - info: host.raspberrypi iobroker npm ERR! command failed 2022-11-23 18:13:39.286 - info: host.raspberrypi iobroker npm ERR! command sh -c -- node main.js --install 2022-11-23 18:13:39.295 - info: host.raspberrypi iobroker 2022-11-23 18:13:39.299 - info: host.raspberrypi iobroker npm ERR! A complete log of this run can be found in: 2022-11-23 18:13:39.303 - info: host.raspberrypi iobroker npm ERR! /home/iobroker/.npm/_logs/2022-11-23T17_12_35_641Z-debug-0.log 2022-11-23 18:13:39.338 - error: host.raspberrypi iobroker host.raspberrypi Cannot install iobroker/ioBroker.vis: 6 2022-11-23 18:13:40.380 - info: host.raspberrypi iobroker exit 25
Oder kann ich mir das Log irgendwie anders anschauen?
-
@lustig29 sagte in Vis nach Backup nicht mehr aufrufbar:
/home/iobroker/.npm/_logs/2022-11-23T17_12_35_641Z-debug-0.log
Diese Datei.
Mitless -R /home/iobroker/.npm/_logs/2022-11-23T17_12_35_641Z-debug-0.log
geht's u. a.
-
bug-0.log 0 verbose cli /usr/bin/node /usr/bin/npm 1 info using npm@8.19.2 2 info using node@v16.18.1 3 timing npm:load:whichnode Completed in 1ms 4 timing config:load:defaults Completed in 5ms 5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 2ms 6 timing config:load:builtin Completed in 3ms 7 timing config:load:cli Completed in 10ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/opt/iobroker/.npmrc Completed in 3ms 10 timing config:load:project Completed in 25ms 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 1ms 15 timing config:load:validate Completed in 2ms 16 timing config:load:credentials Completed in 3ms 17 timing config:load:setEnvs Completed in 3ms 18 timing config:load Completed in 55ms 19 timing npm:load:configload Completed in 56ms 20 timing npm:load:mkdirpcache Completed in 2ms 21 timing npm:load:mkdirplogs Completed in 1ms 22 verbose title npm install iobroker/ioBroker.vis 23 verbose argv "install" "iobroker/ioBroker.vis" 24 timing npm:load:setTitle Completed in 4ms 25 timing config:load:flatten Completed in 9ms 26 timing npm:load:display Completed in 11ms 27 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs 28 verbose logfile /home/iobroker/.npm/_logs/2022-11-23T17_12_35_641Z-debug-0.log 29 timing npm:load:logFile Completed in 15ms 30 timing npm:load:timers Completed in 0ms 31 timing npm:load:configScope Completed in 0ms 32 timing npm:load Completed in 92ms 33 timing arborist:ctor Completed in 2ms 34 silly logfile start cleaning logs, removing 2 files 35 silly logfile done cleaning log files 36 timing idealTree:init Completed in 2884ms 37 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules 38 timing idealTree:userRequests Completed in 5233ms 39 silly idealTree buildDeps 40 silly fetch manifest iobroker.vis@iobroker/ioBroker.vis 41 silly placeDep ROOT iobroker.vis@1.4.15 OK for: iobroker.inst@3.0.0 want: iobroker/ioBroker.vis 42 silly fetch manifest axios@^1.1.3 43 http fetch GET 200 https://registry.npmjs.org/axios 240ms (cache revalidated) 44 timing idealTree:#root Completed in 3313ms 45 silly placeDep node_modules/iobroker.vis axios@1.2.0 OK for: iobroker.vis@1.4.15 want: ^1.1.3 46 timing idealTree:node_modules/iobroker.vis Completed in 9ms 47 timing idealTree:node_modules/iobroker.vis/node_modules/axios Completed in 0ms 48 timing idealTree:buildDeps Completed in 3326ms 49 timing idealTree:fixDepFlags Completed in 28ms 50 timing idealTree Completed in 11517ms 51 timing reify:loadTrees Completed in 11520ms 52 timing reify:diffTrees Completed in 99ms 53 silly reify moves {} 54 timing reify:retireShallow Completed in 4ms 55 timing reify:createSparse Completed in 8ms 56 timing reify:loadBundles Completed in 0ms 57 verbose reify failed optional dependency /opt/iobroker/node_modules/osx-temperature-sensor 58 silly reify mark deleted [ '/opt/iobroker/node_modules/osx-temperature-sensor' ] 59 verbose reify failed optional dependency /opt/iobroker/node_modules/fsevents 60 silly reify mark deleted [ '/opt/iobroker/node_modules/fsevents' ] 61 timing reifyNode:node_modules/osx-temperature-sensor Completed in 14ms :
-
Die Datei ist mit Sicherheit viel länger.
-
0 verbose cli /usr/bin/node /usr/bin/npm 1 info using npm@8.19.2 2 info using node@v16.18.1 3 timing npm:load:whichnode Completed in 1ms 4 timing config:load:defaults Completed in 5ms 5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 2ms 6 timing config:load:builtin Completed in 3ms 7 timing config:load:cli Completed in 10ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/opt/iobroker/.npmrc Completed in 3ms 10 timing config:load:project Completed in 25ms 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 1ms 15 timing config:load:validate Completed in 2ms 16 timing config:load:credentials Completed in 3ms 17 timing config:load:setEnvs Completed in 3ms 18 timing config:load Completed in 55ms 19 timing npm:load:configload Completed in 56ms 20 timing npm:load:mkdirpcache Completed in 2ms 21 timing npm:load:mkdirplogs Completed in 1ms 22 verbose title npm install iobroker/ioBroker.vis : 23 verbose argv "install" "iobroker/ioBroker.vis" 24 timing npm:load:setTitle Completed in 4ms 25 timing config:load:flatten Completed in 9ms 26 timing npm:load:display Completed in 11ms 27 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs 28 verbose logfile /home/iobroker/.npm/_logs/2022-11-23T17_12_35_641Z-debug-0.log 29 timing npm:load:logFile Completed in 15ms 30 timing npm:load:timers Completed in 0ms 31 timing npm:load:configScope Completed in 0ms 32 timing npm:load Completed in 92ms 33 timing arborist:ctor Completed in 2ms 34 silly logfile start cleaning logs, removing 2 files 35 silly logfile done cleaning log files 36 timing idealTree:init Completed in 2884ms 37 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules 38 timing idealTree:userRequests Completed in 5233ms 39 silly idealTree buildDeps 40 silly fetch manifest iobroker.vis@iobroker/ioBroker.vis 41 silly placeDep ROOT iobroker.vis@1.4.15 OK for: iobroker.inst@3.0.0 want: iobroker/ioBroker.vis 42 silly fetch manifest axios@^1.1.3 43 http fetch GET 200 https://registry.npmjs.org/axios 240ms (cache revalidated) 44 timing idealTree:#root Completed in 3313ms 45 silly placeDep node_modules/iobroker.vis axios@1.2.0 OK for: iobroker.vis@1.4.15 want: ^1.1.3 46 timing idealTree:node_modules/iobroker.vis Completed in 9ms 47 timing idealTree:node_modules/iobroker.vis/node_modules/axios Completed in 0ms 48 timing idealTree:buildDeps Completed in 3326ms 49 timing idealTree:fixDepFlags Completed in 28ms 50 timing idealTree Completed in 11517ms 51 timing reify:loadTrees Completed in 11520ms 52 timing reify:diffTrees Completed in 99ms 53 silly reify moves {} 54 timing reify:retireShallow Completed in 4ms 55 timing reify:createSparse Completed in 8ms 56 timing reify:loadBundles Completed in 0ms 57 verbose reify failed optional dependency /opt/iobroker/node_modules/osx-temperature-sensor 58 silly reify mark deleted [ '/opt/iobroker/node_modules/osx-temperature-sensor' ] 59 verbose reify failed optional dependency /opt/iobroker/node_modules/fsevents 60 silly reify mark deleted [ '/opt/iobroker/node_modules/fsevents' ] 61 timing reifyNode:node_modules/osx-temperature-sensor Completed in 14ms 62 timing reifyNode:node_modules/fsevents Completed in 14ms 63 silly tarball no local data for axios@https://registry.npmjs.org/axios/-/axios-1.2.0.tgz. Extracting by manifest. 64 http fetch GET 200 https://registry.npmjs.org/axios/-/axios-1.2.0.tgz 500ms (cache miss) 65 timing reifyNode:node_modules/iobroker.vis/node_modules/axios Completed in 536ms 66 http fetch GET 200 https://codeload.github.com/iobroker/ioBroker.vis/tar.gz/8d82d060c10d465201ad02099ea8846d10b53048 1945ms (cache miss) 67 timing reifyNode:node_modules/iobroker.vis Completed in 47558ms 68 timing reify:unpack Completed in 47560ms 69 timing reify:unretire Completed in 1ms 70 timing build:queue Completed in 99ms 71 info run iobroker.vis@1.4.15 install node_modules/iobroker.vis node main.js --install 72 info run iobroker.vis@1.4.15 install { code: 6, signal: null } 73 timing reify:rollback:createSparse Completed in 264ms 74 timing reify:rollback:retireShallow Completed in 1ms 75 timing command:install Completed in 63312ms 76 verbose stack Error: command failed 76 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27) 76 verbose stack at ChildProcess.emit (node:events:513:28) 76 verbose stack at maybeClose (node:internal/child_process:1100:16) 76 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) 77 verbose pkgid iobroker.vis@1.4.15 78 verbose cwd /opt/iobroker 79 verbose Linux 5.15.76-v8+ : 80 verbose node v16.18.1 81 verbose npm v8.19.2 82 error code 6 83 error path /opt/iobroker/node_modules/iobroker.vis 84 error command failed 85 error command sh -c -- node main.js --install 86 verbose exit 6 87 timing npm Completed in 63646ms 88 verbose unfinished npm timer reify 1669223555960 89 verbose unfinished npm timer reify:build 1669223615169 90 verbose unfinished npm timer build 1669223615172 91 verbose unfinished npm timer build:deps 1669223615173 92 verbose unfinished npm timer build:run:install 1669223615273 93 verbose unfinished npm timer build:run:install:node_modules/iobroker.vis 1669223615274 94 verbose code 6 95 error A complete log of this run can be found in: 95 error /home/iobroker/.npm/_logs/2022-11-23T17_12_35_641Z-debug-0.log (
-
Installier eine Vorversion von vis und update die dann.
-
@thomas-braun
Wie mache ich das? -
iobroker upgrade vis@1.4.0
-
@crunchip said in Vis nach Backup nicht mehr aufrufbar:
iobroker upgrade vis@1.4.0
Super, vielen Dank. Hat geklappt.