NEWS
Update js-controller from @3.3.22 to @4.0.19 shows errors
-
Systemdata Bitte Ausfüllen Hardwaresystem: RPI4 Arbeitsspeicher: 4GB Festplattenart: SSD Betriebssystem: Linux 5.10.103-v7l+ #1530 SMP Node-Version: v14.19.0 Nodejs-Version: v14.19.0 NPM-Version: 6.14.16 Installationsart: Manuell Image genutzt: Nein Ort/Name der Imagedatei: Link Update message:
code_textNPM version: 6.14.16 npm install iobroker.js-controller@4.0.19 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call) In file included from ../../nan/nan.h:58, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:793:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] 793 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’ 827 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’ 404 | NODE_MODULE(unix_dgram, Initialize) | ^~~~~~~~~~~ Server Objects 127.0.0.1:34030 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"] Server States 127.0.0.1:44942 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"] Server Objects 127.0.0.1:34030 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"] Server States 127.0.0.1:44944 Error from InMemDB: Error: PSUBSCRIBE-UNSUPPORTED for namespace meta.: Data=["meta.*"] Server Objects 127.0.0.1:34030 Error from InMemDB: Error: Unknown LUA script load Server Objects 127.0.0.1:34030 Error from InMemDB: Error: Unknown LUA script load Server Objects 127.0.0.1:34030 Error from InMemDB: Error: Unknown LUA script load Server Objects 127.0.0.1:34030 Error from InMemDB: Error: SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}] Could not migrate objects to corresponding sets: Error SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
Further log messages:
info.0 2022-03-10 14:01:39.281 info cpu Temp res = {"main":63.296,"cores":[],"max":63.296,"socket":[],"chipset":null} info.0 2022-03-10 14:01:39.075 info State value to set for "info.0.sysinfo.cpu.info.cache-l3" has to be type "number" but received type "string" info.0 2022-03-10 14:01:39.067 info State value to set for "info.0.sysinfo.cpu.info.cache-l2" has to be type "number" but received type "string" info.0 2022-03-10 14:01:39.048 info State value to set for "info.0.sysinfo.cpu.info.cache-l1i" has to be type "number" but received type "string" info.0 2022-03-10 14:01:38.983 info State value to set for "info.0.sysinfo.cpu.info.cache-l1d" has to be type "number" but received type "string" info.0 2022-03-10 14:01:38.019 info State value to set for "info.0.sysinfo.cpu.info.speed" has to be type "string" but received type "number" info.0 2022-03-10 14:01:36.298 info Reading/updating systemdata. info.0 2022-03-10 14:01:36.227 info starting. Version 1.9.8 in /opt/iobroker/node_modules/iobroker.info, node: v14.19.0, js-controller: 4.0.19 info.0 2022-03-10 14:01:35.793 warn This object will not be created in future versions. Please report this to the developer. info.0 2022-03-10 14:01:35.792 warn Object info.0.sysinfo.cpu.currentLoad.currentLoadIrq is invalid: obj.common.min has an invalid type! Expected "number", received "string" info.0 2022-03-10 14:01:35.786 warn This object will not be created in future versions. Please report this to the developer. info.0 2022-03-10 14:01:35.785 warn Object info.0.sysinfo.cpu.currentLoad.currentLoadIdle is invalid: obj.common.min has an invalid type! Expected "number", received "string" info.0 2022-03-10 14:01:35.779 warn This object will not be created in future versions. Please report this to the developer. info.0 2022-03-10 14:01:35.779 warn Object info.0.sysinfo.cpu.currentLoad.currentLoadNice is invalid: obj.common.min has an invalid type! Expected "number", received "string" info.0 2022-03-10 14:01:35.772 warn This object will not be created in future versions. Please report this to the developer. info.0 2022-03-10 14:01:35.771 warn Object info.0.sysinfo.cpu.currentLoad.currentLoadSystem is invalid: obj.common.min has an invalid type! Expected "number", received "string" info.0 2022-03-10 14:01:35.765 warn This object will not be created in future versions. Please report this to the developer. info.0 2022-03-10 14:01:35.764 warn Object info.0.sysinfo.cpu.currentLoad.currentLoadUser is invalid: obj.common.min has an invalid type! Expected "number", received "string" info.0 2022-03-10 14:01:35.752 warn This object will not be created in future versions. Please report this to the developer. info.0 2022-03-10 14:01:35.749 warn Object info.0.sysinfo.cpu.currentLoad.currentLoad is invalid: obj.common.min has an invalid type! Expected "number", received "string" host.rpi4iobroker 2022-03-10 14:01:32.795 info instance system.adapter.info.0 started with pid 2990 discovery.0 2022-03-10 14:01:31.321 info starting. Version 2.7.5 in /opt/iobroker/node_modules/iobroker.discovery, node: v14.19.0, js-controller: 4.0.19code_text
iobroker starts and I can login.
What to do?Carlo
-
@orghol Look here: https://forum.iobroker.net/topic/52886/js-controller-4-0-x-jetzt-für-alle-user-im-stable
Die Installation wird - wenn Sie von einem 2.x/3.x-System aus erfolgt - einige Warnungen/Fehler loggen. Wenn diese aussehen wie im folgenden Bild gezeigt (GET/SET-UNSUPPOTED bzw LUA script load error), ist dies erwartet und ok -
@orghol sagte in Update js-controller from @3.3.22 to @4.0.19 shows errors:
What to do?
nothing.. all is fine..