NEWS
js-controller 3.x jetzt socketio error
-
@j0nas Warn bezieht sich auf MacOS, muss dich nicht kümmern.
Und jetzt wieder rein das Ding. -
okay.
$ ./iobroker add socketio --host iobroker host.iobroker create instance socketio host.iobroker object system.adapter.socketio.0.sigKill created host.iobroker object system.adapter.socketio.0.eventLoopLag created host.iobroker object system.adapter.socketio.0.outputCount created host.iobroker object system.adapter.socketio.0.inputCount created host.iobroker object system.adapter.socketio.0.uptime created host.iobroker object system.adapter.socketio.0.memRss created host.iobroker object system.adapter.socketio.0.memHeapTotal created host.iobroker object system.adapter.socketio.0.memHeapUsed created host.iobroker object system.adapter.socketio.0.cputime created host.iobroker object system.adapter.socketio.0.cpu created host.iobroker object system.adapter.socketio.0.compactMode created host.iobroker object system.adapter.socketio.0.connected created host.iobroker object system.adapter.socketio.0.alive created host.iobroker object system.adapter.socketio.0 created process exited with code 0
Nach start der Instanz kommt o.g. Fehlermeldung gleich wieder im log. Ggf. müssen wir aufgeben und zünd den RasPi4 im Garten jetzt an
-
@j0nas Die Meldung ist sauber. Auf was genau beziehst du dich mit einem Error?
-
Ich beziehe mich, auf den initialen Fehler:
host.iobroker 2020-04-29 01:11:08.185 info Restart adapter system.adapter.socketio.0 because enabled host.iobroker 2020-04-29 01:11:08.185 error instance system.adapter.socketio.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.iobroker 2020-04-29 01:11:08.184 error Caught by controller[0]: } host.iobroker 2020-04-29 01:11:08.184 error Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.socketio/main.js' ] host.iobroker 2020-04-29 01:11:08.184 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.iobroker 2020-04-29 01:11:08.184 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) { host.iobroker 2020-04-29 01:11:08.184 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:899:14) host.iobroker 2020-04-29 01:11:08.183 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:1000:32) host.iobroker 2020-04-29 01:11:08.183 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) host.iobroker 2020-04-29 01:11:08.183 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1156:30) host.iobroker 2020-04-29 01:11:08.183 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.socketio/main.js:9:21) host.iobroker 2020-04-29 01:11:08.183 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18) host.iobroker 2020-04-29 01:11:08.183 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1042:19) host.iobroker 2020-04-29 01:11:08.182 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:862:27) host.iobroker 2020-04-29 01:11:08.182 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15) host.iobroker 2020-04-29 01:11:08.182 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.socketio/main.js host.iobroker 2020-04-29 01:11:08.182 error Caught by controller[0]: Require stack: host.iobroker 2020-04-29 01:11:08.182 error Caught by controller[0]: Error: Cannot find module 'undefined/lib/letsencrypt.js' host.iobroker 2020-04-29 01:11:08.181 error Caught by controller[0]: ^ host.iobroker 2020-04-29 01:11:08.181 error Caught by controller[0]: throw err; host.iobroker 2020-04-29 01:11:08.181 error Caught by controller[0]: internal/modules/cjs/loader.js:983 host.iobroker 2020-04-29 01:11:07.815 info instance system.adapter.socketio.0 started with pid 19378
-
-
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