NEWS
Merkwürdige Fehler bei Adapterupdate
-
@Fenian Und du springst da auf dem Master rum? Der Raspberry ist der Slave?
@Thomas-Braun Ja, der Raspberry ist der Slave
-
@Thomas-Braun Ja, der Raspberry ist der Slave
@Fenian Und der ist auf einem aktuelleren Stand als der Master? Bei Updates von so einem Konstrukt ist die Reihenfolge zu beachten.
Und die Versionen sollten vor dem Setup von Multihost gleich sein.Ich würde das glaube ich nochmal trennen und dann ein update / upgrade der einzelnen Systeme versuchen.
-
Vor allem darf auf einem zukünftigen slave außer dem admin nix drauf sein .
-
@Fenian Und der ist auf einem aktuelleren Stand als der Master? Bei Updates von so einem Konstrukt ist die Reihenfolge zu beachten.
Und die Versionen sollten vor dem Setup von Multihost gleich sein.Ich würde das glaube ich nochmal trennen und dann ein update / upgrade der einzelnen Systeme versuchen.
-
@Thomas-Braun Beide haben die Version 3.1.6
node.js v12.18.4@Homoran Ja, war nichts drauf.
Ich habe nur ein paar Adapter dahin verschoben.
Das hat auch funktioniert@Fenian Dann ist das wenigstens sauber.
-
@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. 😆