NEWS
gelöst: node.js macht Probleme
-
Hallo,
beim Update von node.js ist was schief gelaufen...
instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED) Caught by controller[1]: Node.js v18.19.0 Caught by controller[1]: at node:internal/main/run_main_module:28:49 Caught by controller[1]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) Caught by controller[1]: at Module._load (node:internal/modules/cjs/loader:1013:12) Caught by controller[1]: at Module.load (node:internal/modules/cjs/loader:1197:32) Caught by controller[1]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) Caught by controller[1]: at Module._compile (node:internal/modules/cjs/loader:1356:14) Caught by controller[1]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.info/main.js:58:18) Caught by controller[1]: at getSystemVersions (/opt/iobroker/node_modules/iobroker.info/main.js:89:11) Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'log') Caught by controller[1]: ^ Caught by controller[1]: adapter.log.error("Could not check npm version: " + e); Caught by controller[1]: /opt/iobroker/node_modules/iobroker.info/main.js:89 Caught by controller[0]: /bin/sh: 1: npm: not found
iob diag
sagt:
======================= SUMMARY ======================= v.2023-10-10 Static hostname: iobroker20 Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-rpi7-rpi-v8 Architecture: arm64 Installation: native Kernel: aarch64 Userland: arm64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /home/iobroker/.diag.sh: line 488: npm: command not found /home/iobroker/.diag.sh: line 489: npx: command not found /home/iobroker/.diag.sh: line 490: corepack: command not found Recommended versions are nodejs 18.19.0 and npm 10.2.3 *** nodejs is NOT correctly installed *** Wrong installation path detected. This needs to be fixed. Please check https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian for more information on how to fix these errors. MEMORY: total used free shared buff/cache available Mem: 4.0G 2.5G 993M 16K 511M 1.4G Swap: 104M 33M 71M Total: 4.1G 2.6G 1.1G Active iob-Instances: 32 Active repo(s): Stable (default) ioBroker Core: js-controller 5.0.16 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : iobroker20 - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.1 : web : iobroker20 - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 16191 States: 14127 Size of iob-Database: 16M /opt/iobroker/iobroker-data/objects.jsonl 11M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-