Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ständiger Neustart durch Mirroring-Funktion #551

Closed
Steff42 opened this issue May 10, 2020 · 3 comments · Fixed by #552
Closed

Ständiger Neustart durch Mirroring-Funktion #551

Steff42 opened this issue May 10, 2020 · 3 comments · Fixed by #552

Comments

@Steff42
Copy link

Steff42 commented May 10, 2020

Hab mein System von JSC 3.0.20 / JSE 4.5.1 auf den JSC 3.1.3 upgrade wollen.
(hier der Link zur Diskussion im Forum --> https://forum.iobroker.net/topic/32481/js-controller-3-0-3-1-jetzt-im-latest/882
Ergebnis, der Controller ist in einer Restart-Schleife. Downgrade des JSC auf 3.0.20 ohne Erfolg. Restore eines Backups (mit vorher laufendem JSC 3.0.20) ohne Erfolg.
Lösung war dann, das deaktivieren des Mirrorings im JSE-Adapter.
Das Mirroring hatte ich vor ca. 2 Wochen aktiviert und es hatte ohne Probleme funktioniert.
Hier ein Log-Auszug vom Fehler


2020-05-10 11:35:32.142  - �[32minfo�[39m: host.Smarthome "system.adapter.javascript.0" enabled
--
  | 2020-05-10 11:35:32.174  - �[32minfo�[39m: host.Smarthome instance system.adapter.javascript.0 started with pid 20479
  | 2020-05-10 11:35:33.677  - �[32minfo�[39m: javascript.0 (20479) starting. Version 4.5.1 in /opt/iobroker/node_modules/iobroker.javascript, node: v12.16.3, js-controller: 3.0.20
  | 2020-05-10 11:35:33.729  - �[32minfo�[39m: javascript.0 (20479) requesting all states
  | 2020-05-10 11:35:33.730  - �[32minfo�[39m: javascript.0 (20479) requesting all objects
  | 2020-05-10 11:35:34.699  - �[32minfo�[39m: javascript.0 (20479) received all objects
  | 2020-05-10 11:35:34.833  - �[32minfo�[39m: javascript.0 (20479) received all states
  | 2020-05-10 11:35:35.481  - �[31merror�[39m: javascript.0 (20479) uncaught exception: Cannot read property 'ts' of undefined
  | 2020-05-10 11:35:35.482  - �[31merror�[39m: javascript.0 (20479) TypeError: Cannot read property 'ts' of undefined
  | at Mirror.sync (/opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:214:92)
  | at Mirror.sync (/opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:207:22)
  | at /opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:49:22
  | at /opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:553:23
  | at _0x30230c._applyViewFunc (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:116731)
  | at processTicksAndRejections (internal/process/task_queues.js:97:5)
  | 2020-05-10 11:35:35.494  - �[32minfo�[39m: javascript.0 (20479) terminating
  | 2020-05-10 11:35:35.495  - �[32minfo�[39m: javascript.0 (20479) Terminated (NO_ERROR): Without reason
  | 2020-05-10 11:35:36.022  - �[31merror�[39m: host.Smarthome Caught by controller[0]: 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(). The promise rejected with the reason:
  | 2020-05-10 11:35:36.023  - �[31merror�[39m: host.Smarthome Caught by controller[1]: TypeError: Cannot read property 'ts' of undefined
  | 2020-05-10 11:35:36.023  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at Mirror.sync (/opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:214:92)
  | 2020-05-10 11:35:36.023  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at Mirror.sync (/opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:207:22)
  | 2020-05-10 11:35:36.024  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at /opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:49:22
  | 2020-05-10 11:35:36.024  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at /opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:553:23
  | 2020-05-10 11:35:36.024  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at _0x30230c._applyViewFunc (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:116731)
  | 2020-05-10 11:35:36.024  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at processTicksAndRejections (internal/process/task_queues.js:97:5)
  | 2020-05-10 11:35:36.025  - �[32minfo�[39m: host.Smarthome instance system.adapter.javascript.0 terminated with code 0 (NO_ERROR)
  | 2020-05-10 11:35:36.025  - �[32minfo�[39m: host.Smarthome Restart adapter system.adapter.javascript.0 because enabled
  | 2020-05-10 11:36:06.053  - �[32minfo�[39m: host.Smarthome instance system.adapter.javascript.0 started with pid 20503
  | 2020-05-10 11:36:07.714  - �[32minfo�[39m: javascript.0 (20503) starting. Version 4.5.1 in /opt/iobroker/node_modules/iobroker.javascript, node: v12.16.3, js-controller: 3.0.20
  | 2020-05-10 11:36:07.766  - �[32minfo�[39m: javascript.0 (20503) requesting all states
  | 2020-05-10 11:36:07.767  - �[32minfo�[39m: javascript.0 (20503) requesting all objects
  | 2020-05-10 11:36:08.683  - �[32minfo�[39m: javascript.0 (20503) received all objects
  | 2020-05-10 11:36:08.824  - �[32minfo�[39m: javascript.0 (20503) received all states
  | 2020-05-10 11:36:09.468  - �[31merror�[39m: javascript.0 (20503) uncaught exception: Cannot read property 'ts' of undefined
  | 2020-05-10 11:36:09.469  - �[31merror�[39m: javascript.0 (20503) TypeError: Cannot read property 'ts' of undefined
  | at Mirror.sync (/opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:214:92)
  | at Mirror.sync (/opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:207:22)
  | at /opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:49:22
  | at /opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:553:23
  | at _0x30230c._applyViewFunc (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:116731)
  | at processTicksAndRejections (internal/process/task_queues.js:97:5)
  | 2020-05-10 11:36:09.477  - �[32minfo�[39m: javascript.0 (20503) terminating
  | 2020-05-10 11:36:09.477  - �[32minfo�[39m: javascript.0 (20503) Terminated (NO_ERROR): Without reason
  | 2020-05-10 11:36:10.010  - �[31merror�[39m: host.Smarthome Caught by controller[0]: 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(). The promise rejected with the reason:
  | 2020-05-10 11:36:10.011  - �[31merror�[39m: host.Smarthome Caught by controller[1]: TypeError: Cannot read property 'ts' of undefined
  | 2020-05-10 11:36:10.011  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at Mirror.sync (/opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:214:92)
  | 2020-05-10 11:36:10.011  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at Mirror.sync (/opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:207:22)
  | 2020-05-10 11:36:10.012  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at /opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:49:22
  | 2020-05-10 11:36:10.012  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at /opt/iobroker/node_modules/iobroker.javascript/lib/mirror.js:553:23
  | 2020-05-10 11:36:10.012  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at _0x30230c._applyViewFunc (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:116731)
  | 2020-05-10 11:36:10.012  - �[31merror�[39m: host.Smarthome Caught by controller[1]:     at processTicksAndRejections (internal/process/task_queues.js:97:5)
  | 2020-05-10 11:36:10.013  - �[32minfo�[39m: host.Smarthome instance system.adapter.javascript.0 terminated with code 0 (NO_ERROR)
  | 2020-05-10 11:36:10.013  - �[32minfo�[39m: host.Smarthome Restart adapter system.adapter.javascript.0 because enabled
  | 2020-05-10 11:36:14.480  - �[32minfo�[39m: host.Smarthome "system.adapter.javascript.0" disabled

Wenn noch Bedarf an Log-Informationen besteht kurz melden.
Gruß Steffen

@AlCalzone AlCalzone changed the title Ständiger Neustart des JS-Controller durch Mirroring-Funktion Ständiger Neustart durch Mirroring-Funktion May 10, 2020
@AlCalzone
Copy link
Collaborator

Ich sehe nur einen Neustart der Javascript-Instanz, habe den Titel entsprechend angepasst.

@Steff42
Copy link
Author

Steff42 commented May 10, 2020

@AlCalzone,
jupp, im Eifer des Gefechts den Titel falsch gewählt - danke.

@Apollon77
Copy link
Contributor

Please check 4.6.1 of JavaScript from GitHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants