NEWS
js-controller 3.2 jetzt im Latest!
-
@diginix Interessant ... im zweifel muss man da mal ein issue bei greenlock anlegen
-
Sehe ich das richtig, dass das Warning
... has no existing object, this might lead to an error in future versions
welches von mehreren Adapter (Proxmox, Tankerkönig, ...) ausgeworfen wird, nur durch den Entwickler zu beheben sind?
-
@josh
Ja. Issue beim entsprechenden Adapter eröffnen. -
@apollon77
Ich stoppe/starte Adapterinstanzen zyklisch per Skript um z.B. meine Bluetooth Hardware temporär frei zu haben um damit kurzzeitig andere Dinge machen zu können.Seit JS-C 3.2.8 erhalte ich dadurch Zombie Prozesse. Vorhin hatte ich diese "3 restart radar2" Prozessen 4 mal, also 12 Prozesse. Habe es erst durch die eskalierende CPU Last bemerkt.
Mit JS-C 3.1.x gab es das nie.iobroker 718539 0.0 0.0 10156 3764 ? S 23:15 0:00 /bin/bash /usr/bin/iobroker restart radar2.0 root 718540 0.0 0.1 12644 4984 ? S 23:15 0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0 iobroker 718541 99.6 3.2 743904 126812 ? Rl 23:15 27:21 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0 iobroker 721986 4.9 1.4 635896 58900 ? Sl 23:41 0:04 io.radar2.0
Wie man sieht läuft die radar2 Instanz längst wieder mit höhere PID, die restart Prozesse werden aber nie mehr beendet.
Im Skript rufe ich auch nur "exec iobroker restart radar2.0" auf. Die "js-controller/iobroker.js restart radar2.0" Prozesse scheinen daraufhin vom System erzeugt zu werden. -
@diginix wenn du die restarts per Hand an der konsole machst bleiben auch welche hängen?
-
@diginix Und 3.2.7 hatte das nicht?
-
@diginix pps: kommst du irgendwie an die Ausgaben des cli Kommandos ran? Bzw steht was im logfile? Und ich verstehe korrekt das das Kommando seine Arbeit macht und adapter restarted aber das cli command selbst hängen bleibt. Korrekt?
-
@apollon77 3.2.7 hatte ich übersprungen.
Der Adapterinstanz (re)start funktioniert sowohl in der Kommandozeile, als auch mit dem exec im Skript, aber nicht immer sofort. Manchmal bleibt die Instanz einfach aus. Daher hatte ich das als Schleife. Wenn radar2.0.connected nicht nach 20 sec auf true ist, dann wird erneut ein "iobroker restart radar2.0" ausgeführt. Bis JS-C 3.1.x gab es da nicht ein einziges mal ein Problem. Eigentlich sollte ja ein zweiter restart maximal eine bereits laufende Instanz erst beenden und wieder starten. Aber selbst wenn die zu schnell hintereinander kämen, dann dürften keine Prozesse unbeendet liegen bleiben.
Wie ich an weitere Details dazu komme (CLI Ausgabe), habe ich keine Ahnung. Da bräuchte ich Zuarbeit.Ich habe nun eben mal im Skript das Kommando von "restart" auf "iobroker start radar2.0" geändert, weil die Instanz ja vorher gestoppt wurde und somit eh nicht läuft.
Die Instanz wurde mit "start" auch gestartet, aber als Antwort kam dannCannot load "custom": Error: Connection is closed.
Und das aber 61660 mal. Das Log ist dadurch explodiert.
Aber auch bei "start" statt "restart" blieben eben wieder die Prozesse liegen:
iobroker 19476 0.0 0.0 10156 3692 ? S 10:00 0:00 /bin/bash /usr/bin/iobroker start radar2.0 root 19477 0.0 0.1 12640 4960 ? S 10:00 0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start radar2.0 iobroker 19478 99.5 3.2 754936 128628 ? Rl 10:00 19:21 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start radar2.0
Neben dem letsencrypt Problem gerade das für mich störendste an JS-C 3.2
Ich will noch nicht aufgeben, aber wenn ich es nicht stabil bekomme, muss vorerst leider ein rollback her. -
@diginix Hasz Du bitte mal mehr vom log ... am besten log BEVOR dieser Connection closed Fehler das erste mal kommt. Und wieterhin, wie oben gefragt, würde mich echt mal mehr log interessieren, auch was der Controller bei deinen manuellen restart dingen da ausgibt ... alsio quasi die Info wann hat edein skript was getan und das zeitlich zu dem log dann zuzuordnen.
Ohne da jetzt in dein spezielles Problem tiefer rein zu gehen wiss ich nicht wie der fix ist. bzw kannst Du das skript mal posten was Du nutzt?
EDIT: Ok ich habe einen Code-Fall gefunden wo es passieren kann das er in eine endlos Schleife läuft ... Wir verstehen nur nicht wie er da hin kommen kann ...
-
@apollon77 hab ne Verständnisfrage, bzw ein Problem. Habe gerade
- Js-C upgrade von 3.2.7 auf 3.2.8
- danach iobroker fix durchlaufen lassen
nun erhalte ich im Adapter linux-control folgendes
linux-control.0 2021-01-23 11:37:26.716 error at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:54:5) linux-control.0 2021-01-23 11:37:26.716 error at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:87:5) linux-control.0 2021-01-23 11:37:26.716 error at LinuxControl.userCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:196:9) linux-control.0 2021-01-23 11:37:26.716 error at LinuxControl.userCommandExecute (/opt/iobroker/node_modules/iobroker.linux-control/main.js:251:21) linux-control.0 2021-01-23 11:37:26.716 error at processTicksAndRejections (internal/process/task_queues.js:97:5) linux-control.0 2021-01-23 11:37:26.716 error at runMicrotasks (<anonymous>) linux-control.0 2021-01-23 11:37:26.716 error at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:874:26) linux-control.0 2021-01-23 11:37:26.716 error (22907) [userCommandExecute] iobroker (10.1.1.10:22, id: root-verzeichnis, description: ): response error: /root/.bashrc: Zeile 24: /root/.iobroker/iobroker_completions: Datei oder Verzeichnis nicht linux-control.0 2021-01-23 11:37:26.680 error at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:54:5) linux-control.0 2021-01-23 11:37:26.680 error at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:82:5) linux-control.0 2021-01-23 11:37:26.680 error at LinuxControl.servicesInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:485:21) linux-control.0 2021-01-23 11:37:26.680 error at processTicksAndRejections (internal/process/task_queues.js:97:5) linux-control.0 2021-01-23 11:37:26.680 error at runMicrotasks (<anonymous>)
-
@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