NEWS
ioBroker Startet nicht nach Update Versuch
-
Systemdata Bitte Ausfüllen Hardwaresystem: Pi4 Arbeitsspeicher: 4GB Festplattenart: SD-Karte Betriebssystem: Rasbian Node-Version: 14.x.x Nodejs-Version: 14.x.x NPM-Version: 6.x.x Hallo zusammen,
leider habe ich gerade meinen ioBroker gekillt
Wollte den js-controller auf 3.3.22 updaten und i.was ist schief gelaufen.
-> Diesen Befehl benutzt:pi@HomePi:/opt/iobroker $ curl -sLf https://iobroker.net/install.sh | bash -
Dann Reboot. Ich merkte das der Broker nicht mehr startete und habe mir gedacht, okay spiel ich das Backup ein.
Leider bekam ich dann folgenden Fehler:pi@HomePi:~ $ cd /opt/iobroker pi@HomePi:/opt/iobroker $ pi@HomePi:/opt/iobroker $ pi@HomePi:/opt/iobroker $ sudo iobroker stop pi@HomePi:/opt/iobroker $ sudo iobroker restore 0 internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } pi@HomePi:/opt/iobroker $
Könnt ihr mir weiterhelfen?
-
@gurke258 sagte in ioBroker Startet nicht nach Update Versuch:
leider habe ich gerade meinen ioBroker gekillt. Wollte den js-controller auf 3.3.22 updaten und i.was ist schief gelaufen.
Ja, wie kommt man auf die krummen Befehle?
iobroker NIE NIE NIEMALS mit sudo direkt anpacken.
Und das install.sh heißt deswegen Installationsskript, weil es eben installiert und nicht upgraded.cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
Ich weiß auch nicht... das wird mir wohl eine Lehre sein.
ich wollte eig nur den js-controller updaten und habe das ausgeführt:
iobroker stop
iobroker update
iobroker upgrade selfLeider kam dann die Nachricht das man den js-controller seit Version 3 nicht mehr per Hand updaten kann und hat mir einen Error ausgegeben. Deswegen habe ich gedacht es hilft wenn man es neuinstalliert. -> Schande über mein Haupt
Jetzt läuft er wieder! Schon mal vielen Dank
Nur meine ganzen Adapter sind alle noch rot... Neustart hat leider nicht geholfen.
Edit: Scheint so als wenn ich diese neu installieren muss
-
Kann man die i.wo gesamt neu verbinden?
Wenn ich die neu installiere, erstellt er direkt ne neue Instanz von dem adapter
-
Du solltest mal in das LogFile schauen und nicht wild irgendwas neuinstallieren.
iobroker stop iobroker fix iobroker start
könnte vielleicht auch helfen.
-
Habe ich aber da kommen nur Warnungen
host.HomePi 2021-12-22 14:34:36.595 warn startInstance cannot find adapter "coronavirus-statistics@0.8.7". Try to install it... 1 attempt host.HomePi 2021-12-22 14:33:50.146 warn startInstance cannot find adapter "tuya@3.6.9". Try to install it... 1 attempt host.HomePi 2021-12-22 14:32:53.419 warn startInstance cannot find adapter "synology@1.1.3". Try to install it... 1 attempt host.HomePi 2021-12-22 14:32:49.084 warn startInstance cannot find adapter "backitup@2.2.2". Try to install it... 1 attempt host.HomePi 2021-12-22 14:31:46.416 warn startInstance cannot find adapter "rpi2@1.3.1". Try to install it... 1 attempt host.HomePi 2021-12-22 14:31:09.101 warn startInstance cannot find adapter "ping@1.5.0". Try to install it... 1 attempt host.HomePi 2021-12-22 14:31:04.871 warn startInstance cannot find adapter "ical@1.11.4". Try to install it... 1 attempt host.HomePi 2021-12-22 14:30:25.489 warn startInstance cannot find adapter "ical@1.11.4". Try to install it... 1 attempt host.HomePi 2021-12-22 14:30:21.463 warn startInstance cannot find adapter "hm-rpc@1.14.50". Try to install it... 1 attempt host.HomePi 2021-12-22 14:29:17.421 warn startInstance cannot find adapter "hm-rpc@1.14.50". Try to install it... 1 attempt
Habe aber auch gesehen das er zumindest zwei adapter gerade wieder installiert hat und die wieder grün sind.
Ich lasse ihn mal machen.
-
Okay die Adapter sind alle wieder da, allerdings sind sie im "Tab" Adapter nicht mehr blau unterlegt, so als wären sie gar nicht installiert
und ich musste 1-2 Adapter komplett neuinstallieren
Kann man jetzt noch nen Backup machen auf meinen Stand heute mitttag und den js-controller nochmal komplett neu updaten?
-
So ganz klar ist mir nicht wo du da jetzt genau hängst.
iobroker status iobroker update -i iobroker list adapters iobroker list instances
-
@thomas-braun sagte in ioBroker Startet nicht nach Update Versuch:
So ganz klar ist mir nicht wo du da jetzt genau hängst.
geht mir genauso
ich vermute:
@gurke258 sagte in ioBroker Startet nicht nach Update Versuch:
habe mir gedacht, okay spiel ich das Backup ein.
dass das noch rödelt
-
Habe die Befehle ausgeführt:
Jetzt sind alle wieder Blau hinterlegt:
Vorher waren alle grau, obwohl sie bei den Instanzen grün udn aktiv waren
Nur noch ein paar Warnungen:
web.0 2021-12-22 15:08:45.168 warn State "web.0.info.connection" has no existing object, this might lead to an error in future versions web.0 2021-12-22 15:02:01.847 warn State "web.0.info.connection" has no existing object, this might lead to an error in future versions web.0 2021-12-22 15:01:56.985 warn State "web.0.info.connection" has no existing object, this might lead to an error in future versions web.0 2021-12-22 15:01:30.449 warn State "web.0.info.connection" has no existing object, this might lead to an error in future versions web.0 2021-12-22 15:01:20.293 warn State "web.0.info.connection" has no existing object, this might lead to an error in future versions systeminfo.0 2021-12-22 15:01:00.057 warn State "systeminfo.0.NAS.Space_?" has no existing object, this might lead to an error in future versions web.0 2021-12-22 14:58:47.918 warn State "web.0.info.connection" has no existing object, this might lead to an error in future versions web.0 2021-12-22 14:58:42.756 warn State "web.0.info.connection" has no existing object, this might lead to an error in future versions web.0 2021-12-22 14:55:46.124 warn State "web.0.info.connection" has no existing object, this might lead to an error in future versions systeminfo.0 2021-12-22 14:55:23.289 warn adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer! systeminfo.0 2021-12-22 14:55:23.273 warn Used invalid characters: systeminfo.0.TVProgramm.? changed to systeminfo.0.TVProgramm._ web.0 2021-12-22 14:55:22.746 warn State "web.0.info.connection" has no existing object, this might lead to an error in future versions
-
@gurke258 sagte in ioBroker Startet nicht nach Update Versuch:
systeminfo
Der Adapter braucht wohl noch etwas Liebe, vielleicht von @frankjoke ?
-
@thomas-braun sagte in ioBroker Startet nicht nach Update Versuch:
Der Adapter braucht wohl noch etwas Liebe, vielleicht von @frankjoke ?
sehr wahrscheinlich
github: 0.3.0 latest: 0.3.1 for 25 months stable: 0.3.1 for 25 months