NEWS
Problem mit Adapter updates
Einsteigerfragen
22
Beiträge
7
Kommentatoren
1.7k
Aufrufe
5
Watching
-
pi@raspberrypi:~ $ iobroker upgrade javascript --debug This upgrade of "javascript" will at least introduce the following changes: ========================================================================== -> 5.7.0: Allow sending of messages to scripts also from adapters and CLI by sending "toScript" message (see [onMessage Documentation](https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/javascript.md#onmessage)) Lists returned by $-selector are now unified and do not contain double entries Fix subscribe multiple object ID lists in blockly -> 5.6.1: Allow to subscribe multiple object ID lists in blockly -> 5.6.0: Make state properties c(omment) and user available to scripts too make sure values of new or changed alias objects are initialized properly Enhance scheduler logic and astro events offered by wizard Respect expected value changes when determining if a value is changed Fix remembering intermediate state values when state values are subscribed fix setState logic when states are not subscribed -> 5.5.4: Tried to solve problem with the font -> 5.5.3: Fixed getObjectAsync function if object does not exist -> 5.5.2: Added new rules action block: sum two states (or minus) -> 5.5.1: Added new rules action block: sum two states (or minus) ========================================================================== Would you like to upgrade javascript from @5.2.13 to @5.7.0 now? [(y)es, (n)o]: y Update javascript from @5.2.13 to @5.7.0 NPM version: 8.11.0 Installing iobroker.javascript@5.7.0... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.javascript npm ERR! dest /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-08-10T18_29_21_627Z-debug-0.log host.raspberrypi Cannot install iobroker.javascript@5.7.0: 217 pi@raspberrypi:~ $@marcus-hamburg sagte in Problem mit Adapter updates:
npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
Du kannst das hier nutzen
https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/2cd /opt/iobroker/node_modules for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; doneZitat aus dem Thread :
WICHTIG .
(Bitte Befehl KOPIEREN, nicht eintippen, ein Vertipper kann und wird da 'tödlich' sein).
-
pi@raspberrypi:~ $ iobroker upgrade javascript --debug This upgrade of "javascript" will at least introduce the following changes: ========================================================================== -> 5.7.0: Allow sending of messages to scripts also from adapters and CLI by sending "toScript" message (see [onMessage Documentation](https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/javascript.md#onmessage)) Lists returned by $-selector are now unified and do not contain double entries Fix subscribe multiple object ID lists in blockly -> 5.6.1: Allow to subscribe multiple object ID lists in blockly -> 5.6.0: Make state properties c(omment) and user available to scripts too make sure values of new or changed alias objects are initialized properly Enhance scheduler logic and astro events offered by wizard Respect expected value changes when determining if a value is changed Fix remembering intermediate state values when state values are subscribed fix setState logic when states are not subscribed -> 5.5.4: Tried to solve problem with the font -> 5.5.3: Fixed getObjectAsync function if object does not exist -> 5.5.2: Added new rules action block: sum two states (or minus) -> 5.5.1: Added new rules action block: sum two states (or minus) ========================================================================== Would you like to upgrade javascript from @5.2.13 to @5.7.0 now? [(y)es, (n)o]: y Update javascript from @5.2.13 to @5.7.0 NPM version: 8.11.0 Installing iobroker.javascript@5.7.0... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.javascript npm ERR! dest /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-08-10T18_29_21_627Z-debug-0.log host.raspberrypi Cannot install iobroker.javascript@5.7.0: 217 pi@raspberrypi:~ $@marcus-hamburg sagte in Problem mit Adapter updates:
ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
oha, dazu gibt es einige Threads
lösung hier suchen
https://forum.iobroker.net/post/460759