NEWS
Updateprobleme
-
Hallo Leute,
vielleicht könnt ihr mir weiterhelfen. Ich betreibe eine buanet iobroker Installation in Docker auf PI und hab nun schon mehrfach versucht die Installation zu aktualisieren. Leider bisher ohne Erfolg. Dazu kommt, dass der backitup Adapter nicht mehr funktioniert und ein up- oder downgrade von dem Adapter leider nicht funktioniert. Ich habe aber ein FS Backup, das zum restore taugt. Soweit so gut.----- arch: armv7l -----
----- hostname: iobroker -----
----- Docker-Image -----
----- image: v7.0.1 -----
----- build: 2022-07-05T18:51:49+00:00 -----
----- Versions -----
----- node: v14.19.3 -----
----- npm: 6.14.17Als erstes habe ich versucht, den nodejs controller zu aktualisieren:
- docker exec -it <Container-ID> bash
- maintenance upgrade
Das hat nicht funktioniert und ist mit einem Fehler abgebrochen, daraufhin: pkill io oder pkill -u iobroker
curl -sL https://iobroker.net/fix.sh | bash -
maintenance upgrade
Das ist dann abgebrochen:
debug-Log Auszug:
5204 info lifecycle iobroker.js-controller@4.0.24~install: iobroker.js-controller@4.0.24 5205 verbose lifecycle iobroker.js-controller@4.0.24~install: unsafe-perm in lifecycle true 5206 verbose lifecycle iobroker.js-controller@4.0.24~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin:/opt/iobroker/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 5207 verbose lifecycle iobroker.js-controller@4.0.24~install: CWD: /opt/iobroker/node_modules/iobroker.js-controller 5208 silly lifecycle iobroker.js-controller@4.0.24~install: Args: [ '-c', 'node iobroker.js setup first' ] 5209 silly lifecycle iobroker.js-controller@4.0.24~install: Returned: code: 32 signal: null 5210 info lifecycle iobroker.js-controller@4.0.24~install: Failed to exec install script 5211 timing action:install Completed in 34239ms 5212 verbose unlock done using /opt/iobroker/.npm/_locks/staging-66d2468782e8ffc7.lock for /opt/iobroker/node_modules/.staging 5213 timing stage:rollbackFailedOptional Completed in 3448ms 5214 timing stage:runTopLevelLifecycles Completed in 147802ms 5215 silly saveTree iobroker.inst@1.1.2 ... 5216 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): 5217 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: arm 5219 warn babel-eslint@10.1.0 requires a peer of eslint@>= 4.12.1 but none is installed. You must install peer dependencies yourself. 5220 verbose stack Error: iobroker.js-controller@4.0.24 install: `node iobroker.js setup first` 5220 verbose stack Exit status 32 5220 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 5220 verbose stack at EventEmitter.emit (events.js:400:28) 5220 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 5220 verbose stack at ChildProcess.emit (events.js:400:28) 5220 verbose stack at maybeClose (internal/child_process.js:1088:16) 5220 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5) 5221 verbose pkgid iobroker.js-controller@4.0.24 5222 verbose cwd /opt/iobroker 5223 verbose Linux 5.10.63-v7+ 5224 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@4.0.24" "--loglevel" "error" "--unsafe-perm" "--prefix" "/opt/iobroker" 5225 verbose node v14.21.1 5226 verbose npm v6.14.17 5227 error code ELIFECYCLE 5228 error errno 32 5229 error iobroker.js-controller@4.0.24 install: `node iobroker.js setup first` 5229 error Exit status 32 5230 error Failed at the iobroker.js-controller@4.0.24 install script. 5230 error This is probably not a problem with npm. There is likely additional logging output above. 5231 verbose exit [ 32, true ]Hat jemand eine Idee?
Braucht ihr noch weitere Informationen?MOD EDIT: LOG IN CODE TAGS GESETZT </>
-
Hallo Leute,
vielleicht könnt ihr mir weiterhelfen. Ich betreibe eine buanet iobroker Installation in Docker auf PI und hab nun schon mehrfach versucht die Installation zu aktualisieren. Leider bisher ohne Erfolg. Dazu kommt, dass der backitup Adapter nicht mehr funktioniert und ein up- oder downgrade von dem Adapter leider nicht funktioniert. Ich habe aber ein FS Backup, das zum restore taugt. Soweit so gut.----- arch: armv7l -----
----- hostname: iobroker -----
----- Docker-Image -----
----- image: v7.0.1 -----
----- build: 2022-07-05T18:51:49+00:00 -----
----- Versions -----
----- node: v14.19.3 -----
----- npm: 6.14.17Als erstes habe ich versucht, den nodejs controller zu aktualisieren:
- docker exec -it <Container-ID> bash
- maintenance upgrade
Das hat nicht funktioniert und ist mit einem Fehler abgebrochen, daraufhin: pkill io oder pkill -u iobroker
curl -sL https://iobroker.net/fix.sh | bash -
maintenance upgrade
Das ist dann abgebrochen:
debug-Log Auszug:
5204 info lifecycle iobroker.js-controller@4.0.24~install: iobroker.js-controller@4.0.24 5205 verbose lifecycle iobroker.js-controller@4.0.24~install: unsafe-perm in lifecycle true 5206 verbose lifecycle iobroker.js-controller@4.0.24~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin:/opt/iobroker/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 5207 verbose lifecycle iobroker.js-controller@4.0.24~install: CWD: /opt/iobroker/node_modules/iobroker.js-controller 5208 silly lifecycle iobroker.js-controller@4.0.24~install: Args: [ '-c', 'node iobroker.js setup first' ] 5209 silly lifecycle iobroker.js-controller@4.0.24~install: Returned: code: 32 signal: null 5210 info lifecycle iobroker.js-controller@4.0.24~install: Failed to exec install script 5211 timing action:install Completed in 34239ms 5212 verbose unlock done using /opt/iobroker/.npm/_locks/staging-66d2468782e8ffc7.lock for /opt/iobroker/node_modules/.staging 5213 timing stage:rollbackFailedOptional Completed in 3448ms 5214 timing stage:runTopLevelLifecycles Completed in 147802ms 5215 silly saveTree iobroker.inst@1.1.2 ... 5216 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): 5217 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: arm 5219 warn babel-eslint@10.1.0 requires a peer of eslint@>= 4.12.1 but none is installed. You must install peer dependencies yourself. 5220 verbose stack Error: iobroker.js-controller@4.0.24 install: `node iobroker.js setup first` 5220 verbose stack Exit status 32 5220 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 5220 verbose stack at EventEmitter.emit (events.js:400:28) 5220 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 5220 verbose stack at ChildProcess.emit (events.js:400:28) 5220 verbose stack at maybeClose (internal/child_process.js:1088:16) 5220 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5) 5221 verbose pkgid iobroker.js-controller@4.0.24 5222 verbose cwd /opt/iobroker 5223 verbose Linux 5.10.63-v7+ 5224 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@4.0.24" "--loglevel" "error" "--unsafe-perm" "--prefix" "/opt/iobroker" 5225 verbose node v14.21.1 5226 verbose npm v6.14.17 5227 error code ELIFECYCLE 5228 error errno 32 5229 error iobroker.js-controller@4.0.24 install: `node iobroker.js setup first` 5229 error Exit status 32 5230 error Failed at the iobroker.js-controller@4.0.24 install script. 5230 error This is probably not a problem with npm. There is likely additional logging output above. 5231 verbose exit [ 32, true ]Hat jemand eine Idee?
Braucht ihr noch weitere Informationen?MOD EDIT: LOG IN CODE TAGS GESETZT </>
-
Hallo Leute,
vielleicht könnt ihr mir weiterhelfen. Ich betreibe eine buanet iobroker Installation in Docker auf PI und hab nun schon mehrfach versucht die Installation zu aktualisieren. Leider bisher ohne Erfolg. Dazu kommt, dass der backitup Adapter nicht mehr funktioniert und ein up- oder downgrade von dem Adapter leider nicht funktioniert. Ich habe aber ein FS Backup, das zum restore taugt. Soweit so gut.----- arch: armv7l -----
----- hostname: iobroker -----
----- Docker-Image -----
----- image: v7.0.1 -----
----- build: 2022-07-05T18:51:49+00:00 -----
----- Versions -----
----- node: v14.19.3 -----
----- npm: 6.14.17Als erstes habe ich versucht, den nodejs controller zu aktualisieren:
- docker exec -it <Container-ID> bash
- maintenance upgrade
Das hat nicht funktioniert und ist mit einem Fehler abgebrochen, daraufhin: pkill io oder pkill -u iobroker
curl -sL https://iobroker.net/fix.sh | bash -
maintenance upgrade
Das ist dann abgebrochen:
debug-Log Auszug:
5204 info lifecycle iobroker.js-controller@4.0.24~install: iobroker.js-controller@4.0.24 5205 verbose lifecycle iobroker.js-controller@4.0.24~install: unsafe-perm in lifecycle true 5206 verbose lifecycle iobroker.js-controller@4.0.24~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/iobroker/node_modules/iobroker.js-controller/node_modules/.bin:/opt/iobroker/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 5207 verbose lifecycle iobroker.js-controller@4.0.24~install: CWD: /opt/iobroker/node_modules/iobroker.js-controller 5208 silly lifecycle iobroker.js-controller@4.0.24~install: Args: [ '-c', 'node iobroker.js setup first' ] 5209 silly lifecycle iobroker.js-controller@4.0.24~install: Returned: code: 32 signal: null 5210 info lifecycle iobroker.js-controller@4.0.24~install: Failed to exec install script 5211 timing action:install Completed in 34239ms 5212 verbose unlock done using /opt/iobroker/.npm/_locks/staging-66d2468782e8ffc7.lock for /opt/iobroker/node_modules/.staging 5213 timing stage:rollbackFailedOptional Completed in 3448ms 5214 timing stage:runTopLevelLifecycles Completed in 147802ms 5215 silly saveTree iobroker.inst@1.1.2 ... 5216 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): 5217 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux 5218 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: arm 5219 warn babel-eslint@10.1.0 requires a peer of eslint@>= 4.12.1 but none is installed. You must install peer dependencies yourself. 5220 verbose stack Error: iobroker.js-controller@4.0.24 install: `node iobroker.js setup first` 5220 verbose stack Exit status 32 5220 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 5220 verbose stack at EventEmitter.emit (events.js:400:28) 5220 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 5220 verbose stack at ChildProcess.emit (events.js:400:28) 5220 verbose stack at maybeClose (internal/child_process.js:1088:16) 5220 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5) 5221 verbose pkgid iobroker.js-controller@4.0.24 5222 verbose cwd /opt/iobroker 5223 verbose Linux 5.10.63-v7+ 5224 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@4.0.24" "--loglevel" "error" "--unsafe-perm" "--prefix" "/opt/iobroker" 5225 verbose node v14.21.1 5226 verbose npm v6.14.17 5227 error code ELIFECYCLE 5228 error errno 32 5229 error iobroker.js-controller@4.0.24 install: `node iobroker.js setup first` 5229 error Exit status 32 5230 error Failed at the iobroker.js-controller@4.0.24 install script. 5230 error This is probably not a problem with npm. There is likely additional logging output above. 5231 verbose exit [ 32, true ]Hat jemand eine Idee?
Braucht ihr noch weitere Informationen?MOD EDIT: LOG IN CODE TAGS GESETZT </>
@mario_m sagte in Updateprobleme:
----- Docker-Image -----
----- image: v7.0.1 -----Puhh ..

Als erstes habe ich versucht, den nodejs controller zu aktualisieren:
Mache es nicht so ..
Nimm das aktuelle Image 7.2.0
siehe hier ... ist kurz und knapp beschrieben :
https://forum.iobroker.net/post/931953
PS : Ändere den Thread Titel auf was ... siehe hier
https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden