NEWS
Test Adapter Log Parser 2.3.x Latest
-
sudo usermod -a G adm,iobroker afischer
Dann die Kiste neu starten, damit der afischer auch in den richtigen Gruppen ist.
Und die Fehlermeldungen als Text hier rein. -
@thomas-braun Alles ausgeführt, anbei Situation:
843 Log-Größe: 16.1 KB Zeit host.NUCioBroker 2025-03-02 08:54:39.794 error instance system.adapter.logparser.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: Node.js v20.18.3 host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: } host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.logparser/main.js' ] host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:173:12) { host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1104:12) host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1288:32) host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1469:14) host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.logparser/main.js:4:18) host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: at require (node:internal/modules/helpers:179:18) host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1311:19) host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1051:27) host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15) host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.logparser/main.js host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: Require stack: host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: Error: Cannot find module 'node-schedule' host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: ^ host.NUCioBroker 2025-03-02 08:54:39.794 error Caught by controller[0]: throw err; host.NUCioBroker 2025-03-02 08:54:39.793 error Caught by controller[0]: node:internal/modules/cjs/loader:1228 host.NUCioBroker 2025-03-02 08:54:28.381 error instance system.adapter.logparser.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: Node.js v20.18.3 host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: } host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.logparser/main.js' ] host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:173:12) { host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1104:12) host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1288:32) host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1469:14) host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.logparser/main.js:4:18) host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: at require (node:internal/modules/helpers:179:18) host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1311:19) host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1051:27) host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15) host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.logparser/main.js host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: Require stack: host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: Error: Cannot find module 'node-schedule' host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: ^ host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: throw err; host.NUCioBroker 2025-03-02 08:54:28.381 error Caught by controller[0]: node:internal/modules/cjs/loader:1228 host.NUCioBroker 2025-03-02 08:54:16.894 error instance system.adapter.logparser.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: Node.js v20.18.3 host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: } host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.logparser/main.js' ] host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:173:12) { host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1104:12) host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1288:32) host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1469:14) host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.logparser/main.js:4:18) host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: at require (node:internal/modules/helpers:179:18) host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1311:19) host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1051:27) host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15) host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.logparser/main.js host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: Require stack: host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: Error: Cannot find module 'node-schedule' host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: ^ host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: throw err; host.NUCioBroker 2025-03-02 08:54:16.894 error Caught by controller[0]: node:internal/modules/cjs/loader:1228 host.NUCioBroker 2025-03-02 08:54:04.513 error instance system.adapter.logparser.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.NUCioBroker 2025-03-02 08:54:04.513 error Caught by controller[0]: Node.js v20.18.3 host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: } host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.logparser/main.js' ] host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:173:12) { host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1104:12) host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1288:32) host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1469:14) host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.logparser/main.js:4:18) host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: at require (node:internal/modules/helpers:179:18) host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1311:19) host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1051:27) host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15) host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.logparser/main.js host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: Require stack: host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: Error: Cannot find module 'node-schedule' host.NUCioBroker 2025-03-02 08:54:04.512 error Caught by controller[0]: ^ host.NUCioBroker 2025-03-02 08:54:04.511 error Caught by controller[0]: throw err; host.NUCioBroker 2025-03-02 08:54:04.511 error Caught by controller[0]: node:internal/modules/cjs/loader:1228
VG Axel
-
@afi
Ich glaub ich kann das abkürzen.
Beim Adapter logparser fehlt die dependency zu node-schedule. Ist ein Bug des Adapters.Ich werd im Laufe des Vormittags eine neue Release erstellen. Wenn du so lange warten willst ok, wenn nicht musst du das package node-schedule vorerst mal manuell installieren. Thomas kann da am besten sagen wie da maccht und dabie nicht allzuviel zerstörst :-).
-
@mcm1957 sagte in Test Adapter Log Parser 2.1.x Latest:
Ist ein Bug des Adapters.
Okay, hatte mich schon gewundert, bei meiner Testinstallation hab ich nämlich das Modul gar nicht als Dependency im tree gesehen.
-
Hi zusammen,
erst mal vielen Dank an Thomas für die Geduld, ich kann warten, er läuft ja schon ca. 1 Woche nicht mehr, ich hatte nur gestern die Zeit.
VG Axel
-
@thomas-braun
Wahrscheinlich verwenden das Modul zig andere Adapter. Und damit fällt der Fehler nur auf, wenn das System sehr wenige Adapter enthält.Egal - das such ich nicht.
Fakt ist dass die Dependency im package.json nicht drinnen ist udn im Code geladen wird.
Ergo ist da was faul was zu beheben ist. -
Ja, das wird bei mir von zig anderen Adaptern verwendet. Deswegen hatte mich die Meldung, dass es nicht gefunden werden kann etwas verwundert. Aber wenn es im Bauplan des Adapters gar nicht erst drin ist kein Wunder.
-
Bin noch dran - dauert noch ein wenig.
Aber wenigstens ist (mir) jetzt auch klar warum die Tests nicht schiefgegangen sind. node-schedule war als devDependency drinne. Damit gehts lokal am dev-server und auch die tests laden die dev-Dependencies (da sie ja den Test-Support brauchen)...
-
@mcm1957 Hi, mir ist aber nicht klar, warum es bis vor ca. 2 Wochen gelaufen ist und dann auf einmal nicht mehr. Der Log Parser lief mindestens 3 Jahre (hoffe ich hab mich in der Zeit nicht verhauen). VG Axel
-
@afi
möglicherweise hast du zu dem Zeitpunkt etwas deinstalliert oder aktualosiert u npm hat das nicht referenzierte Paket da weggeräumt. -
-
V 2.2.2
Jetzt habe ich wieder das leidige Thema mit Heute, Gestern, Uhrzeit.
Hatte die Tage 3 Adapter (Accuweather, Pegelalarm, Yr.no) deinstalliert
und danach fing es wieder an. Ok, installieren wir mal die neue Beta 2.3.0,
aber leider damit das selbe Problem
Was können wir tun? -
Hallo!
Ich versuche Logeinträge in verschiedenen Farben dazustellen, schaffe es aber nicht, da ich keinen Weg finde.
Toll wäre, wenn bei Logeinträgen nach Begriffen gesucht werden könnte und dann die entsprechende Farbe für den gesamten Logeintrag anpassbar wäre.
Als Beispiel: Ein Logeintrag enthält den Begriff "Klimaanlage". Der gesamte Logtext wird dann in der gewählten Farbe ausgegeben.Kennt da jemand einen Weg?
Liebe Grüße
-
@mcm1957 Hi, wann kommt den die Release 2.3....
-
@afi
2.3.0 Ist seit 2.3.25 wie im ersten Post beschrieben im LATEST / BETA Repository verfügbar.