NEWS
io Broker lässt sich nicht updaten (Linux)
-
@homoran said in io Broker lässt sich nicht updaten (Linux):
hast du sonst noch was gemacht?
iob stop iob update iob upgrade self
Ich hab versucht den Fehler zu reproduzieren.
@hans-jürgen-strudler said in io Broker lässt sich nicht updaten (Linux):
Leider hab ich nicht gespeichert wie die node Version zu hoch war, aber es sah ca. so aus:
Copy to Clipboardnpm ERR! notsup Required: {"node":"8<= node => 13"} npm ERR! notsup Actual: {"npm":"6.14.16","node":"18.20."}
auf der Weboberfläche wurde ich informiert, dass das File System geändert wird. das dürfte gerade laufen.
-
@hans-jürgen-strudler sagte in io Broker lässt sich nicht updaten (Linux):
Ich hab versucht
bitte niemals nicht nix eigenmächtig machen, wenn dir verducht wird zu helfen
Diesmal Teil 2
https://forum.iobroker.net/post/884324bitte unbedingt lesen und beachten!
-
@hans-jürgen-strudler sagte in io Broker lässt sich nicht updaten (Linux):
sah ca. so aus:
und auch diesmal:
aus dem Zusammenhang gerissen nutzt das gar nichts -
@homoran said in io Broker lässt sich nicht updaten (Linux):
bitte niemals nicht nix eigenmächtig machen, wenn dir verducht wird zu helfen
Stimmt war eine doofe Idee -
-
@hans-jürgen-strudler Dann warte jetzt mal bis er mit dem Neubau aller Adapter fertig ist.
-
@homoran sagte in io Broker lässt sich nicht updaten (Linux):
@hans-jürgen-strudler sagte in io Broker lässt sich nicht updaten (Linux):
sah ca. so aus:
und auch diesmal:
aus dem Zusammenhang gerissen nutzt das gar nichts@Hans-Jürgen-Strudler
auf den controller kann sich das ja nicht bezogen haben, der ist ja jetzt auf v5.x -
@homoran said in io Broker lässt sich nicht updaten (Linux):
Dann warte jetzt mal bis er mit dem Neubau aller Adapter fertig ist.
ist es normal, dass die Weboberfläche derzeit nicht erreichbar ist?
-
@hans-jürgen-strudler sagte in io Broker lässt sich nicht updaten (Linux):
ist es normal, dass die Weboberfläche derzeit nicht erreichbar ist?
nein!
aber du hattest zweimal admin auf dem selben portbeobachte dann über Konsole mit
iob logs --watch
und nicht irgendwo eingreifen -
@homoran said in io Broker lässt sich nicht updaten (Linux):
beobachte dann über Konsole mit iob logs --watch und nicht irgendwo eingreifen
Das ist das Ergebnis (nur die letzten Zeilen, da sonst zu lange):
2024-04-26 16:23:05.616 - error: host.rasphj Caught by controller[0]: node:internal/modules/cjs/loader:1143 2024-04-26 16:23:05.617 - error: host.rasphj Caught by controller[0]: throw err; 2024-04-26 16:23:05.618 - error: host.rasphj Caught by controller[0]: ^ 2024-04-26 16:23:05.618 - error: host.rasphj Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/tools' 2024-04-26 16:23:05.618 - error: host.rasphj Caught by controller[0]: Require stack: 2024-04-26 16:23:05.619 - error: host.rasphj Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.discovery/main.js 2024-04-26 16:23:05.619 - error: host.rasphj Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) 2024-04-26 16:23:05.619 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27) 2024-04-26 16:23:05.619 - error: host.rasphj Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) 2024-04-26 16:23:05.620 - error: host.rasphj Caught by controller[0]: at require (node:internal/modules/helpers:177:18) 2024-04-26 16:23:05.620 - error: host.rasphj Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.discovery/main.js:17:21) 2024-04-26 16:23:05.620 - error: host.rasphj Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14) 2024-04-26 16:23:05.620 - error: host.rasphj Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) 2024-04-26 16:23:05.621 - error: host.rasphj Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32) 2024-04-26 16:23:05.621 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12) 2024-04-26 16:23:05.621 - error: host.rasphj Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) { 2024-04-26 16:23:05.621 - error: host.rasphj Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-04-26 16:23:05.622 - error: host.rasphj Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.discovery/main.js' ] 2024-04-26 16:23:05.622 - error: host.rasphj Caught by controller[0]: } 2024-04-26 16:23:05.622 - error: host.rasphj Caught by controller[0]: Node.js v18.20.2 2024-04-26 16:23:05.623 - error: host.rasphj instance system.adapter.discovery.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-04-26 16:23:05.623 - info: host.rasphj Adapter system.adapter.discovery.0 needs rebuild and will be restarted afterwards. 2024-04-26 16:23:05.624 - info: host.rasphj system.adapter.discovery.0 will be rebuilt 2024-04-26 16:23:05.838 - error: host.rasphj Caught by controller[0]: node:internal/modules/cjs/loader:1143 2024-04-26 16:23:05.838 - error: host.rasphj Caught by controller[0]: throw err; 2024-04-26 16:23:05.838 - error: host.rasphj Caught by controller[0]: ^ 2024-04-26 16:23:05.838 - error: host.rasphj Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js' 2024-04-26 16:23:05.839 - error: host.rasphj Caught by controller[0]: Require stack: 2024-04-26 16:23:05.839 - error: host.rasphj Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.admin/main.js 2024-04-26 16:23:05.839 - error: host.rasphj Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) 2024-04-26 16:23:05.839 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27) 2024-04-26 16:23:05.839 - error: host.rasphj Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) 2024-04-26 16:23:05.839 - error: host.rasphj Caught by controller[0]: at require (node:internal/modules/helpers:177:18) 2024-04-26 16:23:05.840 - error: host.rasphj Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:18:18) 2024-04-26 16:23:05.840 - error: host.rasphj Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14) 2024-04-26 16:23:05.840 - error: host.rasphj Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) 2024-04-26 16:23:05.840 - error: host.rasphj Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32) 2024-04-26 16:23:05.840 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12) 2024-04-26 16:23:05.840 - error: host.rasphj Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) { 2024-04-26 16:23:05.841 - error: host.rasphj Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-04-26 16:23:05.841 - error: host.rasphj Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.admin/main.js' ] 2024-04-26 16:23:05.841 - error: host.rasphj Caught by controller[0]: } 2024-04-26 16:23:05.841 - error: host.rasphj Caught by controller[0]: Node.js v18.20.2 2024-04-26 16:23:05.841 - error: host.rasphj instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-04-26 16:23:05.841 - info: host.rasphj Adapter system.adapter.admin.0 needs rebuild and will be restarted afterwards. 2024-04-26 16:23:05.842 - info: host.rasphj system.adapter.admin.0 will be rebuilt 2024-04-26 16:23:05.907 - error: host.rasphj Caught by controller[0]: node:internal/modules/cjs/loader:1143 2024-04-26 16:23:05.907 - error: host.rasphj Caught by controller[0]: throw err; 2024-04-26 16:23:05.907 - error: host.rasphj Caught by controller[0]: ^ 2024-04-26 16:23:05.908 - error: host.rasphj Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js' 2024-04-26 16:23:05.908 - error: host.rasphj Caught by controller[0]: Require stack: 2024-04-26 16:23:05.908 - error: host.rasphj Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.web/main.js 2024-04-26 16:23:05.908 - error: host.rasphj Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) 2024-04-26 16:23:05.908 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27) 2024-04-26 16:23:05.908 - error: host.rasphj Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) 2024-04-26 16:23:05.909 - error: host.rasphj Caught by controller[0]: at require (node:internal/modules/helpers:177:18) 2024-04-26 16:23:05.909 - error: host.rasphj Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.web/main.js:10:21) 2024-04-26 16:23:05.909 - error: host.rasphj Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14) 2024-04-26 16:23:05.909 - error: host.rasphj Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) 2024-04-26 16:23:05.909 - error: host.rasphj Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32) 2024-04-26 16:23:05.909 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12) 2024-04-26 16:23:05.910 - error: host.rasphj Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) { 2024-04-26 16:23:05.910 - error: host.rasphj Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-04-26 16:23:05.910 - error: host.rasphj Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.web/main.js' ] 2024-04-26 16:23:05.910 - error: host.rasphj Caught by controller[0]: } 2024-04-26 16:23:05.910 - error: host.rasphj Caught by controller[0]: Node.js v18.20.2 2024-04-26 16:23:05.910 - error: host.rasphj instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-04-26 16:23:05.911 - info: host.rasphj Adapter system.adapter.web.0 needs rebuild of iobroker.js-controller and will be restarted afterwards. 2024-04-26 16:23:05.911 - info: host.rasphj system.adapter.web.0 will be rebuilt (Args: {"path":"/opt/iobroker/node_modules","module":"iobroker.js-controller","version":"5.0.19"}) 2024-04-26 16:23:09.675 - info: host.rasphj iobroker npm-install: NPM version: 10.5.0 2024-04-26 16:23:09.678 - info: host.rasphj iobroker npm-install: Installing iobroker.heytech@1.0.5... (System call) 2024-04-26 16:23:15.923 - error: host.rasphj iobroker npm-install: npm ERR! code EBADENGINEnpm ERR! engine Unsupported enginenpm ERR! engine Not compatible with your version of node/npm: iobroker.heytech@1.0.5npm ERR! notsup Not compatible with your version of node/npm: iobroker.heytech@1.0.5npm ERR! notsup Required: {"node":">=8 <13"}npm ERR! notsup Actual: {"npm":"10.5.0","node":"v18.20.2"}npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-04-26T14_23_10_738Z-debug-0.log 2024-04-26 16:23:15.924 - error: host.rasphj iobroker npm-install: host.rasphj Cannot install iobroker.heytech@1.0.5: 1 2024-04-26 16:23:16.955 - info: host.rasphj iobroker npm-install: exit 25 2024-04-26 16:23:17.956 - warn: host.rasphj adapter "discovery" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt 2024-04-26 16:23:17.957 - info: host.rasphj iobroker rebuild 2024-04-26 16:23:19.754 - info: host.rasphj iobroker npm-rebuild: Rebuilding native modules ... 2024-04-26 16:23:48.352 - info: vis.0 (18269) starting. Version 1.4.5 in /opt/iobroker/node_modules/iobroker.vis, node: v18.20.2, js-controller: 5.0.19 2024-04-26 16:23:48.637 - info: vis.0 (18269) vis license is OK. 2024-04-26 16:23:49.642 - info: vis.0 (18269) Terminated (NO_ERROR): Without reason 2024-04-26 16:24:23.351 - info: host.rasphj iobroker npm-rebuild: rebuilt dependencies successfully 2024-04-26 16:24:23.385 - info: host.rasphj iobroker npm-rebuild: 2024-04-26 16:24:23.386 - info: host.rasphj iobroker npm-rebuild: Rebuilding native modules done 2024-04-26 16:24:24.399 - info: host.rasphj iobroker npm-rebuild: exit 0 2024-04-26 16:24:24.692 - info: host.rasphj instance system.adapter.discovery.0 started with pid 18660 2024-04-26 16:24:24.702 - info: host.rasphj instance system.adapter.admin.0 started with pid 18661 2024-04-26 16:24:24.711 - info: host.rasphj instance system.adapter.web.0 started with pid 18662 2024-04-26 16:24:25.405 - warn: host.rasphj startInstance cannot find adapter "heytech@1.0.5". Try to install it... 4 attempt 2024-04-26 16:24:25.406 - info: host.rasphj iobroker install heytech@1.0.5 using installedVersion 2024-04-26 16:24:26.853 - error: host.rasphj Caught by controller[0]: node:internal/modules/cjs/loader:1143 2024-04-26 16:24:26.854 - error: host.rasphj Caught by controller[0]: throw err; 2024-04-26 16:24:26.854 - error: host.rasphj Caught by controller[0]: ^ 2024-04-26 16:24:26.855 - error: host.rasphj Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/tools' 2024-04-26 16:24:26.855 - error: host.rasphj Caught by controller[0]: Require stack: 2024-04-26 16:24:26.855 - error: host.rasphj Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.discovery/main.js 2024-04-26 16:24:26.856 - error: host.rasphj Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) 2024-04-26 16:24:26.856 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27) 2024-04-26 16:24:26.856 - error: host.rasphj Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) 2024-04-26 16:24:26.857 - error: host.rasphj Caught by controller[0]: at require (node:internal/modules/helpers:177:18) 2024-04-26 16:24:26.857 - error: host.rasphj Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.discovery/main.js:17:21) 2024-04-26 16:24:26.858 - error: host.rasphj Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14) 2024-04-26 16:24:26.858 - error: host.rasphj Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) 2024-04-26 16:24:26.858 - error: host.rasphj Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32) 2024-04-26 16:24:26.859 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12) 2024-04-26 16:24:26.859 - error: host.rasphj Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) { 2024-04-26 16:24:26.859 - error: host.rasphj Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-04-26 16:24:26.860 - error: host.rasphj Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.discovery/main.js' ] 2024-04-26 16:24:26.860 - error: host.rasphj Caught by controller[0]: } 2024-04-26 16:24:26.860 - error: host.rasphj Caught by controller[0]: Node.js v18.20.2 2024-04-26 16:24:26.861 - error: host.rasphj instance system.adapter.discovery.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-04-26 16:24:26.861 - info: host.rasphj Rebuild for adapter system.adapter.discovery.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually. 2024-04-26 16:24:26.863 - error: host.rasphj Caught by controller[0]: node:internal/modules/cjs/loader:1143 2024-04-26 16:24:26.864 - error: host.rasphj Caught by controller[0]: throw err; 2024-04-26 16:24:26.864 - error: host.rasphj Caught by controller[0]: ^ 2024-04-26 16:24:26.865 - error: host.rasphj Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js' 2024-04-26 16:24:26.865 - error: host.rasphj Caught by controller[0]: Require stack: 2024-04-26 16:24:26.865 - error: host.rasphj Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.admin/main.js 2024-04-26 16:24:26.865 - error: host.rasphj Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) 2024-04-26 16:24:26.866 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27) 2024-04-26 16:24:26.866 - error: host.rasphj Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) 2024-04-26 16:24:26.866 - error: host.rasphj Caught by controller[0]: at require (node:internal/modules/helpers:177:18) 2024-04-26 16:24:26.867 - error: host.rasphj Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:18:18) 2024-04-26 16:24:26.867 - error: host.rasphj Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14) 2024-04-26 16:24:26.868 - error: host.rasphj Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) 2024-04-26 16:24:26.868 - error: host.rasphj Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32) 2024-04-26 16:24:26.868 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12) 2024-04-26 16:24:26.869 - error: host.rasphj Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) { 2024-04-26 16:24:26.869 - error: host.rasphj Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-04-26 16:24:26.869 - error: host.rasphj Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.admin/main.js' ] 2024-04-26 16:24:26.870 - error: host.rasphj Caught by controller[0]: } 2024-04-26 16:24:26.870 - error: host.rasphj Caught by controller[0]: Node.js v18.20.2 2024-04-26 16:24:26.870 - error: host.rasphj instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-04-26 16:24:26.871 - info: host.rasphj Rebuild for adapter system.adapter.admin.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually. 2024-04-26 16:24:27.173 - error: host.rasphj Caught by controller[0]: node:internal/modules/cjs/loader:1143 2024-04-26 16:24:27.174 - error: host.rasphj Caught by controller[0]: throw err; 2024-04-26 16:24:27.174 - error: host.rasphj Caught by controller[0]: ^ 2024-04-26 16:24:27.174 - error: host.rasphj Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js' 2024-04-26 16:24:27.174 - error: host.rasphj Caught by controller[0]: Require stack: 2024-04-26 16:24:27.175 - error: host.rasphj Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.web/main.js 2024-04-26 16:24:27.175 - error: host.rasphj Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) 2024-04-26 16:24:27.175 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27) 2024-04-26 16:24:27.176 - error: host.rasphj Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) 2024-04-26 16:24:27.176 - error: host.rasphj Caught by controller[0]: at require (node:internal/modules/helpers:177:18) 2024-04-26 16:24:27.176 - error: host.rasphj Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.web/main.js:10:21) 2024-04-26 16:24:27.177 - error: host.rasphj Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14) 2024-04-26 16:24:27.177 - error: host.rasphj Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) 2024-04-26 16:24:27.177 - error: host.rasphj Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32) 2024-04-26 16:24:27.178 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12) 2024-04-26 16:24:27.178 - error: host.rasphj Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) { 2024-04-26 16:24:27.178 - error: host.rasphj Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-04-26 16:24:27.178 - error: host.rasphj Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.web/main.js' ] 2024-04-26 16:24:27.178 - error: host.rasphj Caught by controller[0]: } 2024-04-26 16:24:27.179 - error: host.rasphj Caught by controller[0]: Node.js v18.20.2 2024-04-26 16:24:27.179 - error: host.rasphj instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-04-26 16:24:27.179 - info: host.rasphj Adapter system.adapter.web.0 needs rebuild and will be restarted afterwards. 2024-04-26 16:24:27.180 - info: host.rasphj system.adapter.web.0 will be rebuilt 2024-04-26 16:24:30.676 - info: host.rasphj iobroker npm-install: NPM version: 10.5.0 2024-04-26 16:24:30.679 - info: host.rasphj iobroker npm-install: Installing iobroker.heytech@1.0.5... (System call) 2024-04-26 16:24:38.037 - error: host.rasphj iobroker npm-install: npm ERR! code EBADENGINEnpm ERR! engine Unsupported enginenpm ERR! engine Not compatible with your version of node/npm: iobroker.heytech@1.0.5npm ERR! notsup Not compatible with your version of node/npm: iobroker.heytech@1.0.5npm ERR! notsup Required: {"node":">=8 <13"}npm ERR! notsup Actual: {"npm":"10.5.0","node":"v18.20.2"}npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-04-26T14_24_31_757Z-debug-0.log 2024-04-26 16:24:38.038 - error: host.rasphj iobroker npm-install: host.rasphj Cannot install iobroker.heytech@1.0.5: 1 2024-04-26 16:24:39.069 - info: host.rasphj iobroker npm-install: exit 25 2024-04-26 16:24:40.070 - warn: host.rasphj adapter "web" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt 2024-04-26 16:24:40.071 - info: host.rasphj iobroker rebuild 2024-04-26 16:24:41.868 - info: host.rasphj iobroker npm-rebuild: Rebuilding native modules ... 2024-04-26 16:25:11.870 - info: vis.0 (19415) starting. Version 1.4.5 in /opt/iobroker/node_modules/iobroker.vis, node: v18.20.2, js-controller: 5.0.19 2024-04-26 16:25:12.181 - info: vis.0 (19415) vis license is OK. 2024-04-26 16:25:13.263 - info: vis.0 (19415) Terminated (NO_ERROR): Without reason 2024-04-26 16:25:38.876 - info: host.rasphj iobroker npm-rebuild: rebuilt dependencies successfully 2024-04-26 16:25:38.912 - info: host.rasphj iobroker npm-rebuild: 2024-04-26 16:25:38.913 - info: host.rasphj iobroker npm-rebuild: Rebuilding native modules done 2024-04-26 16:25:39.928 - info: host.rasphj iobroker npm-rebuild: exit 0 2024-04-26 16:25:40.067 - info: host.rasphj instance system.adapter.web.0 started with pid 19767 2024-04-26 16:25:40.931 - error: host.rasphj Cannot download and install adapter "heytech@1.0.5". To retry it disable/enable the adapter or restart host. Also check the error messages in the log! 2024-04-26 16:25:41.921 - error: host.rasphj Caught by controller[0]: node:internal/modules/cjs/loader:1143 2024-04-26 16:25:41.921 - error: host.rasphj Caught by controller[0]: throw err; 2024-04-26 16:25:41.921 - error: host.rasphj Caught by controller[0]: ^ 2024-04-26 16:25:41.922 - error: host.rasphj Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js' 2024-04-26 16:25:41.922 - error: host.rasphj Caught by controller[0]: Require stack: 2024-04-26 16:25:41.922 - error: host.rasphj Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.web/main.js 2024-04-26 16:25:41.922 - error: host.rasphj Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) 2024-04-26 16:25:41.922 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27) 2024-04-26 16:25:41.923 - error: host.rasphj Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) 2024-04-26 16:25:41.923 - error: host.rasphj Caught by controller[0]: at require (node:internal/modules/helpers:177:18) 2024-04-26 16:25:41.923 - error: host.rasphj Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.web/main.js:10:21) 2024-04-26 16:25:41.923 - error: host.rasphj Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14) 2024-04-26 16:25:41.923 - error: host.rasphj Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) 2024-04-26 16:25:41.923 - error: host.rasphj Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32) 2024-04-26 16:25:41.924 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12) 2024-04-26 16:25:41.924 - error: host.rasphj Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) { 2024-04-26 16:25:41.924 - error: host.rasphj Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-04-26 16:25:41.924 - error: host.rasphj Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.web/main.js' ] 2024-04-26 16:25:41.924 - error: host.rasphj Caught by controller[0]: } 2024-04-26 16:25:41.925 - error: host.rasphj Caught by controller[0]: Node.js v18.20.2 2024-04-26 16:25:41.925 - error: host.rasphj instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-04-26 16:25:41.925 - info: host.rasphj Rebuild for adapter system.adapter.web.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
-
@hans-jürgen-strudler sagte in io Broker lässt sich nicht updaten (Linux):
error: host.rasphj iobroker npm-install: npm ERR! code EBADENGINEnpm ERR! engine Unsupported enginenpm ERR! engine Not compatible with your version of node/npm: iobroker.heytech@1.0.5npm ERR! notsup Not compatible with your version of node/npm: iobroker.heytech@1.0.5npm ERR! notsup Required: {"node":">=8 <13"}npm ERR! notsup Actual: {"npm":"10.5.0","node":"v18.20.2"}npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-04-26T14_24_31_757Z-debug-0.log
20da isser ja!
Der Rest ist natürlich Mist.
Jetzt hast du node und Controller upgedatet.Außerdem hattest du ja noch extraneous im npm log gehabt.
Vielleicht hat @thomas-braun noch ne Idee.
-
@hans-jürgen-strudler said in io Broker lässt sich nicht updaten (Linux):
(nur die letzten Zeilen, da sonst zu lange):
hier ein Auszug von den Error Zeilen
2024-04-26 16:12:44.343 - error: host.rasphj iobroker npm-install: host.rasphj Invalid version of "admin". Installed "5.1.25", required ">=5.1.28" 2024-04-26 16:12:46.377 - warn: host.rasphj startInstance cannot find adapter "net-tools". Try to install it... 1 attempt 2024-04-26 16:13:07.751 - error: host.rasphj iobroker npm-install: host.rasphj Invalid version of "admin". Installed "5.1.25", required ">=6.13.15" 2024-04-26 16:13:09.784 - warn: host.rasphj startInstance cannot find adapter "ping". Try to install it... 1 attempt 2024-04-26 16:13:24.644 - warn: host.rasphj startInstance cannot find adapter "shuttercontrol@1.2.1". Try to install it... 1 attempt 2024-04-26 16:13:40.311 - warn: host.rasphj startInstance cannot find adapter "heytech@1.0.5". Try to install it... 1 attempt 2024-04-26 16:13:50.827 - error: host.rasphj iobroker npm-install: npm ERR! code EBADENGINEnpm ERR! engine Unsupported enginenpm ERR! engine Not compatible with your version of node/npm: iobroker.heytech@1.0.5npm ERR! notsup Not compatible with your version of node/npm: iobroker.heytech@1.0.5npm ERR! notsup Required: {"node":">=8 <13"}npm ERR! notsup Actual: {"npm":"10.5.0","node":"v18.20.2"}npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-04-26T14_13_45_983Z-debug-0.log 2024-04-26 16:13:50.828 - error: host.rasphj iobroker npm-install: host.rasphj Cannot install iobroker.heytech@1.0.5: 1 2024-04-26 16:13:52.864 - warn: host.rasphj startInstance cannot find adapter "flot". Try to install it... 1 attempt 2024-04-26 16:13:57.708 - warn: host.rasphj startInstance cannot find adapter "elero-usb-transmitter@0.5.2". Try to install it... 1 attempt 2024-04-26 16:16:00.502 - warn: host.rasphj startInstance cannot find adapter "history@1.9.14". Try to install it... 1 attempt 2024-04-26 16:16:18.909 - error: host.rasphj iobroker npm-install: host.rasphj Invalid version of "admin". Installed "5.1.25", required ">=5.1.28" 2024-04-26 16:16:20.940 - warn: host.rasphj startInstance cannot find adapter "sonoff@2.4.5". Try to install it... 1 attempt 2024-04-26 16:16:36.159 - warn: host.rasphj startInstance cannot find adapter "nuki-extended@2.3.1". Try to install it... 1 attempt 2024-04-26 16:16:55.100 - warn: host.rasphj startInstance cannot find adapter "rpi2@1.3.1". Try to install it... 1 attempt 2024-04-26 16:16:59.371 - warn: nuki-extended.0 (14121) Callback not attached because too many Callbacks attached to the Nuki Bridge already! Please delete a callback! 2024-04-26 16:17:36.447 - warn: host.rasphj adapter "discovery" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt 2024-04-26 16:18:04.280 - warn: host.rasphj Slave controller detected disconnection. Stop all instances. 2024-04-26 16:18:05.121 - error: host.rasphj Cannot find view "system" for search "instance" : Connection is closed. 2024-04-26 16:18:05.123 - error: host.rasphj Cannot find view "system" for search "instance" : Connection is closed. 2024-04-26 16:18:05.124 - error: host.rasphj Cannot find view "system" for search "instance" : Connection is closed. 2024-04-26 16:18:05.144 - error: host.rasphj Cannot find view "system" for search "instance" : Connection is closed. 2024-04-26 16:18:25.102 - error: host.rasphj Caught by controller[0]: node:internal/modules/cjs/loader:1143 2024-04-26 16:18:25.103 - error: host.rasphj Caught by controller[0]: throw err; 2024-04-26 16:18:25.104 - error: host.rasphj Caught by controller[0]: ^ 2024-04-26 16:18:25.104 - error: host.rasphj Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js' 2024-04-26 16:18:25.105 - error: host.rasphj Caught by controller[0]: Require stack: 2024-04-26 16:18:25.105 - error: host.rasphj Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.admin/main.js 2024-04-26 16:18:25.105 - error: host.rasphj Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) 2024-04-26 16:18:25.106 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27) 2024-04-26 16:18:25.106 - error: host.rasphj Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) 2024-04-26 16:18:25.107 - error: host.rasphj Caught by controller[0]: at require (node:internal/modules/helpers:177:18) 2024-04-26 16:18:25.108 - error: host.rasphj Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:18:18) 2024-04-26 16:18:25.108 - error: host.rasphj Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14) 2024-04-26 16:18:25.108 - error: host.rasphj Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) 2024-04-26 16:18:25.109 - error: host.rasphj Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32) 2024-04-26 16:18:25.109 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12) 2024-04-26 16:18:25.109 - error: host.rasphj Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) { 2024-04-26 16:18:25.110 - error: host.rasphj Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-04-26 16:18:25.110 - error: host.rasphj Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.admin/main.js' ] 2024-04-26 16:18:25.110 - error: host.rasphj Caught by controller[0]: } 2024-04-26 16:18:25.111 - error: host.rasphj Caught by controller[0]: Node.js v18.20.2 2024-04-26 16:18:25.111 - error: host.rasphj instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-04-26 16:18:35.188 - error: host.rasphj iobroker npm-install: npm ERR! code EBADENGINEnpm ERR! engine Unsupported enginenpm ERR! engine Not compatible with your version of node/npm: iobroker.heytech@1.0.5npm ERR! notsup Not compatible with your version of node/npm: iobroker.heytech@1.0.5npm ERR! notsup Required: {"node":">=8 <13"}npm ERR! notsup Actual: {"npm":"10.5.0","node":"v18.20.2"}npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-04-26T14_18_29_163Z-debug-0.log 2024-04-26 16:18:35.189 - error: host.rasphj iobroker npm-install: host.rasphj Cannot install iobroker.heytech@1.0.5: 1 2024-04-26 16:18:37.280 - warn: host.rasphj adapter "admin" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt 2024-04-26 16:18:49.984 - error: host.rasphj Caught by controller[0]: node:internal/modules/cjs/loader:1143 2024-04-26 16:18:49.984 - error: host.rasphj Caught by controller[0]: throw err; 2024-04-26 16:18:49.985 - error: host.rasphj Caught by controller[0]: ^ 2024-04-26 16:18:49.986 - error: host.rasphj Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/tools' 2024-04-26 16:18:49.986 - error: host.rasphj Caught by controller[0]: Require stack: 2024-04-26 16:18:49.987 - error: host.rasphj Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.discovery/main.js 2024-04-26 16:18:49.987 - error: host.rasphj Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) 2024-04-26 16:18:49.987 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27) 2024-04-26 16:18:49.988 - error: host.rasphj Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) 2024-04-26 16:18:49.988 - error: host.rasphj Caught by controller[0]: at require (node:internal/modules/helpers:177:18) 2024-04-26 16:18:49.989 - error: host.rasphj Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.discovery/main.js:17:21) 2024-04-26 16:18:49.989 - error: host.rasphj Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14) 2024-04-26 16:18:49.990 - error: host.rasphj Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) 2024-04-26 16:18:49.990 - error: host.rasphj Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32) 2024-04-26 16:18:49.991 - error: host.rasphj Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12) 2024-04-26 16:18:49.992 - error: host.rasphj Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) { 2024-04-26 16:18:49.993 - error: host.rasphj Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2024-04-26 16:18:49.993 - error: host.rasphj Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.discovery/main.js' ] 2024-04-26 16:18:49.994 - error: host.rasphj Caught by controller[0]: } 2024-04-26 16:18:49.994 - error: host.rasphj Caught by controller[1]: Node.js v18.20.2 2024-04-26 16:18:49.995 - error: host.rasphj instance system.adapter.discovery.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-04-26 16:25:41.925 - info: host.rasphj Rebuild for adapter system.adapter.web.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
-
@homoran said in io Broker lässt sich nicht updaten (Linux):
Vielleicht hat @thomas-braun noch ne Idee.
kann das helfen?
Please execute "npm install --production" in adapter directory manually.
npm install --production
-
@hans-jürgen-strudler sagte in io Broker lässt sich nicht updaten (Linux):
hier ein Auszug von den Error Zeilen
teilweise vollkommen ok!
Die Adapter müssen für das neue node neu gebaut werden. 1st attempt ist also korrekt.Andere Adapter benötigen eine höhere Version vom admin, bei dem es allerdings klemmt
heytech ist anscheinend zu alt und nicht mehr unterstützt, oder über github installiert worden???
@hans-jürgen-strudler sagte in io Broker lässt sich nicht updaten (Linux):
system.adapter.web.0 not successful in 3 tries. Adapter will not be restarted again
warum das hängt sehe ich jetzt nicht
-
@hans-jürgen-strudler sagte in io Broker lässt sich nicht updaten (Linux):
kann das helfen?
lass erst einmal alle Eingriffe sein!
gibt es neuere log Zeilen als von 16:25?
-
Nein. Das war die letzte Zeile
2024-04-26 16:25:41.925 - info: host.rasphj Rebuild for adapter system.adapter.web.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
-
@hans-jürgen-strudler sagte in io Broker lässt sich nicht updaten (Linux):
iob stop
hattest du iobroker gestoppt, während dieser dabei war die Adapter neu zu bauen?
-
@homoran said in io Broker lässt sich nicht updaten (Linux):
oder über github installiert worden???
Das weiß ich nicht mehr woher ich es installiert habe.
-
@hans-jürgen-strudler sagte in io Broker lässt sich nicht updaten (Linux):
Nein. Das war die letzte Zeile
und bei einem neuen
iob logs --watch
??ok, dann ist da was schiefgelaufen
bitte wenn nichts neues kommt aktuellen iob diag posten
-
@homoran said in io Broker lässt sich nicht updaten (Linux):
hattest du iobroker gestoppt, während dieser dabei war die Adapter neu zu bauen?
ich war auf der Weboberfläche und er hat mich informiert, dass das Filesystem geändert wird.
sonst war nichts -
@hans-jürgen-strudler sagte in io Broker lässt sich nicht updaten (Linux):
sonst war nichts
und wann hattest du den controller upgedatet?
ohne node v18.20.2 ging das doch nicht