NEWS
Merkwürdige Fehler bei Adapterupdate
-
@Thomas-Braun
Habe ich eben ausprobiert.update ohne Fehler
Bei upgrade kommt dann wieder:
Update backitup from @1.6.7 to @1.6.8 NPM version: 6.14.6 npm install iobroker.backitup@1.6.8 --loglevel error --prefix "/opt/iobroker" (System call) ╭─────────────────────────────────────────────────────────╮ │ │ │ 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-09-26T22_41_14_508Z-debug.log host.fenian Cannot install iobroker.backitup@1.6.8: 100@Fenian sagte in Merkwürdige Fehler bei Adapterupdate:
╭─────────────────────────────────────────────────────────╮
│ │
│ 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 │
│ │
╰─────────────────────────────────────────────────────────╯
Das sieht für mich so aus, als glaubt
npm, dass es das "iobroker"-Paket installieren soll. Zeig mal deine/opt/iobroker/package.json. -
@Fenian sagte in Merkwürdige Fehler bei Adapterupdate:
╭─────────────────────────────────────────────────────────╮
│ │
│ 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 │
│ │
╰─────────────────────────────────────────────────────────╯
Das sieht für mich so aus, als glaubt
npm, dass es das "iobroker"-Paket installieren soll. Zeig mal deine/opt/iobroker/package.json.@AlCalzone vor allem wo kommt das her?
Der Link zur Doku ist ja 6 Jahre alt und seit 5 Jahren nicht mehr gültig -
@Fenian sagte in Merkwürdige Fehler bei Adapterupdate:
╭─────────────────────────────────────────────────────────╮
│ │
│ 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 │
│ │
╰─────────────────────────────────────────────────────────╯
Das sieht für mich so aus, als glaubt
npm, dass es das "iobroker"-Paket installieren soll. Zeig mal deine/opt/iobroker/package.json.{ "name": "iobroker.inst", "version": "2.0.3", "private": true, "description": "Automation platform in node.js", "scripts": { "install": "node lib/checkVersions.js", "postinstall": "node lib/install.js", "test": "node node_modules/mocha/bin/mocha --exit" }, "dependencies": { "colors": "^1.3.3", "fs-extra": "^7.0.1", "iobroker": "^2.0.3", "iobroker.admin": "^4.1.8", "iobroker.alexa2": "^3.3.1", "iobroker.backitup": "^1.6.7", "iobroker.cloud": "^3.0.4", "iobroker.daswetter": "^3.0.3", -
{ "name": "iobroker.inst", "version": "2.0.3", "private": true, "description": "Automation platform in node.js", "scripts": { "install": "node lib/checkVersions.js", "postinstall": "node lib/install.js", "test": "node node_modules/mocha/bin/mocha --exit" }, "dependencies": { "colors": "^1.3.3", "fs-extra": "^7.0.1", "iobroker": "^2.0.3", "iobroker.admin": "^4.1.8", "iobroker.alexa2": "^3.3.1", "iobroker.backitup": "^1.6.7", "iobroker.cloud": "^3.0.4", "iobroker.daswetter": "^3.0.3",@Fenian
Das ist nicht die vollständige Datei. -
{ "name": "iobroker.inst", "version": "2.0.3", "private": true, "description": "Automation platform in node.js", "scripts": { "install": "node lib/checkVersions.js", "postinstall": "node lib/install.js", "test": "node node_modules/mocha/bin/mocha --exit" }, "dependencies": { "colors": "^1.3.3", "fs-extra": "^7.0.1", "iobroker": "^2.0.3", "iobroker.admin": "^4.1.8", "iobroker.alexa2": "^3.3.1", "iobroker.backitup": "^1.6.7", "iobroker.cloud": "^3.0.4", "iobroker.daswetter": "^3.0.3", -
@AlCalzone vor allem wo kommt das her?
Der Link zur Doku ist ja 6 Jahre alt und seit 5 Jahren nicht mehr gültig -
@Homoran Aus dem ioBroker-Paket selbst (ist nur zur Installation da). Könnte sein, dass wir das nicht aktualisiert haben.
@AlCalzone
Wobei das in meiner package.json auch drin steht. Hat bei mir aber noch nie Probleme gemacht.
Oder hängt das von den installierten (und zu aktualisierenden) Adaptern ab? -
@Fenian
Das ist nicht die vollständige Datei.@Thomas-Braun
Ja, nano scheint copy & paste nicht zu mögen@AlCalzone Ok, die Zeile ist raus
-
@Homoran Aus dem ioBroker-Paket selbst (ist nur zur Installation da). Könnte sein, dass wir das nicht aktualisiert haben.
@AlCalzone Fehler bleibt gleich
-
@Thomas-Braun
Ja, nano scheint copy & paste nicht zu mögen@AlCalzone Ok, die Zeile ist raus
@AlCalzone @Homoran @Thomas-Braun
Danke für die Hilfe :)
Diese Antwort von @AlCalzone auf Github hat das Problem gelöst.
Alle Updates sind jetzt durch -
@AlCalzone
Wobei das in meiner package.json auch drin steht. Hat bei mir aber noch nie Probleme gemacht.
Oder hängt das von den installierten (und zu aktualisierenden) Adaptern ab? -
@Thomas-Braun Dann liegt es wohl wie @Fenian geschrieben hat dass ich es geschrieben habe (:sweat_smile: ) an ner fehlerhaften package-lock.json
@AlCalzone Das ist mir jetzt eine Meta-Ebene zu hoch. 😆