NEWS
javascript instanz bleibt rot
-
@thomas-braun
Wer lesen kann usw. :blush: -
-
Ist dieses gemeint?
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 9.5.1 /usr/bin/npx 9.5.1 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 8904 States: 8156 Size of iob-Database: 17M /opt/iobroker/iobroker-data/objects.jsonl 11M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ==================== -
Ist dieses gemeint?
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 9.5.1 /usr/bin/npx 9.5.1 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 8904 States: 8156 Size of iob-Database: 17M /opt/iobroker/iobroker-data/objects.jsonl 11M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================@beowolf sagte in javascript instanz bleibt rot:
9.5.1
die ist "falsch"
Schau mal in die Signatur von @Thomas-Braun wie man das Korrigiert.
-
Ist dieses gemeint?
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 9.5.1 /usr/bin/npx 9.5.1 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 8904 States: 8156 Size of iob-Database: 17M /opt/iobroker/iobroker-data/objects.jsonl 11M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================@beowolf sagte in javascript instanz bleibt rot:
/usr/bin/npm 9.5.1Hatten wir nicht gerade im Nachbarthread damit zu tun?
-
@beowolf sagte in javascript instanz bleibt rot:
9.5.1
die ist "falsch"
Schau mal in die Signatur von @Thomas-Braun wie man das Korrigiert.
Hatte ich geschaut.
Dort steht
- cd /opt/iobroker
- npm ls | grep -E 'github|ERR'
gibt bei mir nichts zurück. Also doch schon mal gut.
Auch sudo apt update und sudo apt upgrade gemacht. Auch sudo apt full-upgrade.
Was ich aber auf der Seite nur sehe, ist das es um "nodejs" geht.
Muß ich etwas manuell anstossen?
-
Hatte ich geschaut.
Dort steht
- cd /opt/iobroker
- npm ls | grep -E 'github|ERR'
gibt bei mir nichts zurück. Also doch schon mal gut.
Auch sudo apt update und sudo apt upgrade gemacht. Auch sudo apt full-upgrade.
Was ich aber auf der Seite nur sehe, ist das es um "nodejs" geht.
Muß ich etwas manuell anstossen?
iob stop sudo apt install --reinstall nodejs iob start -
@thomas-braun sagte in javascript instanz bleibt rot:
Danke für die Hilfe.
So sollte es besser sein?
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 8905 States: 8158 Size of iob-Database: 26M /opt/iobroker/iobroker-data/objects.jsonl 9.6M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ==================== -
@thomas-braun sagte in javascript instanz bleibt rot:
Danke für die Hilfe.
So sollte es besser sein?
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 8905 States: 8158 Size of iob-Database: 26M /opt/iobroker/iobroker-data/objects.jsonl 9.6M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================@beowolf sagte in javascript instanz bleibt rot:
(Fast) perfekt.
Ich würde noch das Boot Target in
sudo raspi-configauf
Boot Target: multi-user.target
setzen:1 System Options S5 Boot / Auto Login B1 Console -
@thomas-braun sagte in javascript instanz bleibt rot:
Boot / Auto Login
B1 Console======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 2 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 8906 States: 8121 Size of iob-Database: 34M /opt/iobroker/iobroker-data/objects.jsonl 12M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================So ist es dann ok.
Danke für die Hilfen
-
@thomas-braun sagte in javascript instanz bleibt rot:
Boot / Auto Login
B1 Console======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 2 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 8906 States: 8121 Size of iob-Database: 34M /opt/iobroker/iobroker-data/objects.jsonl 12M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================So ist es dann ok.
Danke für die Hilfen
-
Auch das ist gemacht. :+1:
-
Hallo zusammen,
leider habe ich seit heut das gleich Problem mit dem Javascript Adapter und erhalte folgende Log-Fehlermeldungen.
Alle anderen Adapter laufen.
host.raspberrypi 2023-02-26 20:02:17.708 error instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2023-02-26 20:02:17.707 error Caught by controller[0]: } host.raspberrypi 2023-02-26 20:02:17.707 error Caught by controller[0]: requestPath: 'coffeescript' host.raspberrypi 2023-02-26 20:02:17.704 error Caught by controller[0]: path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/package.json', host.raspberrypi 2023-02-26 20:02:17.704 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.raspberrypi 2023-02-26 20:02:17.703 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1069:32) { host.raspberrypi 2023-02-26 20:02:17.703 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10) host.raspberrypi 2023-02-26 20:02:17.703 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1191:14) host.raspberrypi 2023-02-26 20:02:17.702 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:21:24) host.raspberrypi 2023-02-26 20:02:17.702 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:108:18) host.raspberrypi 2023-02-26 20:02:17.702 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1093:19) host.raspberrypi 2023-02-26 20:02:17.701 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:866:27) host.raspberrypi 2023-02-26 20:02:17.700 error Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1007:27) host.raspberrypi 2023-02-26 20:02:17.700 error Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:638:18) host.raspberrypi 2023-02-26 20:02:17.700 error Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:425:19) host.raspberrypi 2023-02-26 20:02:17.699 error Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script'. Please verify that the package.json has a valid "main" entry host.raspberrypi 2023-02-26 20:02:17.699 error Caught by controller[0]: ^ host.raspberrypi 2023-02-26 20:02:17.698 error Caught by controller[0]: throw err; host.raspberrypi 2023-02-26 20:02:17.696 error Caught by controller[0]: node:internal/modules/cjs/loader:433Damit funktioniert es leider nicht:
for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; doneMein System / Summary liefert
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): Stable (default) Objects: 16740 States: 13735 Size of iob-Database: 25M /opt/iobroker/iobroker-data/objects.jsonl 12M /opt/iobroker/iobroker-data/objects.json.migrated 12M /opt/iobroker/iobroker-data/objects.json.bak.migrated 8.0K /opt/iobroker/iobroker-data/objects.json.old 6.6M /opt/iobroker/iobroker-data/states.jsonl 5.1M /opt/iobroker/iobroker-data/states.json.migrated 5.1M /opt/iobroker/iobroker-data/states.json.bak.migrated 2.8M /opt/iobroker/iobroker-data/states.json.old 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================Ich würde mich sehr freuen, wenn ich Hilfe zur Behebung bekäme. Vielen Dank! :-)
-
Hallo zusammen,
leider habe ich seit heut das gleich Problem mit dem Javascript Adapter und erhalte folgende Log-Fehlermeldungen.
Alle anderen Adapter laufen.
host.raspberrypi 2023-02-26 20:02:17.708 error instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2023-02-26 20:02:17.707 error Caught by controller[0]: } host.raspberrypi 2023-02-26 20:02:17.707 error Caught by controller[0]: requestPath: 'coffeescript' host.raspberrypi 2023-02-26 20:02:17.704 error Caught by controller[0]: path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/package.json', host.raspberrypi 2023-02-26 20:02:17.704 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.raspberrypi 2023-02-26 20:02:17.703 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1069:32) { host.raspberrypi 2023-02-26 20:02:17.703 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10) host.raspberrypi 2023-02-26 20:02:17.703 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1191:14) host.raspberrypi 2023-02-26 20:02:17.702 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:21:24) host.raspberrypi 2023-02-26 20:02:17.702 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:108:18) host.raspberrypi 2023-02-26 20:02:17.702 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1093:19) host.raspberrypi 2023-02-26 20:02:17.701 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:866:27) host.raspberrypi 2023-02-26 20:02:17.700 error Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1007:27) host.raspberrypi 2023-02-26 20:02:17.700 error Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:638:18) host.raspberrypi 2023-02-26 20:02:17.700 error Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:425:19) host.raspberrypi 2023-02-26 20:02:17.699 error Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script'. Please verify that the package.json has a valid "main" entry host.raspberrypi 2023-02-26 20:02:17.699 error Caught by controller[0]: ^ host.raspberrypi 2023-02-26 20:02:17.698 error Caught by controller[0]: throw err; host.raspberrypi 2023-02-26 20:02:17.696 error Caught by controller[0]: node:internal/modules/cjs/loader:433Damit funktioniert es leider nicht:
for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; doneMein System / Summary liefert
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): Stable (default) Objects: 16740 States: 13735 Size of iob-Database: 25M /opt/iobroker/iobroker-data/objects.jsonl 12M /opt/iobroker/iobroker-data/objects.json.migrated 12M /opt/iobroker/iobroker-data/objects.json.bak.migrated 8.0K /opt/iobroker/iobroker-data/objects.json.old 6.6M /opt/iobroker/iobroker-data/states.jsonl 5.1M /opt/iobroker/iobroker-data/states.json.migrated 5.1M /opt/iobroker/iobroker-data/states.json.bak.migrated 2.8M /opt/iobroker/iobroker-data/states.json.old 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================Ich würde mich sehr freuen, wenn ich Hilfe zur Behebung bekäme. Vielen Dank! :-)
@marc_el_k Und was als letztes vorher gemacht ?
-
@marc_el_k Und was als letztes vorher gemacht ?
@wendy2702 ein Update des Systems sowie iobroker, wie immer eigentlich.
-
@wendy2702 ein Update des Systems sowie iobroker, wie immer eigentlich.
Gib mal die Langfassung von
iob diag
Und die Ausgabe voncd /opt/iobroker npm ls coffeescript -
@wendy2702 ein Update des Systems sowie iobroker, wie immer eigentlich.
@marc_el_k sagte in javascript instanz bleibt rot:
@wendy2702 ein Update des Systems sowie iobroker, wie immer eigentlich.
Geht das auch detaillierter?
System nur einzelne oder z.B. von Buster nach Bullseye und was genau bei iobroker? JS Controller? JavaScript Adapter ?
-
Hallo zusammen,
leider habe ich seit heut das gleich Problem mit dem Javascript Adapter und erhalte folgende Log-Fehlermeldungen.
Alle anderen Adapter laufen.
host.raspberrypi 2023-02-26 20:02:17.708 error instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.raspberrypi 2023-02-26 20:02:17.707 error Caught by controller[0]: } host.raspberrypi 2023-02-26 20:02:17.707 error Caught by controller[0]: requestPath: 'coffeescript' host.raspberrypi 2023-02-26 20:02:17.704 error Caught by controller[0]: path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/package.json', host.raspberrypi 2023-02-26 20:02:17.704 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.raspberrypi 2023-02-26 20:02:17.703 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1069:32) { host.raspberrypi 2023-02-26 20:02:17.703 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10) host.raspberrypi 2023-02-26 20:02:17.703 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1191:14) host.raspberrypi 2023-02-26 20:02:17.702 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:21:24) host.raspberrypi 2023-02-26 20:02:17.702 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:108:18) host.raspberrypi 2023-02-26 20:02:17.702 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1093:19) host.raspberrypi 2023-02-26 20:02:17.701 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:866:27) host.raspberrypi 2023-02-26 20:02:17.700 error Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1007:27) host.raspberrypi 2023-02-26 20:02:17.700 error Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:638:18) host.raspberrypi 2023-02-26 20:02:17.700 error Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:425:19) host.raspberrypi 2023-02-26 20:02:17.699 error Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script'. Please verify that the package.json has a valid "main" entry host.raspberrypi 2023-02-26 20:02:17.699 error Caught by controller[0]: ^ host.raspberrypi 2023-02-26 20:02:17.698 error Caught by controller[0]: throw err; host.raspberrypi 2023-02-26 20:02:17.696 error Caught by controller[0]: node:internal/modules/cjs/loader:433Damit funktioniert es leider nicht:
for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; doneMein System / Summary liefert
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): Stable (default) Objects: 16740 States: 13735 Size of iob-Database: 25M /opt/iobroker/iobroker-data/objects.jsonl 12M /opt/iobroker/iobroker-data/objects.json.migrated 12M /opt/iobroker/iobroker-data/objects.json.bak.migrated 8.0K /opt/iobroker/iobroker-data/objects.json.old 6.6M /opt/iobroker/iobroker-data/states.jsonl 5.1M /opt/iobroker/iobroker-data/states.json.migrated 5.1M /opt/iobroker/iobroker-data/states.json.bak.migrated 2.8M /opt/iobroker/iobroker-data/states.json.old 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================Ich würde mich sehr freuen, wenn ich Hilfe zur Behebung bekäme. Vielen Dank! :-)
@marc_el_k sagte in javascript instanz bleibt rot:
leider habe ich seit heut das gleich Problem mit dem Javascript Adapter und erhalte folgende Log-Fehlermeldungen.
wie so oft: Dann istces nicht das gleiche Problem!
zum Glück zeigt es das log sofort -
Gib mal die Langfassung von
iob diag
Und die Ausgabe voncd /opt/iobroker npm ls coffeescriptDer DIalog in Langfassung
======== Start marking the full check here ========= Skript v.2023-01-02 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.4 Architecture: armv7l Docker: false Virtualization: none Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Systemuptime and Load: 20:13:49 up 17 min, 1 user, load average: 1.24, 2.12, 2.04 CPU threads: 4 *** Time and Time Zones *** Sun Feb 26 19:13:49 UTC 2023 Sun Feb 26 20:13:49 CET 2023 CET +0100 Europe/Berlin *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 7.9G 1.8G 5.3G 0.0K 844M 6.4G Swap: 99M 0B 99M Total: 8.0G 1.8G 5.4G 7898 M total memory 1780 M used memory 474 M active memory 1966 M inactive memory 5274 M free memory 163 M buffer memory 681 M swap cache 99 M total swap 0 M used swap 99 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 117G 15G 98G 14% / devtmpfs devtmpfs 3.7G 0 3.7G 0% /dev tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 1.6G 840K 1.6G 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 253M 50M 203M 20% /boot /dev/sda1 vfat 233G 32G 202G 14% /media/usb tmpfs tmpfs 790M 0 790M 0% /run/user/1000 Messages in dmesg: [Sun Feb 26 19:56:49 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=DC :A6:32:D9:04:68 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 #console= ttyS0,115200 console=tty1 root=PARTUUID=cdb3ca5a-02 rootfstype=ext4 fsck.repair= yes rootwait [Sun Feb 26 19:56:50 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. [Sun Feb 26 19:56:50 2023] VFS: Mounted root (ext4 filesystem) readonly on devic e 179:2. [Sun Feb 26 19:56:53 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none. Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime |-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=43 7,iocharset=ascii,shortname=mixed,flush,errors=remount-ro `-/media/usb /dev/sda1 vfat rw,nosuid,nodev,noexec,relatime,sync,fmask=00 00,dmask=0000,allow_utime=0022,codepage=437,iocharset=ascii,shortname=mixed,erro rs=remount-ro Files in neuralgic directories: /var: 4.1G /var/ 2.1G /var/log/journal/3e23e34d17484a28b9473f69f7d9d21c 2.1G /var/log/journal 2.1G /var/log 1.9G /var/cache/apt /opt/iobroker/backups: 3.3G /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 724M /opt/iobroker/iobroker-data/ 407M /opt/iobroker/iobroker-data/files 248M /opt/iobroker/iobroker-data/backup-objects 72M /opt/iobroker/iobroker-data/files/telegram.admin 51M /opt/iobroker/iobroker-data/files/javascript.admin The five largest files in iobroker-data are: 26M /opt/iobroker/iobroker-data/objects.jsonl 19M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.904d455f.js.m ap 19M /opt/iobroker/iobroker-data/files/cameras.admin/static/js/main.784c7098. js.map 15M /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors -node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modu les_io-1d9f06.44fe4a3f.chunk.js.map 12M /opt/iobroker/iobroker-data/objects.json.migrated *** NodeJS-Installation *** /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 nodejs: Installed: 16.19.1-deb-1nodesource1 Candidate: 16.19.1-deb-1nodesource1 Version table: *** 16.19.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u3 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package s Temp directories causing npm8 problem: 0 *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 4.0.24 admin: 6.3.5 javascript: 6.1.4 Adapters from github: 10 Adapter State + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : raspberrypi - enabled + system.adapter.backitup.0 : backitup : raspberrypi - enabled + system.adapter.ble.1 : ble : raspberrypi - enabled + system.adapter.bring.0 : bring : raspberrypi - enabled + system.adapter.cameras.0 : cameras : raspberrypi - enabled, port: 8200, bind: 127.0.0.1 + system.adapter.daswetter.0 : daswetter : raspberrypi - enabled + system.adapter.discovery.0 : discovery : raspberrypi - enabled system.adapter.dwd.0 : dwd : raspberrypi - enabled system.adapter.feiertage.0 : feiertage : raspberrypi - enabled system.adapter.flot.0 : flot : raspberrypi - enabled + system.adapter.fritzdect.0 : fritzdect : raspberrypi - enabled + system.adapter.fullybrowser.0 : fullybrowser : raspberrypi - enabled system.adapter.ham.0 : ham : raspberrypi - disabled + system.adapter.history.0 : history : raspberrypi - enabled + system.adapter.homeconnect.0 : homeconnect : raspberrypi - enabled system.adapter.ical.0 : ical : raspberrypi - enabled + system.adapter.info.0 : info : raspberrypi - enabled + system.adapter.iot.0 : iot : raspberrypi - enabled + system.adapter.jarvis.0 : jarvis : raspberrypi - enabled system.adapter.javascript.0 : javascript : raspberrypi - enabled + system.adapter.meross.0 : meross : raspberrypi - enabled + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1883, bind: 192.168.178.76 + system.adapter.octoprint.0 : octoprint : raspberrypi - enabled system.adapter.parser.0 : parser : raspberrypi - disabled system.adapter.paw.0 : paw : raspberrypi - disabled, port: 8898 system.adapter.ping.0 : ping : raspberrypi - disabled + system.adapter.pollenflug.0 : pollenflug : raspberrypi - enabled + system.adapter.rpi2.0 : rpi2 : raspberrypi - enabled + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : raspberrypi - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.slideshow.0 : slideshow : raspberrypi - disabled + system.adapter.sonoff.0 : sonoff : raspberrypi - enabled, port: 1885, bind: 0.0.0.0 + system.adapter.tado.0 : tado : raspberrypi - enabled + system.adapter.tankerkoenig.1 : tankerkoenig : raspberrypi - enabled + system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.text2command.0 : text2command : raspberrypi - enabled + system.adapter.tr-064.0 : tr-064 : raspberrypi - enabled + system.adapter.trashschedule.0 : trashschedule : raspberrypi - enabled + system.adapter.tuya.0 : tuya : raspberrypi - enabled system.adapter.tvspielfilm.0 : tvspielfilm : raspberrypi - enabled + system.adapter.upnp.0 : upnp : raspberrypi - enabled system.adapter.vis.0 : vis : raspberrypi - disabled system.adapter.weatherunderground.0 : weatherunderground : raspberrypi - enabled + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.wled.0 : wled : raspberrypi - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.cameras.0 : cameras : raspberrypi - enabled, port: 8200, bind: 127.0.0.1 + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1883, bind: 192.168.178.76 + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : raspberrypi - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : raspberrypi - enabled, port: 1885, bind: 0.0.0.0 + system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories Stable (default): http://download.iobroker.net/sources-dist.json Beta (latest) : http://download.iobroker.net/sources-dist-latest.json Active repo(s): Stable (default) Installed ioBroker-Instances Used repository: Stable (default) Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "alexa2" : 3.23.2 , installed 3.23.2 Adapter "backitup" : 2.5.12 , installed 2.5.12 Adapter "ble" : 0.13.0 , installed 0.13.0 Adapter "bring" : 1.8.1 , installed 1.8.1 Adapter "chromecast" : 2.3.1 , installed 2.3.1 Adapter "daswetter" : 3.1.7 , installed 3.1.7 Adapter "deconz" : 1.3.21 , installed 1.3.21 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "dwd" : 2.8.3 , installed 2.8.3 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "firetv" : 1.0.0 , installed 1.0.0 Adapter "flot" : 1.11.0 , installed 1.11.0 Adapter "fritzdect" : 2.2.6 , installed 2.2.6 Adapter "fullybrowser" : 2.1.2 , installed 2.1.2 Adapter "ham" : 5.3.1 , installed 5.3.1 Adapter "history" : 2.2.4 , installed 2.2.4 Adapter "homeconnect" : 1.1.1 , installed 1.1.1 Adapter "hue-extended" : 2.0.0 , installed 2.0.0 Adapter "ical" : 1.13.2 , installed 1.13.2 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.14.2 , installed 1.14.2 Adapter "jarvis" : 3.1.2 , installed 3.1.2 Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "meross" : 1.14.0 , installed 1.14.0 Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "net-tools" : 0.2.0 , installed 0.2.0 Adapter "octoprint" : 4.0.0 , installed 4.0.0 Adapter "onvif" : 0.4.4 , installed 0.4.5 Adapter "parser" : 1.1.8 , installed 1.1.8 Adapter "paw" : 0.3.2 , installed 0.3.2 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "pollenflug" : 1.0.6 , installed 1.0.6 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "shelly" : 6.3.1 , installed 6.3.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "sonoff" : 2.5.1 , installed 2.5.1 Adapter "tado" : 0.4.4 , installed 0.4.4 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "telegram" : 1.15.2 , installed 1.15.2 Adapter "text2command" : 2.3.0 , installed 2.3.0 Adapter "tr-064" : 4.2.17 , installed 4.2.17 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "tuya" : 3.13.1 , installed 3.13.1 Adapter "tvspielfilm" : 2.0.4 , installed 2.0.4 Adapter "upnp" : 1.0.21 , installed 1.0.21 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-canvas-gauges": 1.0.1, installed 1.0.1 Adapter "vis-colorpicker": 1.2.0 , installed 1.2.0 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-hqwidgets": 1.3.0 , installed 1.3.0 Adapter "vis-icontwo" : 0.90.0 , installed 0.90.0 Adapter "vis-inventwo" : 3.3.1 , installed 3.3.1 Adapter "vis-material-advanced": 1.7.2, installed 1.7.2 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "weatherunderground": 3.4.2, installed 3.4.2 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "wled" : 0.6.7 , installed 0.6.7 Adapter "ws" : 1.3.0 , installed 1.3.0 Objects and States Please stand by - This may take a while Objects: 16740 States: 13734 *** OS-Repositories and Updates *** Hit:1 http://phoscon.de/apt/deconz bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1000 13059 401/deCONZ tcp 0 0 192.168.178.76:1883 0.0.0.0:* LISTEN 1001 19999 1847/io.mqtt.0 tcp 0 0 0.0.0.0:1885 0.0.0.0:* LISTEN 1001 19166 2022/io.sonoff.0 tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 1001 15400 533/iobroker.js-con tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 1001 15393 533/iobroker.js-con tcp 0 0 0.0.0.0:8400 0.0.0.0:* LISTEN 1001 28268 4394/io.jarvis.0 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1000 13037 401/deCONZ tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 12264 557/sshd: /usr/sbin tcp6 0 0 :::8081 :::* LISTEN 1001 15683 683/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 56939 13003/io.web.0 tcp6 0 0 :::8087 :::* LISTEN 1001 21367 3019/io.simple-api. tcp6 0 0 :::22 :::* LISTEN 0 12266 557/sshd: /usr/sbin udp 0 0 0.0.0.0:51912 0.0.0.0:* 108 9144 395/avahi-daemon: r udp 0 0 0.0.0.0:43731 0.0.0.0:* 1001 22695 2851/io.upnp.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 1001 24626 3372/io.wled.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 9142 395/avahi-daemon: r udp 0 0 0.0.0.0:1900 0.0.0.0:* 1001 22891 2851/io.upnp.0 udp 0 0 0.0.0.0:1900 0.0.0.0:* 1000 15373 401/deCONZ udp 0 0 0.0.0.0:6666 0.0.0.0:* 1001 21511 1398/io.tuya.0 udp 0 0 0.0.0.0:6667 0.0.0.0:* 1001 21512 1398/io.tuya.0 udp 0 0 0.0.0.0:14374 0.0.0.0:* 1001 93946 21234/ffmpeg udp 0 0 0.0.0.0:14375 0.0.0.0:* 1001 93947 21234/ffmpeg udp 0 0 0.0.0.0:14376 0.0.0.0:* 1001 93955 21234/ffmpeg udp 0 0 0.0.0.0:14377 0.0.0.0:* 1001 93956 21234/ffmpeg udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 15958 1238/io.shelly.0 udp 0 0 0.0.0.0:68 0.0.0.0:* 0 14407 749/dhcpcd udp6 0 0 :::5353 :::* 108 9143 395/avahi-daemon: r udp6 0 0 :::43503 :::* 108 9145 395/avahi-daemon: r udp6 0 0 :::546 :::* 0 14419 749/dhcpcd *** Log File - Last 25 Lines *** 2023-02-26 20:03:10.160 - error: daswetter.0 (7870) Cannot check object existence of "daswetter.0.NextHours2.Location_1.Day_5.Hour_8.iconURL": Connection is closed. 2023-02-26 20:03:10.164 - error: daswetter.0 (7870) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextHours2.Location_1.Day_5.Hour_8.iconURL: Cannot check object existence of "daswetter.0.NextHours2.Location_1.Day_5.Hour_8.iconURL": Connection is closed.] 2023-02-26 20:03:10.169 - error: daswetter.0 (7870) Cannot check object existence of "daswetter.0.NextHours2.Location_1.Day_5.Hour_8.symbol_desc": Connection is closed. 2023-02-26 20:03:10.246 - error: host.raspberrypi instance system.adapter.daswetter.0 terminated with code 15 (UNKNOWN_ERROR) 2023-02-26 20:04:19.118 - error: cameras.0 (11028) Cannot get camera image of cam1: TypeError: sharp is not a function 2023-02-26 20:04:19.402 - error: cameras.0 (11028) Cannot get camera image of cam2: TypeError: sharp is not a function 2023-02-26 20:05:43.047 - error: host.raspberrypi Caught by controller[0]: node:internal/modules/cjs/loader:433 2023-02-26 20:05:43.048 - error: host.raspberrypi Caught by controller[0]: throw err; 2023-02-26 20:05:43.049 - error: host.raspberrypi Caught by controller[0]: ^ 2023-02-26 20:05:43.050 - error: host.raspberrypi Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script'. Please verify that the package.json has a valid "main" entry 2023-02-26 20:05:43.050 - error: host.raspberrypi Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:425:19) 2023-02-26 20:05:43.051 - error: host.raspberrypi Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:638:18) 2023-02-26 20:05:43.051 - error: host.raspberrypi Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1007:27) 2023-02-26 20:05:43.052 - error: host.raspberrypi Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:866:27) 2023-02-26 20:05:43.053 - error: host.raspberrypi Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1093:19) 2023-02-26 20:05:43.053 - error: host.raspberrypi Caught by controller[0]: at require (node:internal/modules/cjs/helpers:108:18) 2023-02-26 20:05:43.054 - error: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:21:24) 2023-02-26 20:05:43.054 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1191:14) 2023-02-26 20:05:43.055 - error: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10) 2023-02-26 20:05:43.055 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1069:32) { 2023-02-26 20:05:43.056 - error: host.raspberrypi Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2023-02-26 20:05:43.056 - error: host.raspberrypi Caught by controller[0]: path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/package.json', 2023-02-26 20:05:43.057 - error: host.raspberrypi Caught by controller[0]: requestPath: 'coffeescript' 2023-02-26 20:05:43.057 - error: host.raspberrypi Caught by controller[0]: } 2023-02-26 20:05:43.057 - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED) ============ Mark until here for C&P ============= iob diag has finished.npm ls coffeescript liefert
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ npm ls coffeescript iobroker.inst@3.0.0 /opt/iobroker ├── coffeescript@1.12.7 extraneous └─┬ iobroker.javascript@6.1.4 └── coffeescript@1.12.7