NEWS
js-controller 3.x jetzt socketio error
-
ja, iobroker, raspi reboot, etc. mehrfach
pi@iobroker:/opt/iobroker $ iobroker stop pi@iobroker:/opt/iobroker $ iobroker start
host.iobroker 2020-04-29 01:16:39.435 info Restart adapter system.adapter.socketio.0 because enabled host.iobroker 2020-04-29 01:16:39.435 error instance system.adapter.socketio.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.iobroker 2020-04-29 01:16:39.434 error Caught by controller[0]: } host.iobroker 2020-04-29 01:16:39.434 error Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.socketio/main.js' ] host.iobroker 2020-04-29 01:16:39.434 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.iobroker 2020-04-29 01:16:39.434 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) { host.iobroker 2020-04-29 01:16:39.433 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:899:14) host.iobroker 2020-04-29 01:16:39.433 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:1000:32) host.iobroker 2020-04-29 01:16:39.433 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) host.iobroker 2020-04-29 01:16:39.433 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1156:30) host.iobroker 2020-04-29 01:16:39.433 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.socketio/main.js:9:21) host.iobroker 2020-04-29 01:16:39.433 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18) host.iobroker 2020-04-29 01:16:39.432 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1042:19) host.iobroker 2020-04-29 01:16:39.432 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:862:27) host.iobroker 2020-04-29 01:16:39.432 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15) host.iobroker 2020-04-29 01:16:39.432 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.socketio/main.js host.iobroker 2020-04-29 01:16:39.432 error Caught by controller[0]: Require stack: host.iobroker 2020-04-29 01:16:39.432 error Caught by controller[0]: Error: Cannot find module 'undefined/lib/letsencrypt.js' host.iobroker 2020-04-29 01:16:39.431 error Caught by controller[0]: ^ host.iobroker 2020-04-29 01:16:39.431 error Caught by controller[0]: throw err; host.iobroker 2020-04-29 01:16:39.431 error Caught by controller[0]: internal/modules/cjs/loader.js:983 host.iobroker 2020-04-29 01:16:38.923 info instance system.adapter.socketio.0 started with pid 23876
-
@Thomas-Braun said in js-controller 3.x jetzt socketio error:
iobroker version
pi@iobroker:/opt/iobroker $ iobroker version 3.0.20
-
@j0nas
ich bin nicht sicher ob das etwas zur Sache tut, aber meldest Du dich per http oder verschlüsselt per https an iobroker an? -
was kann denn der Grund sein, dass er die Variable in der main.js nicht auflösen kann? Weil das undefined ist, kann er ja wahrscheinlich die Datei ja nicht finden. oder?
undefined/lib/letsencrypt.js
-
-
@j0nas schalte doch mal den Log-Level auf
debug
vielleicht bringt das weitere Erkenntnisse?!
Ein Upload des socketios hast Du nicht noch einmal extra durchgeführt, oder ?
(was nach einer frischen installation eiegentlich auch nicht zwingend sein müßte, aber man weiss ja nie) -
@j0nas Ich glaube du hast da auch mal irgendwas mit letsencrypt im falschen Verzeichnis installiert.
Mit npm irgendwas außerhalb von /opt/iobroker gemacht oder sowas. Ich muss aber jetzt mal schlafen. -
ich mach jetzt erstmal einen break. Ich möchte mich aber sehr herzlich bei euch bedanken, dass ihr euch so viel zeit genommen habt, um mir zu helfen. das ist wirklich großartig und nicht selbstverständlich - daumen hoch
-
@j0nas
dann mal gute Nacht -
meinst du das loglevel von socketio?
doch das mit dem upload habe ich auch probiert, identisches ergebnis
-
@j0nas sagte in js-controller 3.x jetzt socketio error:
meinst du das loglevel von socketio?
ja, genau
-
@j0nas
Hast du eine Lösung dafür gefunden?Mein Problem äußert sich auf dei gleiche Art und Weise..
host.raspberrypi 2020-05-22 18:35:24.774 error instance system.adapter.socketio.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2020-05-22 18:35:24.774 error Caught by controller[0]: } host.raspberrypi 2020-05-22 18:35:24.774 error Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.socketio/main.js' ] host.raspberrypi 2020-05-22 18:35:24.773 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.raspberrypi 2020-05-22 18:35:24.773 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) { host.raspberrypi 2020-05-22 18:35:24.773 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:877:14) host.raspberrypi 2020-05-22 18:35:24.773 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:977:32) host.raspberrypi 2020-05-22 18:35:24.773 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10) host.raspberrypi 2020-05-22 18:35:24.772 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1133:30) host.raspberrypi 2020-05-22 18:35:24.772 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.socketio/main.js:9:21) host.raspberrypi 2020-05-22 18:35:24.772 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18) host.raspberrypi 2020-05-22 18:35:24.772 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1019:19) host.raspberrypi 2020-05-22 18:35:24.772 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:840:27) host.raspberrypi 2020-05-22 18:35:24.771 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15) host.raspberrypi 2020-05-22 18:35:24.771 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.socketio/main.js host.raspberrypi 2020-05-22 18:35:24.771 error Caught by controller[0]: Require stack: host.raspberrypi 2020-05-22 18:35:24.771 error Caught by controller[0]: Error: Cannot find module 'undefined/lib/letsencrypt.js' host.raspberrypi 2020-05-22 18:35:24.770 error Caught by controller[0]: ^ host.raspberrypi 2020-05-22 18:35:24.770 error Caught by controller[0]: throw err; host.raspberrypi 2020-05-22 18:35:24.769 error Caught by controller[0]: internal/modules/cjs/loader.js:960