NEWS
Hm-rega nach Update weg
-
Hallo zusammen,
ich hatte gerade versucht den hm-rega auf die angezeigte Version anzuheben.
Die Installation ging schief mit Error-Code 25
jetzt hab ich laut Admin-Panel gar keinen hm-rega mehr.
Ein erneuter Versuch einer Installation ergab folgende Meldung
$ ./iobroker url "https://github.com/ioBroker/ioBroker.hm-rega" --debug install https://github.com/ioBroker/ioBroker.hm-rega/tarball/master npm install https://github.com/ioBroker/ioBroker.hm-rega/tarball/master --production --prefix "/opt/iobroker" (System call) npm ERR! Linux 4.4.10-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "https://github.com/ioBroker/ioBroker.hm-rega/tarball/master" "--production" "--prefix" "/opt/iobroker"npm ERR! node v4.4.4 npm ERR! npm v2.15.1npm ERR! file /root/.npm/xml2js/0.4.16/package/package.json npm ERR! code EJSONPARSE npm ERR! Failed to parse json npm ERR! Unexpected token '\u0000' at 1:77 npm ERR! 113,4107,6177,4107,4107,4107,4107,4107,4107,4107,6170,4107,6109,4107] npm ERR! ^ npm ERR! File: /root/.npm/xml2js/0.4.16/package/package.json npm ERR! Failed to parse package.json data.npm ERR! package.json must be actual JSON, not just JavaScript. npm ERR! npm ERR! This is not a bug in npm. npm ERR! Tell the package author to fix their package.json file. JSON.parse npm ERR! Please include the following file with any support request: npm ERR! /opt/npm-debug.log ERROR: host.mh-iobroker-01 Cannot install https://github.com/ioBroker/ioBroker.hm-rega/tarball/master: 1 ERROR: process exited with code 25
Ich hoffe, es weiss einer von Euch Rat oder Abhilfe. Im Moment hab ich den WAF so ziemlich bis zum Ende ausgereizt.
Danke & Viele Grüße
Silvio
-
Vielleicht ein blöde Frage oder Antwort…
... aber hast Du das als user auf einer Console gemacht? Denn laut Deines Bildes sieht es so aus. Das ganze als user root auszuführen ist m.M.n. aber immer noch mandantory.
Ansonsten: Hast Du ein BackUp, bevor wir noch andere Tipps geben?
Du hast sicher einfch mal rebootet, oder?
-
Noch mal updaten. Da ging was bei der Übertragung schiff.
-
Hallo zusammen,
Ich habe jetzt mit viel lesen hinbekommen.
Lösung war das löschen des npm-cache.
Erst die noch angezeigten Instanzen gelöscht, dann nochmal ein reboot , dann den Cache gelöscht , wieder ein reboot und dann lief die Installation durch.
Jetzt ist alles wieder beim alten.
Trotzdem danke für die Hilfe
Gruß
Silvio