NEWS
JS Controller funktioniert nicht mehr
-
Moin,
gestern Abend lief alles noch, jetzt startet der JS-Controller nicht mehr.
Zwischendurch habe ich nichts geändertDer Effekt ist, dass meine Skripte über Script Engine nicht mehr ausgeführt werden, andere Instanzen scheinen zu funktionieren.
Für Hinweise wäre ich dankbar, bin leider ziemlich ahnungslos.
Das Log sagt folgendes:
2019-12-01 16:05:39.927 - [32minfo[39m: host.Raspberry instance system.adapter.javascript.0 started with pid 9287 2019-12-01 16:05:43.300 - [31merror[39m: host.Raspberry Caught by controller[0]: /opt/iobroker/node_modules/typescript/lib/typescript.js:112461 2019-12-01 16:05:43.302 - [31merror[39m: host.Raspberry Caught by controller[0]: 0$! var shngneLingResult = "/**$+/"; 2019-12-01 16:05:43.303 - [31merror[39m: host.Raspberry Caught by controller[0]: ^ 2019-12-01 16:05:43.304 - [31merror[39m: host.Raspberry Caught by controller[0]: SyntaxError: Invalid or unexpected token 2019-12-01 16:05:43.304 - [31merror[39m: host.Raspberry Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:723:23) 2019-12-01 16:05:43.305 - [31merror[39m: host.Raspberry Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2019-12-01 16:05:43.306 - [31merror[39m: host.Raspberry Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) 2019-12-01 16:05:43.332 - [31merror[39m: host.Raspberry Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2019-12-01 16:05:43.333 - [31merror[39m: host.Raspberry Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2019-12-01 16:05:43.334 - [31merror[39m: host.Raspberry Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17) 2019-12-01 16:05:43.334 - [31merror[39m: host.Raspberry Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18) 2019-12-01 16:05:43.335 - [31merror[39m: host.Raspberry Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/compiler.js:3:10) 2019-12-01 16:05:43.335 - [31merror[39m: host.Raspberry Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) 2019-12-01 16:05:43.336 - [31merror[39m: host.Raspberry Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2019-12-01 16:05:43.337 - [31merror[39m: host.Raspberry Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) 2019-12-01 16:05:43.337 - [31merror[39m: host.Raspberry Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2019-12-01 16:05:43.338 - [31merror[39m: host.Raspberry Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2019-12-01 16:05:43.338 - [31merror[39m: host.Raspberry Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17) 2019-12-01 16:05:43.339 - [31merror[39m: host.Raspberry Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18) 2019-12-01 16:05:43.340 - [31merror[39m: host.Raspberry Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:3:18) 2019-12-01 16:05:43.340 - [31merror[39m: host.Raspberry Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) 2019-12-01 16:05:43.341 - [31merror[39m: host.Raspberry Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2019-12-01 16:05:43.341 - [31merror[39m: host.Raspberry Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) 2019-12-01 16:05:43.342 - [31merror[39m: host.Raspberry Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2019-12-01 16:05:43.343 - [31merror[39m: host.Raspberry Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2019-12-01 16:05:43.344 - [31merror[39m: host.Raspberry Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17) 2019-12-01 16:05:43.344 - [31merror[39m: host.Raspberry Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18) 2019-12-01 16:05:43.345 - [31merror[39m: host.Raspberry Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:33:24) 2019-12-01 16:05:43.345 - [31merror[39m: host.Raspberry Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) 2019-12-01 16:05:43.346 - [31merror[39m: host.Raspberry Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) 2019-12-01 16:05:43.347 - [31merror[39m: host.Raspberry Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) 2019-12-01 16:05:43.347 - [31merror[39m: host.Raspberry Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) 2019-12-01 16:05:43.348 - [31merror[39m: host.Raspberry Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) 2019-12-01 16:05:43.348 - [31merror[39m: host.Raspberry Caught by controller[0]: at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) 2019-12-01 16:05:43.349 - [31merror[39m: host.Raspberry Caught by controller[0]: at startup (internal/bootstrap/node.js:283:19) 2019-12-01 16:05:43.350 - [31merror[39m: host.Raspberry Caught by controller[0]: at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) 2019-12-01 16:05:43.350 - [31merror[39m: host.Raspberry instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2019-12-01 16:05:43.351 - [32minfo[39m: host.Raspberry Restart adapter system.adapter.javascript.0 because enabled
-
Erstens: der Skript-Adapter stürzt ab, nicht der Controller
Zweitens:
@AMXe sagte in JS Controller funktioniert nicht mehr:0$! var shngneLingResult = "/**$+/";
Irgend eines deiner Skript hat seltsame Inhalte. Ich kann leider nicht erkennen, welches das ist. Wenn du den Skript-Adapter anhältst, kannst du die Skripte im Editor danach durchsuchen und herausfinden, welches defekt ist.