NEWS
ERROR: Process exited with code 25
-
Hallo,
hab das wieder mal ein kleines Problem.
Und zwar wie oben geschrieben, enden die Update der updatefähigen Adapter mit dem Errorcode 25.Wenn ich den Admin updaten will, hängt sich die Installation auf, der Admin ist nicht mehr zu erreichen, es hilft (glücklicher weise) nur noch ein reboot.
pi@ioBroker482:~ $ iob repo list default : http://download.iobroker.net/sources-dist.json latest : http://download.iobroker.net/sources-dist-latest.json test : http://download.iobroker.net/sources-dist-latest.json Active repo(s): default pi@ioBroker482:~ $
ERROR: Process exited with code 25 $ iobroker upgrade terminal@0.2.2 Update terminal from @0.2.1 to @0.2.2 NPM version: 8.6.0 Installing iobroker.terminal@0.2.2... (System call) host.ioBroker482 Cannot install iobroker.terminal@0.2.2: 217 ERROR: Process exited with code 25
Wo liegt das Problem, wie kann ich es beheben?
Danke
-
@atticus sagte in ERROR: Process exited with code 25:
Wo liegt das Problem
wahrscheinlich an
@atticus sagte in ERROR: Process exited with code 25:
NPM version: 8.6.0
-
@crunchip sagte in ERROR: Process exited with code 25:
@atticus sagte in ERROR: Process exited with code 25:
NPM version: 8.6.0
Das soll heissen, das ich npm updaten muss? Welche Version sollte ich dann verwenden?
-
@atticus sagte in ERROR: Process exited with code 25:
Welche Version sollte ich dann verwenden?
6.x
und nicht update sondern downgrade
-
@arteck sagte in ERROR: Process exited with code 25:
6.x
und nicht update sondern downgradeFunktioniert das gefahrlos ??
-
Ja. Wenn man es richtig macht.
Steht in meiner Signatur, wie es unter Debian und Konsorten geht. -
@thomas-braun ist Version 6.14.16 ok?
-
Die Version ist okay, die mit dem nodejs Paket zu node14 daher kommt.
npm wird nicht am System vorbei installiert. -
@thomas-braun und wie sehe ich, welche version dem nodejs Paket zu node14 kommt?
Den iobroker hab ich mitcurl -sLf https://iobroker.net/install.sh | bash -
installiert und habe bewußt kein Update des npm-Paketes vorgenommen.
-
@atticus sagte in ERROR: Process exited with code 25:
installiert und habe bewußt kein Update des npm-Paketes vorgenommen
dann stellt sich die allerdings die Frage wie du zu npm v8.x kommst
schau da rein und zeig mal die Ausgabe
https://forum.iobroker.net/post/460727 -
deb https://deb.nodesource.com/node_14.x buster main deb-src https://deb.nodesource.com/node_14.x buster main
-
pi@ioBroker482:~ $ apt policy nodejs nodejs: Installiert: 14.19.1-deb-1nodesource1 Installationskandidat: 14.19.1-deb-1nodesource1 Versionstabelle: *** 14.19.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@ioBroker482:~ $
-
pi@ioBroker482:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v14.19.1 v14.19.1 8.6.0 pi /home/pi OK:1 http://archive.raspberrypi.org/debian buster InRelease OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:3 https://deb.nodesource.com/node_14.x buster InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. nodejs: Installiert: 14.19.1-deb-1nodesource1 Installationskandidat: 14.19.1-deb-1nodesource1 Versionstabelle: *** 14.19.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@ioBroker482:~ $
-
Bei der Konstellation musst du npm mal global mit sich selber installiert haben. Und zwar kürzlich, die 8.6.0 ist nicht so alt.
iobroker stop sudo apt install --reinstall nodejs iobroker start
biegt das wieder gerade.
-
@thomas-braun Vielen dank für Deine Hilfe. Das hat super funktioniert!
pi@ioBroker482:~ $ node -v v14.19.1 pi@ioBroker482:~ $ nodejs -v v14.19.1 pi@ioBroker482:~ $ npm -v 6.14.16 pi@ioBroker482:~ $