Hallo!
Habe heute versucht auf den js-controller 4.0.x upzugraden - leider bin ich gescheitert ... Habe mich durch die infos im thread garbeitet und auch einiges ausprobiert, jedoch haben alle Lösungen nicht funktioniert bzw. immer wieder zu demselben Problem / Error geführt:
pi@PI4IOBroker:/opt/iobroker $ iobroker upgrade self
Update js-controller from @3.1.6 to @4.0.21
NPM version: 7.24.2
npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
Objects 127.0.0.1:56176 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
States 127.0.0.1:43884 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
Objects 127.0.0.1:56176 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
Objects 127.0.0.1:56176 Error from InMemDB: Error: scan NOT SUPPORTED
npm ERR! code 1
npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
npm ERR! command failed
npm ERR! command sh -c node iobroker.js setup first
npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
npm ERR! throw e;
npm ERR! ^
npm ERR!
npm ERR! ReplyError: Error scan NOT SUPPORTED
npm ERR! at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
npm ERR! at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
npm ERR! Emitted 'error' event on ScanStream instance at:
npm ERR! at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
npm ERR! at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
npm ERR! at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
npm ERR! at processTicksAndRejections (internal/process/task_queues.js:95:5) {
npm ERR! command: {
npm ERR! name: 'scan',
npm ERR! args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
npm ERR! }
npm ERR! }
npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2022-04-01T21_26_30_838Z-debug.log
Starting node restart.js
Die zuletzt probierte Prozedur war folgende:
iobroker update
iobroker stop
iobroker upgrade
iobroker upgrade self
iobroker fix
iobroker start
Hat jemand eine idee woran es liegen könnte? Leider kann ich mit den Error Log auf keinen grünen Zweig kommen
Der Log beinhaltet folgendes:
0 verbose cli [
0 verbose cli '/usr/local/bin/node',
0 verbose cli '/usr/local/bin/npm',
0 verbose cli 'install',
0 verbose cli 'iobroker.js-controller@4.0.21',
0 verbose cli '--loglevel',
0 verbose cli 'error',
0 verbose cli '--unsafe-perm',
0 verbose cli '--prefix',
0 verbose cli '/opt/iobroker'
0 verbose cli ]
1 info using npm@7.24.2
2 info using node@v14.19.1
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 5ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 4ms
6 timing config:load:builtin Completed in 4ms
7 timing config:load:cli Completed in 8ms
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 2ms
11 timing config:load:file:/home/iobroker/.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/opt/iobroker/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 3ms
17 timing config:load:setEnvs Completed in 3ms
18 timing config:load Completed in 28ms
19 timing npm:load:configload Completed in 28ms
20 timing npm:load:setTitle Completed in 0ms
21 timing npm:load:setupLog Completed in 2ms
22 timing config:load:flatten Completed in 9ms
23 timing npm:load:cleanupLog Completed in 6ms
24 timing npm:load:configScope Completed in 0ms
25 timing npm:load:projectScope Completed in 1ms
26 timing npm:load Completed in 47ms
27 timing arborist:ctor Completed in 2ms
28 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.zwave2
29 timing idealTree:init Completed in 6038ms
30 timing idealTree:userRequests Completed in 24ms
31 silly idealTree buildDeps
32 silly fetch manifest iobroker.js-controller@4.0.21
33 http fetch GET 200 https://registry.npmjs.org/iobroker.js-controller 7421ms (cache revalidated)
34 silly placeDep ROOT iobroker.js-controller@4.0.21 REPLACE for: iobroker.inst@2.0.3 want: 4.0.21
35 silly fetch manifest @alcalzone/esbuild-register@^2.5.1-1
36 silly fetch manifest @iobroker/db-objects-file@4.0.21
37 silly fetch manifest @iobroker/db-objects-jsonl@4.0.21
38 silly fetch manifest @iobroker/db-objects-redis@4.0.21
39 silly fetch manifest @iobroker/db-states-file@4.0.21
40 silly fetch manifest @iobroker/db-states-jsonl@4.0.21
41 silly fetch manifest @iobroker/db-states-redis@4.0.21
42 silly fetch manifest @iobroker/js-controller-adapter@4.0.21
43 silly fetch manifest @iobroker/js-controller-cli@4.0.21
44 silly fetch manifest @iobroker/js-controller-common@4.0.21
45 silly fetch manifest @iobroker/js-controller-common-db@4.0.21
46 silly fetch manifest @iobroker/plugin-base@~1.2.1
47 silly fetch manifest @iobroker/plugin-sentry@~1.2.0
48 silly fetch manifest axios@^0.24.0
Vielen Dank für eure Hilfe.
LG Lukas