NEWS
Fehler bei Update diverser Adapter.
-
npm install iobroker.js-controller
-
@Glasfaser said in Fehler bei Update diverser Adapter.:
npm install iobroker.js-controller
Besser, aber leider am Ende auch mit Fehlermeldungen.
pi@iobroker:/opt/iobroker $ npm install js-controller npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/js-controller - Not found npm ERR! 404 npm ERR! 404 'js-controller@latest' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-05-06T21_59_22_132Z-debug.log pi@iobroker:/opt/iobroker $ start iobroker -bash: start: Kommando nicht gefunden. pi@iobroker:/opt/iobroker $ iobroker start pi@iobroker:/opt/iobroker $ npm install iobroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 > node-aead-crypto@2.2.0 preinstall /opt/iobroker/node_modules/node-aead-crypto > node lib/preinstall.js node-aead-crypto not needed on this system, since all ciphers are natively supported > iobroker.js-controller@3.0.20 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.4 > iobroker@2.0.3 install /opt/iobroker/node_modules/iobroker > node lib/checkVersions.js NPM version: 6.14.4 > iobroker.js-controller@3.0.20 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first object system.certificates updated > iobroker@2.0.3 postinstall /opt/iobroker/node_modules/iobroker > node lib/install.js ╭─────────────────────────────────────────────────────────╮ │ │ │ Manual installation of ioBroker is no longer supported │ │ on Linux, OSX and FreeBSD! │ │ Please refer to the documentation on how to install it! │ │ https://github.com/ioBroker/ioBroker/wiki/Installation │ │ │ ╰─────────────────────────────────────────────────────────╯ npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm ERR! code ELIFECYCLE npm ERR! errno 100 npm ERR! iobroker@2.0.3 postinstall: `node lib/install.js` npm ERR! Exit status 100 npm ERR! npm ERR! Failed at the iobroker@2.0.3 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-05-06T22_03_45_381Z-debug.log```
-
-
@Thomas-Braun said in Fehler bei Update diverser Adapter.:
iobroker upgrade self
pi@iobroker:/opt/iobroker $ iobroker upgrade self Host "iobroker" is up to date.
-
Ich will hier nicht reingrätschen ...
Vielleicht lief der npm rebuild nicht sauber durch !?
-
@Glasfaser said in Fehler bei Update diverser Adapter.:
Ich will hier nicht reingrätschen ...
Vielleicht lief der npm rebulid nicht sauber durch !?
Soll ich den noch einmal durchlaufen lassen?
Wenn ja, wie? -
iobroker rebuild self --install
-
@Thomas-Braun said in Fehler bei Update diverser Adapter.:
iobroker rebuild self --install
Hab iobroker gestoppt. Dann rebuild ausgeführt. Danach iobroker wieder gestartet.
Das ist das Ergebnisnpm install iobroker.history@1.9.6 --loglevel error --prefix "/opt/iobroker" (System call) node-aead-crypto not needed on this system, since all ciphers are natively supported ╭─────────────────────────────────────────────────────────╮ │ │ │ Manual installation of ioBroker is no longer supported │ │ on Linux, OSX and FreeBSD! │ │ Please refer to the documentation on how to install it! │ │ https://github.com/ioBroker/ioBroker/wiki/Installation │ │ │ ╰─────────────────────────────────────────────────────────╯ npm ERR! code ELIFECYCLE npm ERR! errno 100 npm ERR! iobroker@2.0.3 postinstall: `node lib/install.js` npm ERR! Exit status 100 npm ERR! npm ERR! Failed at the iobroker@2.0.3 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-05-06T22_16_24_745Z-debug.log host.iobroker Cannot install iobroker.history@1.9.6: 100
-
@Landmilch Keine Ahnung dann.
which iobroker
-
@Thomas-Braun said in Fehler bei Update diverser Adapter.:
which iobroker
pi@iobroker:/opt/iobroker $ which iobroker /usr/bin/iobroker pi@iobroker:/opt/iobroker $
-
ls -la /usr/bin/iobroker
-
@Thomas-Braun said in Fehler bei Update diverser Adapter.:
@Landmilch Keine Ahnung dann.
which iobroker
@Thomas-Braun @Glasfaser @paul53
Danke für euren Einsatz. Ich bin für heute raus. Muss jetzt erst mal schlafen. Morgen noch mal ausgeschlafen ran. -
@Thomas-Braun said in Fehler bei Update diverser Adapter.:
ls -la /usr/bin/iobroker
Voilapi@iobroker:/opt/iobroker $ ls -la /usr/bin/iobroker lrwxrwxrwx 1 root root 22 Mai 6 23:22 /usr/bin/iobroker -> /opt/iobroker/iobroker
-
@Landmilch
Nicht dass dein hostname 'iobroker' da für Trouble sorgt... -
Bei jeder Fehlermeldung ist im Log ein Link :
https://github.com/ioBroker/ioBroker/wiki/Installation
als würde das System denken es hat eine alte Version installiert .
-
-
@Glasfaser said in Fehler bei Update diverser Adapter.:
Bei jeder Fehlermeldung ist im Log ein Link :
https://github.com/ioBroker/ioBroker/wiki/Installation
als würde das System denken es hat eine alte Version installiert .
Kann ich das System umbenennen?
-
@Thomas-Braun said in Fehler bei Update diverser Adapter.:
@Glasfaser said in Fehler bei Update diverser Adapter.:
Oder zwei Installationen.
Wenn das so ist, wie kann ich das prüfen?
-
@Landmilch
Kannst du hier ändern:sudo nano /etc/hostname sudo nano /etc/hosts
Danach einmal rebooten, am besten.
-
@Landmilch
iobroker@2.0.3 ist das Kern-Paket, dass beim Installieren benötigt wird. Deine Installation denkt wohl, dass das fehlt und bricht daraufhin alle npm-Installationen ab. Eigentlich sollte es auch gar nicht installiert sein, sondern enthält nur die Dateien, die zur Installation benötigt werden. Aus deiner Post-Historie vermute ich, dass du es ausversehen installiert hast, weil du Befehle nicht richtig abgetippt hast.Bitte genau lesen, nicht wie oben immer mal wieder Teile übersehen! Und bitte meine Antwort abwarten, nicht draus irgendwelchen Handlungsbedarf ableiten.
- Ist im Ordner
/opt/iobroker
eine Dateipackage-lock.json
? - Ist im Ordner
/opt/iobroker/node_modules
ein Ordneriobroker
ohne führendes@
? - Zeige bitte den Inhalt der Datei
/opt/iobroker/package.json
.
- Ist im Ordner