Systemdata | Bitte Ausfüllen |
---|---|
Hardwaresystem: | Pi4 |
Arbeitsspeicher: | 8GB |
Festplattenart: | SD-Karte 32 GB |
Betriebssystem: | Raspbian |
Node-Version: | v16.17.0 |
Nodejs-Version: | v16.17.0 |
NPM-Version: | 8.15.0 |
Installationsart: | Skript/Manuell |
Image genutzt: | Ja/Nein |
Ort/Name der Imagedatei: | Link |
Hallo Zusammen,
ich wollte von Admin 6.2.19 auf 6.2.20 über den Admin-Adapter updaten. Das hat nicht geklappt und hat irgendwas kaputt gemacht. Ich habe dann über die Konsole die Version 6.2.15 installiert und musste aber den Admin-Adapter manuell starten.
Grundsätzlich läuft er jetzt, aber er läßt sich nicht updaten, weder über Console noch über den Admin Adapter. Er bringt folgende Fehler im LOG. (gleicher Fehler, wenn ich gleich auf 6.2.20 gehe).
2022-09-04 14:47:20.142 - [32minfo[39m: host.raspberrypi iobroker Update admin from @6.2.15 to @6.2.19
2022-09-04 14:47:20.225 - [32minfo[39m: host.raspberrypi iobroker host.raspberrypi Adapter "system.adapter.admin.0" is stopped.
2022-09-04 14:47:20.308 - [32minfo[39m: admin.0 (21173) Adapter is disabled => stop
2022-09-04 14:47:20.310 - [32minfo[39m: admin.0 (21173) terminating http server on port 8081
2022-09-04 14:47:20.333 - [32minfo[39m: host.raspberrypi "system.adapter.admin.0" disabled
2022-09-04 14:47:20.335 - [32minfo[39m: host.raspberrypi stopInstance system.adapter.admin.0 (force=false, process=true)
2022-09-04 14:47:20.359 - [32minfo[39m: admin.0 (21173) Got terminate signal TERMINATE_YOURSELF
2022-09-04 14:47:20.364 - [32minfo[39m: admin.0 (21173) terminating
2022-09-04 14:47:20.368 - [32minfo[39m: host.raspberrypi stopInstance system.adapter.admin.0 send kill signal
2022-09-04 14:47:20.368 - [32minfo[39m: admin.0 (21173) Terminated (NO_ERROR): Without reason
2022-09-04 14:47:21.085 - [32minfo[39m: host.raspberrypi instance system.adapter.admin.0 terminated with code 0 (NO_ERROR)
2022-09-04 14:47:22.380 - [32minfo[39m: host.raspberrypi iobroker NPM version: 8.15.0
2022-09-04 14:47:22.390 - [32minfo[39m: host.raspberrypi iobroker Installing iobroker.admin@6.2.19... (System call)
2022-09-04 14:47:34.453 - [32minfo[39m: host.raspberrypi iobroker npm ERR! code ENOTEMPTY
2022-09-04 14:47:34.457 - [32minfo[39m: host.raspberrypi iobroker npm ERR! syscall rename
2022-09-04 14:47:34.460 - [32minfo[39m: host.raspberrypi iobroker npm ERR! path /opt/iobroker/node_modules/iobroker.adminnpm ERR! dest /opt/iobroker/node_modules/.iobroker.admin-TtUA2igknpm ERR! errno -39
2022-09-04 14:47:34.476 - [32minfo[39m: host.raspberrypi iobroker npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-09-04T12_47_24_104Z-debug-0.log
2022-09-04 14:47:34.517 - [31merror[39m: host.raspberrypi iobroker host.raspberrypi Cannot install iobroker.admin@6.2.19: 217
2022-09-04 14:47:35.555 - [32minfo[39m: host.raspberrypi iobroker exit 25
Ich hab mir dann /home/iobroker/.npm/_logs/2022-09-04T12_47_24_104Z-debug-0.log auch angeschaut. Aber da stehen nicht wirklich mehr Infos.
0 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 8ms
5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 3ms
6 timing config:load:builtin Completed in 5ms
7 timing config:load:cli Completed in 11ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:/opt/iobroker/.npmrc Completed in 3ms
10 timing config:load:project Completed in 6ms
11 timing config:load:file:/home/iobroker/.npmrc Completed in 0ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/usr/etc/npmrc Completed in 1ms
14 timing config:load:global Completed in 1ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 2ms
17 timing config:load:setEnvs Completed in 2ms
18 timing config:load Completed in 42ms
19 timing npm:load:configload Completed in 42ms
20 timing npm:load:mkdirpcache Completed in 2ms
21 timing npm:load:mkdirplogs Completed in 1ms
22 verbose title npm install iobroker.admin@6.2.19
23 verbose argv "install" "--save-exact" "iobroker.admin@6.2.19"
24 timing npm:load:setTitle Completed in 4ms
25 timing config:load:flatten Completed in 18ms
26 timing npm:load:display Completed in 21ms
27 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs
28 verbose logfile /home/iobroker/.npm/_logs/2022-09-04T12_47_24_104Z-debug-0.log
29 timing npm:load:logFile Completed in 22ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 1ms
32 timing npm:load Completed in 98ms
33 timing arborist:ctor Completed in 3ms
34 silly logfile start cleaning logs, removing 6 files
35 silly logfile done cleaning log files
36 timing idealTree:init Completed in 4756ms
37 timing idealTree:userRequests Completed in 50ms
38 silly idealTree buildDeps
39 silly fetch manifest iobroker.admin@6.2.19
40 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.js-controller
41 http fetch GET 200 https://registry.npmjs.org/iobroker.admin 3249ms (cache hit)
42 silly placeDep ROOT iobroker.admin@6.2.19 REPLACE for: iobroker.inst@3.0.0 want: 6.2.19
43 silly fetch manifest @iobroker/socket-classes@^0.5.3
44 http fetch GET 200 https://registry.npmjs.org/@iobroker%2fsocket-classes 1435ms (cache hit)
45 timing idealTree:#root Completed in 4779ms
46 silly placeDep ROOT @iobroker/socket-classes@0.5.3 OK for: iobroker.admin@6.2.19 want: ^0.5.3
47 silly fetch manifest passport@^0.6.0
48 silly fetch manifest axios@^0.27.2
49 http fetch GET 200 https://registry.npmjs.org/passport 24ms (cache hit)
50 http fetch GET 200 https://registry.npmjs.org/axios 27ms (cache hit)
51 timing idealTree:node_modules/iobroker.admin Completed in 40ms
52 silly placeDep node_modules/@iobroker/socket-classes axios@0.27.2 OK for: @iobroker/socket-classes@0.5.3 want: ^0.27.2
53 silly placeDep node_modules/@iobroker/socket-classes passport@0.6.0 OK for: @iobroker/socket-classes@0.5.3 want: ^0.6.0
54 silly fetch manifest form-data@^4.0.0
55 http fetch GET 200 https://registry.npmjs.org/form-data 12ms (cache hit)
56 timing idealTree:node_modules/@iobroker/socket-classes Completed in 23ms
57 silly placeDep node_modules/@iobroker/socket-classes form-data@4.0.0 OK for: axios@0.27.2 want: ^4.0.0
58 timing idealTree:node_modules/@iobroker/socket-classes/node_modules/axios Completed in 5ms
59 timing idealTree:node_modules/@iobroker/socket-classes/node_modules/form-data Completed in 0ms
60 timing idealTree:node_modules/@iobroker/socket-classes/node_modules/passport Completed in 0ms
61 timing idealTree:buildDeps Completed in 4854ms
62 timing idealTree:fixDepFlags Completed in 32ms
63 timing idealTree Completed in 9745ms
64 timing reify:loadTrees Completed in 9748ms
65 timing reify:diffTrees Completed in 106ms
66 silly reify mark retired [ '/opt/iobroker/node_modules/iobroker.admin' ]
67 silly reify mark retired [ '/opt/iobroker/node_modules/@iobroker/socket-classes' ]
68 silly reify moves {
68 silly reify '/opt/iobroker/node_modules/iobroker.admin': '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk',
68 silly reify '/opt/iobroker/node_modules/@iobroker/socket-classes': '/opt/iobroker/node_modules/@iobroker/.socket-classes-bdAChYMK'
68 silly reify }
69 timing reify:rollback:retireShallow Completed in 1ms
70 timing command:install Completed in 9924ms
71 verbose stack Error: ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'
72 verbose cwd /opt/iobroker
73 verbose Linux 5.10.103-v7l+
74 verbose node v16.17.0
75 verbose npm v8.15.0
76 error code ENOTEMPTY
77 error syscall rename
78 error path /opt/iobroker/node_modules/iobroker.admin
79 error dest /opt/iobroker/node_modules/.iobroker.admin-TtUA2igk
80 error errno -39
81 error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'
82 verbose exit -39
83 timing npm Completed in 10359ms
84 verbose unfinished npm timer reify 1662295644522
85 verbose unfinished npm timer reify:retireShallow 1662295654419
86 verbose code -39
87 error A complete log of this run can be found in:
87 error /home/iobroker/.npm/_logs/2022-09-04T12_47_24_104Z-debug-0.log
Jemand eine Idee wie ich das repariert bekomme?
Danke und Gruß