NEWS
Kein js-controller und Adapter update möglich!
-
Hallo!
Habe das Problem das ich alle Adapter mit Aktualisierungen und den js.-contoller (1.5.14) nicht updaten kann.
Gehe nach der Anleitung im IoBroker Info vor.Bekomme immer diese Fehlermeldung:
npm ERR! code MODULE_NOT_FOUND npm ERR! Cannot find module 'fs-vacuum'admin 3.6.4
node 10.16.3
nodejs 10.17.0
npm 6.9.0 kann ich auch nicht ändern, gleiche Fehlermeldung!Putty ausgabe:
pi@ioBroker-RasPi:/opt/iobroker $ iobroker stop pi@ioBroker-RasPi:/opt/iobroker $ iobroker upgrade self Update js-controller from @1.5.14 to @2.1.1 NPM version: 6.9.0 npm install iobroker.js-controller@2.1.1 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call) npm ERR! code MODULE_NOT_FOUND npm ERR! Cannot find module 'fs-vacuum' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-12-05T22_19_07_028Z-debug.log Host "ioBroker-RasPi" (linux) updated Execute: chmod -R 777 /opt/iobrokerIch hoffe ihr könnt mir helfen!
Danke im Voraus!LG Relu
Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
Hier gehts zur Hilfe. -
@arteck said in Kein js-controller und Adapter update möglich!:
npm install ioBroker/ioBroker.js-controller
gleiche Fehlermeldung!
@relu77 sagte in Kein js-controller und Adapter update möglich!:
npm install fs-vacuum -
@relu77
Die sollst du nicht gleich bekommen!
Du darfst nur eine haben -
bekomme node nicht deinstalliert!
nodejs und npm sind deinstalliertpi@ioBroker-RasPi:/opt/iobroker $ sudo apt-get purge -y nodejs npm nodejs-legacyPaketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paket »nodejs-legacy« ist nicht installiert, wird also auch nicht entfernt.
Paket »npm« ist nicht installiert, wird also auch nicht entfernt.
Paket »nodejs« ist nicht installiert, wird also auch nicht entfernt.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
pi@ioBroker-RasPi:/opt/iobroker $ nodejs -v
-bash: nodejs: Kommando nicht gefunden.
pi@ioBroker-RasPi:/opt/iobroker $ npm -v
-bash: npm: Kommando nicht gefunden.
pi@ioBroker-RasPi:/opt/iobroker $ node -v
v10.16.3
pi@ioBroker-RasPi:/opt/iobroker $ -
Da du ganz am Anfang zwei unterschiedliche Versionen node und nodejs hattest, musst du vielleicht mal ins root-Verzeichnis wechseln und nochmal deinstallieren.
Enrico
-
Nee, ich glaube mit cd kommst du wieder zurück, dahin, wo du nach der Anmeldung bist.
Da dann wieder deine Deinstallation starten.Enrico
-
hab ich schon gemacht. bekomme node -v nicht weg
login as: pi
pi@192.168.1.112's password:
Linux ioBroker-RasPi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7lThe programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Dec 7 22:20:45 2019 from 192.168.1.2
pi@ioBroker-RasPi:~ $ sudo apt-get --purge remove node
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paket »node« ist nicht installiert, wird also auch nicht entfernt.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
pi@ioBroker-RasPi:~ $ sudo apt-get --purge remove nodejs
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paket »nodejs« ist nicht installiert, wird also auch nicht entfernt.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
pi@ioBroker-RasPi:~ $ sudo apt-get autoremove
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
pi@ioBroker-RasPi:~ $ ^C
pi@ioBroker-RasPi:~ $ sudo rebootlogin as: pi
pi@192.168.1.112's password:
Linux ioBroker-RasPi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7lThe programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Dec 7 22:37:15 2019 from 192.168.1.2
pi@ioBroker-RasPi:~ $ node -v
v10.16.3
pi@ioBroker-RasPi:~ $ nodejs -v
-bash: nodejs: Kommando nicht gefunden.
pi@ioBroker-RasPi:~ $ npm -v
-bash: npm: Kommando nicht gefunden.
pi@ioBroker-RasPi:~ $ -
wWie weis ich ob ich root bin?
pi@ioBroker-RasPi:~ $ sudo apt update && apt upgrade -y
OK:1 http://archive.raspberrypi.org/debian stretch InRelease
OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
OK:3 https://deb.nodesource.com/node_10.x stretch InRelease
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Alle Pakete sind aktuell.
E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
pi@ioBroker-RasPi:~ $ -
wWie weis ich ob ich root bin?
pi@ioBroker-RasPi:~ $ sudo apt update && apt upgrade -y
OK:1 http://archive.raspberrypi.org/debian stretch InRelease
OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
OK:3 https://deb.nodesource.com/node_10.x stretch InRelease
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Alle Pakete sind aktuell.
E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
pi@ioBroker-RasPi:~ $ -
Bei mir ist das die unterste Ebene.
login as: pi
pi@192.168.1.112's password:
Linux ioBroker-RasPi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7lThe programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Dec 7 23:10:20 2019 from 192.168.1.2
pi@ioBroker-RasPi:~ $ cd
pi@ioBroker-RasPi:~ $ -
Bei mir ist das die unterste Ebene.
login as: pi
pi@192.168.1.112's password:
Linux ioBroker-RasPi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7lThe programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Dec 7 23:10:20 2019 from 192.168.1.2
pi@ioBroker-RasPi:~ $ cd
pi@ioBroker-RasPi:~ $@relu77
Das ist root.
Hab aber oben gesehen, dass Du wohl in den Update Feeds rumgespielt hast und er deshalb schon Probleme hat ein System Update zu starten. Da stimmt in der Source List was nicht.Wie Du das gerade biegen kannst weiß ich allerdings nicht. Linux ist auch nicht mein Ding. Ich würde den Pi mal nach Anleitung frisch aufsetzen und dann auch gleich mit Buster. Zur Not auch ein fertiges Image von hier. Das geht am schnellsten und danach ein Backup restoren.