ioBroker / ioBroker.zigbee

Zigbee communcation with Hue, Xiaomi, Lighttify... via TI CC2xxx USB stick
MIT License
314 stars 190 forks source link

Unable to upgrade from 1.7.5 to 1.7.6 #1505

Closed LastPerfectTobi closed 2 years ago

LastPerfectTobi commented 2 years ago

When I start upgrade of zigbee on ioBroker WebUI the Adapter version 1.7.6 can't be installed and returns errorcode 25.

Zigbee: 1.7.5 NPM: 8.11.0 Node.JS: 16.15.1 Admin: 6.2.14

2022-08-14 11:28:55.096 - info: host.raspberrypi iobroker upgrade zigbee
2022-08-14 11:28:59.161 - info: host.raspberrypi iobroker Update zigbee from @1.7.5 to @1.7.6
2022-08-14 11:28:59.269 - info: host.raspberrypi iobroker host.raspberrypi Adapter "system.adapter.zigbee.0" is stopped.
2022-08-14 11:28:59.309 - info: host.raspberrypi "system.adapter.zigbee.0" disabled
2022-08-14 11:28:59.311 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 (force=false, process=true)
2022-08-14 11:28:59.323 - silly: zigbee.0 (1810) States system redis pmessage system.adapter.zigbee.0.sigKill/system.adapter.zigbee.0.sigKill:{"val":-1,"ack":false,"ts":1660469339317,"q":0,"from":"system.host.raspberrypi","lc":1660469339317}
2022-08-14 11:28:59.453 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 send kill signal
2022-08-14 11:28:59.324 - info: zigbee.0 (1810) Got terminate signal TERMINATE_YOURSELF
2022-08-14 11:28:59.326 - info: zigbee.0 (1810) cleaned everything up...
2022-08-14 11:28:59.329 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x000d6f000f84252c = false
2022-08-14 11:28:59.334 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x000d6f000f84252c = 0
2022-08-14 11:28:59.338 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x00158d000404f954 = false
2022-08-14 11:28:59.342 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x00158d000404f954 = 0
2022-08-14 11:28:59.346 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x00158d00029048cd = false
2022-08-14 11:28:59.349 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x00158d00029048cd = 0
2022-08-14 11:28:59.353 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x00158d0006e1e019 = false
2022-08-14 11:28:59.356 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x00158d0006e1e019 = 0
2022-08-14 11:28:59.360 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x00158d000534ddc5 = false
2022-08-14 11:28:59.362 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x00158d000534ddc5 = 0
2022-08-14 11:28:59.365 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x00158d00048300ec = false
2022-08-14 11:28:59.367 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x00158d00048300ec = 0
2022-08-14 11:28:59.370 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x00158d0004abda41 = false
2022-08-14 11:28:59.373 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x00158d0004abda41 = 0
2022-08-14 11:28:59.376 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x04cf8cdf3c7f13b0 = false
2022-08-14 11:28:59.378 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x04cf8cdf3c7f13b0 = 0
2022-08-14 11:28:59.382 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x00158d00031b4171 = false
2022-08-14 11:28:59.385 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x00158d00031b4171 = 0
2022-08-14 11:28:59.388 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x04cf8cdf3c8a231a = false
2022-08-14 11:28:59.391 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x04cf8cdf3c8a231a = 0
2022-08-14 11:28:59.395 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x00158d0006d4df67 = false
2022-08-14 11:28:59.402 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x00158d0006d4df67 = 0
2022-08-14 11:28:59.406 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x00158d000534e11f = false
2022-08-14 11:28:59.408 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x00158d000534e11f = 0
2022-08-14 11:28:59.411 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x00158d0003d14e4b = false
2022-08-14 11:28:59.414 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x00158d0003d14e4b = 0
2022-08-14 11:28:59.419 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x0017880102134761 = false
2022-08-14 11:28:59.425 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x0017880102134761 = 0
2022-08-14 11:28:59.428 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x000d6f000fbd8e7e = false
2022-08-14 11:28:59.431 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x000d6f000fbd8e7e = 0
2022-08-14 11:28:59.434 - debug: zigbee.0 (1810) DeviceAvailability:Publish available for 0x00158d0007e1db46 = false
2022-08-14 11:28:59.439 - debug: zigbee.0 (1810) DeviceAvailability:Publish LQ for 0x00158d0007e1db46 = 0
2022-08-14 11:28:59.444 - info: zigbee.0 (1810) Zigbee: disabling joining new devices.
2022-08-14 11:28:59.572 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.000d6f000f84252c.available:{"val":false,"ack":true,"ts":1660469339557,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339557}
2022-08-14 11:28:59.573 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.000d6f000f84252c.link_quality:{"val":0,"ack":true,"ts":1660469339561,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339561}
2022-08-14 11:28:59.574 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d0006e1e019.available:{"val":false,"ack":true,"ts":1660469339561,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339561}
2022-08-14 11:28:59.577 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d0006e1e019.link_quality:{"val":0,"ack":true,"ts":1660469339561,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339561}
2022-08-14 11:28:59.611 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d000534ddc5.available:{"val":false,"ack":true,"ts":1660469339571,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339571}
2022-08-14 11:28:59.613 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d000534ddc5.link_quality:{"val":0,"ack":true,"ts":1660469339571,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339571}
2022-08-14 11:28:59.613 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d00048300ec.available:{"val":false,"ack":true,"ts":1660469339578,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339578}
2022-08-14 11:28:59.614 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d00048300ec.link_quality:{"val":0,"ack":true,"ts":1660469339579,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339579}
2022-08-14 11:28:59.615 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d0004abda41.available:{"val":false,"ack":true,"ts":1660469339579,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339579}
2022-08-14 11:28:59.616 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d0004abda41.link_quality:{"val":0,"ack":true,"ts":1660469339579,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339579}
2022-08-14 11:28:59.616 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.04cf8cdf3c7f13b0.available:{"val":false,"ack":true,"ts":1660469339580,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339580}
2022-08-14 11:28:59.635 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.04cf8cdf3c7f13b0.link_quality:{"val":0,"ack":true,"ts":1660469339580,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339580}
2022-08-14 11:28:59.636 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d00031b4171.available:{"val":false,"ack":true,"ts":1660469339580,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339580}
2022-08-14 11:28:59.636 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d00031b4171.link_quality:{"val":0,"ack":true,"ts":1660469339581,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339581}
2022-08-14 11:28:59.645 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.04cf8cdf3c8a231a.available:{"val":false,"ack":true,"ts":1660469339581,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339581}
2022-08-14 11:28:59.645 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.04cf8cdf3c8a231a.link_quality:{"val":0,"ack":true,"ts":1660469339581,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339581}
2022-08-14 11:28:59.646 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d000534e11f.available:{"val":false,"ack":true,"ts":1660469339582,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339582}
2022-08-14 11:28:59.647 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d000534e11f.link_quality:{"val":0,"ack":true,"ts":1660469339583,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339583}
2022-08-14 11:28:59.648 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d0003d14e4b.available:{"val":false,"ack":true,"ts":1660469339585,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339585}
2022-08-14 11:28:59.648 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d0003d14e4b.link_quality:{"val":0,"ack":true,"ts":1660469339585,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339585}
2022-08-14 11:28:59.649 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.0017880102134761.available:{"val":false,"ack":true,"ts":1660469339586,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339586}
2022-08-14 11:28:59.656 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.0017880102134761.link_quality:{"val":0,"ack":true,"ts":1660469339586,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339586}
2022-08-14 11:28:59.656 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.000d6f000fbd8e7e.available:{"val":false,"ack":true,"ts":1660469339586,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339586}
2022-08-14 11:28:59.657 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.000d6f000fbd8e7e.link_quality:{"val":0,"ack":true,"ts":1660469339587,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339587}
2022-08-14 11:28:59.658 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d0007e1db46.available:{"val":false,"ack":true,"ts":1660469339587,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339587}
2022-08-14 11:28:59.669 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d0007e1db46.link_quality:{"val":0,"ack":true,"ts":1660469339587,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339587}
2022-08-14 11:28:59.670 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d000404f954.available:{"val":false,"ack":true,"ts":1660469339587,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339587}
2022-08-14 11:28:59.671 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d000404f954.link_quality:{"val":0,"ack":true,"ts":1660469339588,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339588}
2022-08-14 11:28:59.674 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d00029048cd.available:{"val":false,"ack":true,"ts":1660469339588,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339588}
2022-08-14 11:28:59.675 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d00029048cd.link_quality:{"val":0,"ack":true,"ts":1660469339588,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339588}
2022-08-14 11:28:59.676 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d0006d4df67.available:{"val":false,"ack":true,"ts":1660469339589,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339589}
2022-08-14 11:28:59.677 - silly: zigbee.0 (1810) States user redis pmessage zigbee.0.*/zigbee.0.00158d0006d4df67.link_quality:{"val":0,"ack":true,"ts":1660469339589,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1660469339589}
2022-08-14 11:28:59.828 - info: zigbee.0 (1810) terminating
2022-08-14 11:28:59.829 - debug: zigbee.0 (1810) Plugin sentry destroyed
2022-08-14 11:28:59.829 - info: zigbee.0 (1810) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2022-08-14 11:29:00.580 - info: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2022-08-14 11:29:01.009 - info: host.raspberrypi iobroker NPM version: 8.11.0
2022-08-14 11:29:01.012 - info: host.raspberrypi iobroker Installing iobroker.zigbee@1.7.6... (System call)
2022-08-14 11:29:20.635 - error: host.raspberrypi iobroker host.raspberrypi Cannot install iobroker.zigbee@1.7.6: 217
2022-08-14 11:29:21.734 - info: host.raspberrypi iobroker exit 25
Apollon77 commented 2 years ago

Please execute the upgrade command on CLI with a "--debug" at the end ... then you see the npm error leading to it. Hads nothing to do with the adapter itself

LastPerfectTobi commented 2 years ago

This is the result of the command with --debug:

pi@raspberrypi:/opt/iobroker $ iobroker upgrade zigbee --debug

This upgrade of "zigbee" will introduce the following changes:
==========================================================================
-> 1.7.6:
ikea fix
==========================================================================

Would you like to upgrade zigbee from @1.7.5 to @1.7.6 now? [(y)es, (n)o]: y
Update zigbee from @1.7.5 to @1.7.6
host.raspberrypi Adapter "system.adapter.zigbee.0" is stopped.
NPM version: 8.11.0
Installing iobroker.zigbee@1.7.6... (System call)
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /opt/iobroker/node_modules/iobroker.zigbee
npm ERR! dest /opt/iobroker/node_modules/.iobroker.zigbee-1JQaSLfT
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.zigbee' -> '/opt/iobroker/node_modules/.iobroker.zigbee-1JQaSLfT'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/iobroker/.npm/_logs/2022-08-14T11_01_29_615Z-debug-0.log
host.raspberrypi Cannot install iobroker.zigbee@1.7.6: 217

And this is in the logfile:

0 verbose cli /usr/bin/node /usr/bin/npm
1 info using npm@8.11.0
2 info using node@v16.15.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 10ms
6 timing config:load:builtin Completed in 10ms
7 timing config:load:cli Completed in 6ms
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 4ms
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 3ms
17 timing config:load:setEnvs Completed in 3ms
18 timing config:load Completed in 37ms
19 timing npm:load:configload Completed in 38ms
20 timing npm:load:mkdirpcache Completed in 2ms
21 timing npm:load:mkdirplogs Completed in 0ms
22 verbose title npm install iobroker.zigbee@1.7.6
23 verbose argv "install" "--save-exact" "iobroker.zigbee@1.7.6"
24 timing npm:load:setTitle Completed in 3ms
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-08-14T11_01_29_615Z-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 75ms
33 timing arborist:ctor Completed in 3ms
34 silly logfile start cleaning logs, removing 2 files
35 silly logfile done cleaning log files
36 timing idealTree:init Completed in 3834ms
37 timing idealTree:userRequests Completed in 36ms
38 silly idealTree buildDeps
39 silly fetch manifest iobroker.zigbee@1.7.6
40 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.sql
41 http fetch GET 200 https://registry.npmjs.org/iobroker.zigbee 5646ms (cache revalidated)
42 silly placeDep ROOT iobroker.zigbee@1.7.6 REPLACE for: iobroker.inst@2.0.3 want: 1.7.6
43 silly fetch manifest zigbee-herdsman@0.14.46
44 silly fetch manifest zigbee-herdsman-converters@14.0.575
45 http fetch GET 200 https://registry.npmjs.org/zigbee-herdsman 277ms (cache revalidated)
46 http fetch GET 200 https://registry.npmjs.org/zigbee-herdsman-converters 360ms (cache revalidated)
47 timing idealTree:#root Completed in 6093ms
48 silly placeDep ROOT zigbee-herdsman@0.14.46 OK for: iobroker.zigbee@1.7.6 want: 0.14.46
49 silly placeDep ROOT zigbee-herdsman-converters@14.0.575 OK for: iobroker.zigbee@1.7.6 want: 14.0.575
50 silly fetch manifest debounce@^1.2.1
51 silly fetch manifest debug@^4.3.4
52 silly fetch manifest fast-deep-equal@^3.1.3
53 silly fetch manifest mixin-deep@^2.0.1
54 silly fetch manifest mz@^2.7.0
55 silly fetch manifest serialport@9.2.8
56 silly fetch manifest slip@^1.0.2
57 silly fetch manifest axios@^0.27.2
58 http fetch GET 200 https://registry.npmjs.org/debug 119ms (cache revalidated)
59 http fetch GET 200 https://registry.npmjs.org/debounce 124ms (cache revalidated)
60 http fetch GET 200 https://registry.npmjs.org/mixin-deep 176ms (cache revalidated)
61 http fetch GET 200 https://registry.npmjs.org/mz 181ms (cache revalidated)
62 http fetch GET 200 https://registry.npmjs.org/fast-deep-equal 192ms (cache revalidated)
63 http fetch GET 200 https://registry.npmjs.org/axios 193ms (cache revalidated)
64 http fetch GET 200 https://registry.npmjs.org/serialport 850ms (cache revalidated)
65 http fetch GET 200 https://registry.npmjs.org/slip 872ms (cache revalidated)
66 timing idealTree:node_modules/iobroker.zigbee Completed in 903ms
67 silly placeDep ROOT debounce@1.2.1 OK for: zigbee-herdsman@0.14.46 want: ^1.2.1
68 silly placeDep node_modules/zigbee-herdsman debug@4.3.4 OK for: zigbee-herdsman@0.14.46 want: ^4.3.4
69 silly placeDep ROOT fast-deep-equal@3.1.3 REPLACE for: zigbee-herdsman@0.14.46 want: ^3.1.3
70 silly placeDep ROOT mixin-deep@2.0.1 OK for: zigbee-herdsman@0.14.46 want: ^2.0.1
71 silly placeDep ROOT mz@2.7.0 OK for: zigbee-herdsman@0.14.46 want: ^2.7.0
72 silly placeDep node_modules/zigbee-herdsman serialport@9.2.8 OK for: zigbee-herdsman@0.14.46 want: 9.2.8
73 silly placeDep ROOT slip@1.0.2 OK for: zigbee-herdsman@0.14.46 want: ^1.0.2
74 silly fetch manifest ms@2.1.2
75 silly fetch manifest any-promise@^1.0.0
76 silly fetch manifest thenify-all@^1.0.0
77 silly fetch manifest @serialport/binding-mock@9.2.4
78 silly fetch manifest @serialport/bindings@9.2.8
79 silly fetch manifest @serialport/parser-byte-length@9.2.4
80 silly fetch manifest @serialport/parser-cctalk@9.2.4
81 silly fetch manifest @serialport/parser-delimiter@9.2.4
82 silly fetch manifest @serialport/parser-inter-byte-timeout@9.2.4
83 silly fetch manifest @serialport/parser-readline@9.2.4
84 silly fetch manifest @serialport/parser-ready@9.2.4
85 silly fetch manifest @serialport/parser-regex@9.2.4
86 silly fetch manifest @serialport/stream@9.2.4
87 http fetch GET 200 https://registry.npmjs.org/thenify-all 164ms (cache revalidated)
88 http fetch GET 200 https://registry.npmjs.org/ms 169ms (cache revalidated)
89 http fetch GET 200 https://registry.npmjs.org/@serialport%2fparser-byte-length 177ms (cache revalidated)
90 http fetch GET 200 https://registry.npmjs.org/@serialport%2fbinding-mock 209ms (cache revalidated)
91 http fetch GET 200 https://registry.npmjs.org/@serialport%2fbindings 211ms (cache revalidated)
92 http fetch GET 200 https://registry.npmjs.org/any-promise 229ms (cache revalidated)
93 http fetch GET 200 https://registry.npmjs.org/@serialport%2fparser-cctalk 223ms (cache revalidated)
94 http fetch GET 200 https://registry.npmjs.org/@serialport%2fparser-readline 267ms (cache revalidated)
95 http fetch GET 200 https://registry.npmjs.org/@serialport%2fparser-ready 277ms (cache revalidated)
96 http fetch GET 200 https://registry.npmjs.org/@serialport%2fstream 284ms (cache revalidated)
97 http fetch GET 200 https://registry.npmjs.org/@serialport%2fparser-regex 302ms (cache revalidated)
98 http fetch GET 200 https://registry.npmjs.org/@serialport%2fparser-inter-byte-timeout 314ms (cache revalidated)
99 http fetch GET 200 https://registry.npmjs.org/@serialport%2fparser-delimiter 562ms (cache revalidated)
100 timing idealTree:node_modules/zigbee-herdsman Completed in 625ms
101 timing idealTree:node_modules/debounce Completed in 0ms
102 timing idealTree:node_modules/fast-deep-equal Completed in 0ms
103 timing idealTree:node_modules/mixin-deep Completed in 0ms
104 silly placeDep ROOT any-promise@1.3.0 OK for: mz@2.7.0 want: ^1.0.0
105 silly placeDep ROOT thenify-all@1.6.0 OK for: mz@2.7.0 want: ^1.0.0
106 silly fetch manifest thenify@>= 3.1.0 < 4
107 http fetch GET 200 https://registry.npmjs.org/thenify 53ms (cache revalidated)
108 timing idealTree:node_modules/mz Completed in 67ms
109 timing idealTree:node_modules/any-promise Completed in 1ms
110 timing idealTree:node_modules/slip Completed in 0ms
111 silly placeDep ROOT thenify@3.3.1 OK for: thenify-all@1.6.0 want: >= 3.1.0 < 4
112 timing idealTree:node_modules/thenify-all Completed in 6ms
113 timing idealTree:node_modules/thenify Completed in 0ms
114 silly placeDep node_modules/zigbee-herdsman-converters axios@0.27.2 OK for: zigbee-herdsman-converters@14.0.575 want: ^0.27.2
115 silly fetch manifest form-data@^4.0.0
116 http fetch GET 200 https://registry.npmjs.org/form-data 93ms (cache revalidated)
117 timing idealTree:node_modules/zigbee-herdsman-converters Completed in 102ms
118 silly placeDep node_modules/zigbee-herdsman-converters form-data@4.0.0 OK for: axios@0.27.2 want: ^4.0.0
119 timing idealTree:node_modules/zigbee-herdsman-converters/node_modules/axios Completed in 9ms
120 timing idealTree:node_modules/zigbee-herdsman-converters/node_modules/form-data Completed in 1ms
121 silly placeDep node_modules/zigbee-herdsman ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
122 timing idealTree:node_modules/zigbee-herdsman/node_modules/debug Completed in 5ms
123 timing idealTree:node_modules/zigbee-herdsman/node_modules/ms Completed in 1ms
124 silly placeDep ROOT @serialport/binding-mock@9.2.4 OK for: serialport@9.2.8 want: 9.2.4
125 silly placeDep ROOT @serialport/bindings@9.2.8 OK for: serialport@9.2.8 want: 9.2.8
126 silly placeDep ROOT @serialport/parser-byte-length@9.2.4 OK for: serialport@9.2.8 want: 9.2.4
127 silly placeDep ROOT @serialport/parser-cctalk@9.2.4 OK for: serialport@9.2.8 want: 9.2.4
128 silly placeDep ROOT @serialport/parser-delimiter@9.2.4 OK for: serialport@9.2.8 want: 9.2.4
129 silly placeDep ROOT @serialport/parser-inter-byte-timeout@9.2.4 OK for: serialport@9.2.8 want: 9.2.4
130 silly placeDep ROOT @serialport/parser-readline@9.2.4 OK for: serialport@9.2.8 want: 9.2.4
131 silly placeDep ROOT @serialport/parser-ready@9.2.4 OK for: serialport@9.2.8 want: 9.2.4
132 silly placeDep ROOT @serialport/parser-regex@9.2.4 OK for: serialport@9.2.8 want: 9.2.4
133 silly placeDep ROOT @serialport/stream@9.2.4 OK for: serialport@9.2.8 want: 9.2.4
134 silly fetch manifest @serialport/binding-abstract@9.2.3
135 silly fetch manifest debug@^4.3.2
136 silly fetch manifest nan@^2.15.0
137 silly fetch manifest prebuild-install@^7.0.0
138 http fetch GET 200 https://registry.npmjs.org/nan 70ms (cache revalidated)
139 http fetch GET 200 https://registry.npmjs.org/prebuild-install 78ms (cache revalidated)
140 http fetch GET 200 https://registry.npmjs.org/@serialport%2fbinding-abstract 470ms (cache revalidated)
141 timing idealTree:node_modules/zigbee-herdsman/node_modules/serialport Completed in 557ms
142 silly placeDep ROOT @serialport/binding-abstract@9.2.3 OK for: @serialport/binding-mock@9.2.4 want: 9.2.3
143 silly placeDep node_modules/@serialport/binding-mock debug@4.3.4 OK for: @serialport/binding-mock@9.2.4 want: ^4.3.2
144 timing idealTree:node_modules/@serialport/binding-mock Completed in 9ms
145 silly placeDep node_modules/@serialport/binding-abstract debug@4.3.4 OK for: @serialport/binding-abstract@9.2.3 want: ^4.3.2
146 timing idealTree:node_modules/@serialport/binding-abstract Completed in 3ms
147 silly placeDep node_modules/@serialport/bindings debug@4.3.4 OK for: @serialport/bindings@9.2.8 want: ^4.3.2
148 silly placeDep ROOT nan@2.16.0 REPLACE for: @serialport/bindings@9.2.8 want: ^2.15.0
149 silly placeDep ROOT prebuild-install@7.1.1 OK for: @serialport/bindings@9.2.8 want: ^7.0.0
150 silly fetch manifest detect-libc@^2.0.0
151 silly fetch manifest expand-template@^2.0.3
152 silly fetch manifest github-from-package@0.0.0
153 silly fetch manifest napi-build-utils@^1.0.1
154 silly fetch manifest node-abi@^3.3.0
155 silly fetch manifest simple-get@^4.0.0
156 http fetch GET 200 https://registry.npmjs.org/expand-template 75ms (cache revalidated)
157 http fetch GET 200 https://registry.npmjs.org/detect-libc 89ms (cache revalidated)
158 http fetch GET 200 https://registry.npmjs.org/napi-build-utils 90ms (cache revalidated)
159 http fetch GET 200 https://registry.npmjs.org/node-abi 95ms (cache revalidated)
160 http fetch GET 200 https://registry.npmjs.org/simple-get 97ms (cache revalidated)
161 http fetch GET 200 https://registry.npmjs.org/github-from-package 258ms (cache revalidated)
162 timing idealTree:node_modules/@serialport/bindings Completed in 283ms
163 timing idealTree:node_modules/@serialport/parser-byte-length Completed in 0ms
164 timing idealTree:node_modules/@serialport/parser-cctalk Completed in 0ms
165 timing idealTree:node_modules/@serialport/parser-delimiter Completed in 0ms
166 timing idealTree:node_modules/@serialport/parser-inter-byte-timeout Completed in 0ms
167 timing idealTree:node_modules/@serialport/parser-readline Completed in 0ms
168 timing idealTree:node_modules/@serialport/parser-ready Completed in 0ms
169 timing idealTree:node_modules/@serialport/parser-regex Completed in 0ms
170 silly placeDep node_modules/@serialport/stream debug@4.3.4 OK for: @serialport/stream@9.2.4 want: ^4.3.2
171 timing idealTree:node_modules/@serialport/stream Completed in 7ms
172 timing idealTree:node_modules/nan Completed in 0ms
173 silly placeDep ROOT detect-libc@2.0.1 OK for: prebuild-install@7.1.1 want: ^2.0.0
174 silly placeDep ROOT expand-template@2.0.3 OK for: prebuild-install@7.1.1 want: ^2.0.3
175 silly placeDep ROOT github-from-package@0.0.0 OK for: prebuild-install@7.1.1 want: 0.0.0
176 silly placeDep ROOT napi-build-utils@1.0.2 OK for: prebuild-install@7.1.1 want: ^1.0.1
177 silly placeDep ROOT node-abi@3.24.0 OK for: prebuild-install@7.1.1 want: ^3.3.0
178 silly placeDep node_modules/prebuild-install simple-get@4.0.1 OK for: prebuild-install@7.1.1 want: ^4.0.0
179 silly fetch manifest semver@^7.3.5
180 silly fetch manifest decompress-response@^6.0.0
181 http fetch GET 200 https://registry.npmjs.org/semver 73ms (cache revalidated)
182 http fetch GET 200 https://registry.npmjs.org/decompress-response 78ms (cache revalidated)
183 timing idealTree:node_modules/prebuild-install Completed in 140ms
184 timing idealTree:node_modules/detect-libc Completed in 0ms
185 timing idealTree:node_modules/expand-template Completed in 0ms
186 timing idealTree:node_modules/github-from-package Completed in 0ms
187 timing idealTree:node_modules/napi-build-utils Completed in 0ms
188 silly placeDep node_modules/node-abi semver@7.3.7 OK for: node-abi@3.24.0 want: ^7.3.5
189 timing idealTree:node_modules/node-abi Completed in 4ms
190 silly placeDep node_modules/@serialport/binding-abstract ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
191 timing idealTree:node_modules/@serialport/binding-abstract/node_modules/debug Completed in 3ms
192 timing idealTree:node_modules/@serialport/binding-abstract/node_modules/ms Completed in 0ms
193 silly placeDep node_modules/@serialport/binding-mock ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
194 timing idealTree:node_modules/@serialport/binding-mock/node_modules/debug Completed in 3ms
195 timing idealTree:node_modules/@serialport/binding-mock/node_modules/ms Completed in 0ms
196 silly placeDep node_modules/@serialport/bindings ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
197 timing idealTree:node_modules/@serialport/bindings/node_modules/debug Completed in 3ms
198 timing idealTree:node_modules/@serialport/bindings/node_modules/ms Completed in 0ms
199 silly placeDep node_modules/@serialport/stream ms@2.1.2 OK for: debug@4.3.4 want: 2.1.2
200 timing idealTree:node_modules/@serialport/stream/node_modules/debug Completed in 4ms
201 timing idealTree:node_modules/@serialport/stream/node_modules/ms Completed in 0ms
202 timing idealTree:node_modules/node-abi/node_modules/semver Completed in 0ms
203 silly placeDep node_modules/prebuild-install decompress-response@6.0.0 OK for: simple-get@4.0.1 want: ^6.0.0
204 silly fetch manifest mimic-response@^3.1.0
205 http fetch GET 200 https://registry.npmjs.org/mimic-response 66ms (cache revalidated)
206 timing idealTree:node_modules/prebuild-install/node_modules/simple-get Completed in 73ms
207 silly placeDep node_modules/prebuild-install mimic-response@3.1.0 OK for: decompress-response@6.0.0 want: ^3.1.0
208 timing idealTree:node_modules/prebuild-install/node_modules/decompress-response Completed in 4ms
209 timing idealTree:node_modules/prebuild-install/node_modules/mimic-response Completed in 1ms
210 timing idealTree:buildDeps Completed in 8921ms
211 timing idealTree:fixDepFlags Completed in 68ms
212 timing idealTree Completed in 12911ms
213 timing reify:loadTrees Completed in 12914ms
214 timing reify:diffTrees Completed in 145ms
215 silly reify mark retired [ '/opt/iobroker/node_modules/are-we-there-yet' ]
216 silly reify mark retired [ '/opt/iobroker/node_modules/canvas/node_modules/nan' ]
217 silly reify mark retired [ '/opt/iobroker/node_modules/fast-deep-equal' ]
218 silly reify mark retired [ '/opt/iobroker/node_modules/gauge' ]
219 silly reify mark retired [ '/opt/iobroker/node_modules/github-from-package' ]
220 silly reify mark retired [ '/opt/iobroker/node_modules/iobroker.zigbee' ]
221 silly reify mark retired [ '/opt/iobroker/node_modules/nan' ]
222 silly reify mark retired [ '/opt/iobroker/node_modules/npmlog' ]
223 silly reify mark retired [ '/opt/iobroker/node_modules/slip' ]
224 silly reify mark retired [ '/opt/iobroker/node_modules/thenify-all' ]
225 silly reify mark retired [ '/opt/iobroker/node_modules/zigbee-herdsman' ]
226 silly reify mark retired [ '/opt/iobroker/node_modules/zigbee-herdsman-converters' ]
227 silly reify mark retired [
227 silly reify   '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/nan'
227 silly reify ]
228 silly reify mark retired [
228 silly reify   '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/detect-libc'
228 silly reify ]
229 silly reify mark retired [
229 silly reify   '/opt/iobroker/node_modules/@serialport/binding-abstract/node_modules/debug'
229 silly reify ]
230 silly reify mark retired [
230 silly reify   '/opt/iobroker/node_modules/@serialport/binding-mock/node_modules/debug'
230 silly reify ]
231 silly reify mark retired [
231 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/decompress-response'
231 silly reify ]
232 silly reify mark retired [
232 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/detect-libc'
232 silly reify ]
233 silly reify mark retired [
233 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/mimic-response'
233 silly reify ]
234 silly reify mark retired [ '/opt/iobroker/node_modules/@serialport/bindings/node_modules/nan' ]
235 silly reify mark retired [
235 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/node-abi'
235 silly reify ]
236 silly reify mark retired [
236 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/prebuild-install',
236 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.bin/prebuild-install'
236 silly reify ]
237 silly reify mark retired [
237 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/semver',
237 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.bin/semver'
237 silly reify ]
238 silly reify mark retired [
238 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/simple-get'
238 silly reify ]
239 silly reify mark retired [ '/opt/iobroker/node_modules/@serialport/stream/node_modules/debug' ]
240 silly reify moves {
240 silly reify   '/opt/iobroker/node_modules/are-we-there-yet': '/opt/iobroker/node_modules/.are-we-there-yet-9273yWZi',
240 silly reify   '/opt/iobroker/node_modules/canvas/node_modules/nan': '/opt/iobroker/node_modules/canvas/node_modules/.nan-6uQtm3kM',
240 silly reify   '/opt/iobroker/node_modules/fast-deep-equal': '/opt/iobroker/node_modules/.fast-deep-equal-Bpnykild',
240 silly reify   '/opt/iobroker/node_modules/gauge': '/opt/iobroker/node_modules/.gauge-hSQfCh9M',
240 silly reify   '/opt/iobroker/node_modules/github-from-package': '/opt/iobroker/node_modules/.github-from-package-IVYY4Wlh',
240 silly reify   '/opt/iobroker/node_modules/iobroker.zigbee': '/opt/iobroker/node_modules/.iobroker.zigbee-1JQaSLfT',
240 silly reify   '/opt/iobroker/node_modules/nan': '/opt/iobroker/node_modules/.nan-VJWFtQnQ',
240 silly reify   '/opt/iobroker/node_modules/npmlog': '/opt/iobroker/node_modules/.npmlog-BabU8SvR',
240 silly reify   '/opt/iobroker/node_modules/slip': '/opt/iobroker/node_modules/.slip-OVBIyeXx',
240 silly reify   '/opt/iobroker/node_modules/thenify-all': '/opt/iobroker/node_modules/.thenify-all-zsc9O7z8',
240 silly reify   '/opt/iobroker/node_modules/zigbee-herdsman': '/opt/iobroker/node_modules/.zigbee-herdsman-KZGHBvfL',
240 silly reify   '/opt/iobroker/node_modules/zigbee-herdsman-converters': '/opt/iobroker/node_modules/.zigbee-herdsman-converters-DzgWyYTV',
240 silly reify   '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/nan': '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/.nan-wER5ZTMR',
240 silly reify   '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/detect-libc': '/opt/iobroker/node_modules/@mapbox/node-pre-gyp/node_modules/.detect-libc-XY88dJ4K',
240 silly reify   '/opt/iobroker/node_modules/@serialport/binding-abstract/node_modules/debug': '/opt/iobroker/node_modules/@serialport/binding-abstract/node_modules/.debug-f1M18e15',
240 silly reify   '/opt/iobroker/node_modules/@serialport/binding-mock/node_modules/debug': '/opt/iobroker/node_modules/@serialport/binding-mock/node_modules/.debug-4cPVMQBs',
240 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/decompress-response': '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.decompress-response-6mWC9PRn',
240 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/detect-libc': '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.detect-libc-nMCnKc8O',
240 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/mimic-response': '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.mimic-response-gGtybmYe',
240 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/nan': '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.nan-Nx8lfHde',
240 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/node-abi': '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.node-abi-LnZeBi9y',
240 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/prebuild-install': '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.prebuild-install-SABh5rSN',
240 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.bin/prebuild-install': '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.bin/.prebuild-install-BEGI8jkZ',
240 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/semver': '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.semver-s0GUDGUn',
240 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.bin/semver': '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.bin/.semver-7qt6usIk',
240 silly reify   '/opt/iobroker/node_modules/@serialport/bindings/node_modules/simple-get': '/opt/iobroker/node_modules/@serialport/bindings/node_modules/.simple-get-NVPCK16G',
240 silly reify   '/opt/iobroker/node_modules/@serialport/stream/node_modules/debug': '/opt/iobroker/node_modules/@serialport/stream/node_modules/.debug-jFjowibp'
240 silly reify }
241 timing reify:rollback:retireShallow Completed in 23ms
242 timing command:install Completed in 13173ms
243 verbose stack Error: ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.zigbee' -> '/opt/iobroker/node_modules/.iobroker.zigbee-1JQaSLfT'
244 verbose cwd /opt/iobroker
245 verbose Linux 5.10.103-v7l+
246 verbose node v16.15.1
247 verbose npm  v8.11.0
248 error code ENOTEMPTY
249 error syscall rename
250 error path /opt/iobroker/node_modules/iobroker.zigbee
251 error dest /opt/iobroker/node_modules/.iobroker.zigbee-1JQaSLfT
252 error errno -39
253 error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.zigbee' -> '/opt/iobroker/node_modules/.iobroker.zigbee-1JQaSLfT'
254 verbose exit -39
255 timing npm Completed in 13448ms
256 verbose unfinished npm timer reify 1660474889886
257 verbose unfinished npm timer reify:retireShallow 1660474902987
258 verbose code -39
259 error A complete log of this run can be found in:
259 error     /home/iobroker/.npm/_logs/2022-08-14T11_01_29_615Z-debug-0.log
Apollon77 commented 2 years ago

npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.zigbee' -> '/opt/iobroker/node_modules/.iobroker.zigbee-1JQaSLfT'

remove the /opt/iobroker/node_modules/.iobroker.zigbee-1JQaSLfT' directory ... and then try again ... you most likely will get more such errors. In ioBroker Forum (I do not have the link at hands) there is also a shell "one liner" to remove all such crap stuff that npm left over