NEWS
js-controller 3.2 jetzt im Latest!
-
@apollon77
Mit dem Update auf einem RPi4 habe ich schon beim Start folgende Fehler:
wenn ich iobroker fix mache kommt ähnliches :Karl
-
@apollon77 mein Host lief bisher mit loglevel warn. Ob es daran liegt, dass man nicht mehr sieht weiß ich nicht.
Hier mal von 11:00 Uhr und 11:30 wieder so ein Fall wo die Instanz nicht gestartet wurde und jeweils zweimal die 3 Prozesse zum Restart der Instanz nicht beendert wurden. 11:45 Uhr hat es dann funktioniert. Aber die Zombies von den 2 Läufen davor blieben. Die CPU Last steigt mit jedem mal wo die 3 Prozesse bleiben um ca. 1-2.iobroker 28628 0.0 0.0 10156 2888 ? S 11:00 0:00 /bin/bash /usr/bin/iobroker restart radar2.0 root 28629 0.0 0.1 12640 4944 ? S 11:00 0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0 iobroker 28630 98.2 3.4 743112 134900 ? Rl 11:00 45:34 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0 iobroker 32996 0.0 0.0 10156 2900 ? S 11:30 0:00 /bin/bash /usr/bin/iobroker restart radar2.0 root 32997 0.0 0.1 12636 4932 ? S 11:30 0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0 iobroker 32998 95.8 2.9 743352 118528 ? Rl 11:30 15:42 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0 iobroker 35355 16.2 1.9 638660 77188 ? Sl 11:46 0:03 io.radar2.0
Und hier das Log:
Die Konsolenausgaben bei "iobroker restart radar2.0" sind entweder: "The adapter "radar2.0" was started." oder gar keine.
Im Fall von "...was started" läuft nicht zwingend die Instanz wieder. Deswegen prüfe ich den .connected state.
Wenn gar keine Ausgabe kommt, ist es der zur Zeit der Fall mit "Cannot load "custom": Error: Connection is closed."Das Skript ist eigentlich ein Blockly, aber hier mal der Teil zum Stoppen und Starten der Instanz als Javascript:
-
Ich habe eben auch auf 3.2.8 geupdatet. Jetzt bleibt mein Mein javascript Adapter rot.
host.ioBroker 2021-01-23 12:08:46.875 error instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker 2021-01-23 12:08:46.875 error Caught by controller[0]: } host.ioBroker 2021-01-23 12:08:46.875 error Caught by controller[0]: ] host.ioBroker 2021-01-23 12:08:46.875 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js' host.ioBroker 2021-01-23 12:08:46.875 error Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js', host.ioBroker 2021-01-23 12:08:46.875 error Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js', host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: requireStack: [ host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: { host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at internal/main/run_main_module.js:17:47 host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:08:46.874 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10) host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27) host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: Require stack: host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: Error: Cannot find module 'typescript' host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: ^ host.ioBroker 2021-01-23 12:08:46.873 error Caught by controller[0]: throw err; host.ioBroker 2021-01-23 12:08:46.872 error Caught by controller[0]: internal/modules/cjs/loader.js:818 host.ioBroker 2021-01-23 12:08:16.724 error instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker 2021-01-23 12:08:16.724 error Caught by controller[0]: } host.ioBroker 2021-01-23 12:08:16.724 error Caught by controller[0]: ] host.ioBroker 2021-01-23 12:08:16.724 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js' host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js', host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js', host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: requireStack: [ host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: { host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at internal/main/run_main_module.js:17:47 host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16) host.ioBroker 2021-01-23 12:08:16.723 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10) host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27) host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: Require stack: host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: Error: Cannot find module 'typescript' host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: ^ host.ioBroker 2021-01-23 12:08:16.722 error Caught by controller[0]: throw err; host.ioBroker 2021-01-23 12:08:16.721 error Caught by controller[0]: internal/modules/cjs/loader.js:818 host.ioBroker 2021-01-23 12:07:46.602 error instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker 2021-01-23 12:07:46.602 error Caught by controller[0]: } host.ioBroker 2021-01-23 12:07:46.602 error Caught by controller[0]: ] host.ioBroker 2021-01-23 12:07:46.602 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js' host.ioBroker 2021-01-23 12:07:46.602 error Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js', host.ioBroker 2021-01-23 12:07:46.602 error Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js', host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: requireStack: [ host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: { host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at internal/main/run_main_module.js:17:47 host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:07:46.601 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10) host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27) host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: Require stack: host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: Error: Cannot find module 'typescript' host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: ^ host.ioBroker 2021-01-23 12:07:46.600 error Caught by controller[0]: throw err; host.ioBroker 2021-01-23 12:07:46.599 error Caught by controller[0]: internal/modules/cjs/loader.js:818 host.ioBroker 2021-01-23 12:07:16.473 error instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: } host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: ] host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js' host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js', host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js', host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: requireStack: [ host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: { host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: at internal/main/run_main_module.js:17:47 host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:07:16.473 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27) host.ioBroker 2021-01-23 12:07:16.472 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) host.ioBroker 2021-01-23 12:07:16.471 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js host.ioBroker 2021-01-23 12:07:16.471 error Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js host.ioBroker 2021-01-23 12:07:16.471 error Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js host.ioBroker 2021-01-23 12:07:16.471 error Caught by controller[0]: Require stack: host.ioBroker 2021-01-23 12:07:16.471 error Caught by controller[0]: Error: Cannot find module 'typescript' host.ioBroker 2021-01-23 12:07:16.471 error Caught by controller[0]: ^ host.ioBroker 2021-01-23 12:07:16.471 error Caught by controller[0]: throw err; host.ioBroker 2021-01-23 12:07:16.471 error Caught by controller[0]: internal/modules/cjs/loader.js:818
Keine Ahnung was da falsch gelaufen ist.
Hat da jemand ne lösung für mich?
LG Marko
-
@mheymann
node-Installation sauber? -
@thomas-braun
Keine Ahnung??? Wie Prüfe ich das? Vor dem Update war alles io. -
@mheymann
Sicher das du im Beta-Zweig richtig bist?which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
-
@crunchip Hm .. ok denke braucht einen neuen installer bzw fixer. Dann ist das weg. sind dran
-
@khk Liegt am installation fixer, nicht controller. Fix kommt nachher
-
@apollon77 sagte in js-controller 3.2 jetzt im Latest!:
Liegt am installation fixer, nicht controller. Fix kommt nachher
bleibt der dann 3.1.x oder gar 2.2.x kompatibel?
-
@mheymann AM besten den javascript Adapte rnochmals installieren ...
am besten in /opt/iobroker
ein "npm i iobroker.javascript"
ausführen. Das ist komisch
-
@homoran Komplett unabhängig vom controller
-
@diginix Ich bereite für nachmittag eine 3.2.9 vor (muss nur erst einkaufen), dann müsste das problem weg sein
-
@thomas-braun
Durchaus möglich das ich hier nicht ganz richtig bin. Hab nur gelesen das crunchip auch nen Fehler nach dem update hat. Da mir ehrlich gesagt gerade das Hertz in die Hose gerutscht ist als ich die lange Fehlermeldung gesehen habe versuche ich einfach hier mein Glück. Sorry dafür./usr/bin/nodejs v12.20.1 /usr/bin/node v12.20.1 /usr/bin/npm 6.14.10 nodejs: Installed: 12.20.1-1nodesource1 Candidate: 12.20.1-1nodesource1 Version table: *** 12.20.1-1nodesource1 500 500 https://deb.nodesource.com/node_12.x bionic/main amd64 Packages 100 /var/lib/dpkg/status 8.10.0~dfsg-2ubuntu0.4 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 8.10.0~dfsg-2ubuntu0.2 500 500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages 8.10.0~dfsg-2 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
-
@mheymann Passt soweit.
Dann die Änderungen abwarten. -
am besten in /opt/iobroker
ein "npmi iobroker.javascript"
ausführen. Das ist komisch
Hat funktioniert. Vielen Dank für die Hilfe.
-
Der Installation Fixer ist "gefixt" Also bitte nochmal iobroker stoppen und "iobroker fix" ausführen, dann sollten die komischen Shell meldungen weg sein
-
@apollon77 super und danke für den schnellen fix, läuft wieder
was mir grad aufgefallen ist, die zweite Zeile, die ist neutankerkoenig.0 2021-01-23 13:47:47.399 warn (15196) State "tankerkoenig.0.stations.8.e10.combined" has no existing object, this might lead to an error in future versions tankerkoenig.0 2021-01-23 13:47:46.387 warn (15196) Please update js-controller to at least 1.2.0
-
@crunchip Nee die ist Uralt und kommt dann wenn der zum anlegen der Objekte mal "Länger" als erwartet braucht ... ist ein mega hack und bullshit inzwischen leg mal eher ein issue an das man das ausbaut
-
@apollon77 ok, mach ich
seltsam, sonst wurde mir nur die erste Zeile angezeigtedit:
@apollon77 Alexa2 (weil es ja dein Part ist und ich den passenden Thread grad nicht finde)
version 3.5.6 bei start von iobroker2021-01-23 13:47:18.036 - error: alexa2.0 (14667) Error: Error while checking Authentication: Error: no JSON 2021-01-23 13:47:18.039 - info: alexa2.0 (14667) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2021-01-23 13:47:19.461 - error: alexa2.0 (14667) Cannot check object existence of "alexa2.0.info.connection": Error: Connection is closed. 2021-01-23 13:47:19.462 - warn: alexa2.0 (14667) Could not check object existence of state alexa2.0.info.connection: Error: Cannot check object existence of "alexa2.0.info.connection": Error: Connection is closed. 2021-01-23 13:47:19.463 - error: alexa2.0 (14667) 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(). 2021-01-23 13:47:19.463 - error: alexa2.0 (14667) unhandled promise rejection: Cannot read property 'setState' of null 2021-01-23 13:47:19.492 - error: alexa2.0 (14667) TypeError: Cannot read property 'setState' of null at Adapter.setState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6065:35) at processTicksAndRejections (internal/process/task_queues.js:97:5) 2021-01-23 13:47:19.493 - error: alexa2.0 (14667) Cannot read property 'setState' of null 2021-01-23 13:47:19.494 - info: alexa2.0 (14667) sendToHost not processed because States database not connected 2021-01-23 13:47:20.015 - info: alexa2.0 (14667) terminating
-
Wenn man nun den Fixer ausführt, sollte die iobroker CLI in Kombination mit "Grace" auch Auto-Completion unterstützen.