NEWS
[Gelöst] Iobroker startet nicht / Cannot read system.config
-
iobroker list adapters iobroker list instances
-
pi@Primary:~ $ iobroker list adapters pi@Primary:~ $ iobroker list instances + instance is alive pi@Primary:~ $
-
@tony63526 Das ist nicht viel...
cd /opt/iobroker npm cache clear --force iobroker fix
-
@thomas-braun said in Iobroker startet nicht / Cannot read system.config:
npm cache clear --force
soll ich das update ausführen?
Run npm install -g npm to update! ??
pi@Primary:/opt/iobroker $ npm cache clear --force npm WARN using --force I sure hope you know what you are doing. ╭───────────────────────────────────────────────────────────────╮ │ │ │ New major version of npm available! 6.14.11 → 7.6.0 │ │ Changelog: https://github.com/npm/cli/releases/tag/v7.6.0 │ │ Run npm install -g npm to update! │ │ │
-
@tony63526 NEIN!
-
Negativ
Startet nicht.pi@Primary:~ $ cd /opt/iobroker pi@Primary:/opt/iobroker $ npm cache clear --force npm WARN using --force I sure hope you know what you are doing. ╭───────────────────────────────────────────────────────────────╮ │ │ │ New major version of npm available! 6.14.11 → 7.6.0 │ │ Changelog: https://github.com/npm/cli/releases/tag/v7.6.0 │ │ Run npm install -g npm to update! │ │ │ ╰───────────────────────────────────────────────────────────────╯ pi@Primary:/opt/iobroker $ ^C pi@Primary:/opt/iobroker $ iobroker fix library: loaded Library version=2021-01-23 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2020-12-07 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Hit:1 http://packages.microsoft.com/repos/code stable InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 http://archive.raspberrypi.org/debian buster InRelease Hit:4 https://deb.nodesource.com/node_12.x buster InRelease Hit:5 https://www.pivccu.de/piVCCU stable InRelease Reading package lists... Done Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@Primary:/opt/iobroker $ ^C pi@Primary:/opt/iobroker $ iobroker start pi@Primary:/opt/iobroker $
pi@Primary:/opt/iobroker $ iobroker list adapters pi@Primary:/opt/iobroker $ iobroker list instances + instance is alive pi@Primary:/opt/iobroker $
Hab spaßeshalber ein weiteren Admin Adapter über ssh installiert. Komm zumindest mal wieder auf die WebUi.
Alle Instanzen sind weg bis auf den neuen installierten Admin Adapter. Komischerweise funktioniert mein Homematic ip Adapter noch der im Hintergrund wohl noch mitläuft. Ich kann auch weiterhin meine Rollos steuern und meine Fensterkontakte funktionieren auch noch.Im Log steht das hier:
host.Primary-Server 2021-02-27 10:29:42.625 error Cannot load /opt/iobroker/iobroker-data/states.json: /opt/iobroker/iobroker-data/states.json: Unexpected end of JSON input. Try last Backup! host.Primary 2021-02-27 10:29:42.592 error Cannot read system.config: null (OK when migrating or restoring) host.Primary-Server 2021-02-27 10:29:42.532 error Cannot load /opt/iobroker/iobroker-data/objects.json.bak: /opt/iobroker/iobroker-data/objects.json.bak: Unexpected end of JSON input. Continue with empty dataset! host.Primary-Server 2021-02-27 10:29:42.528 error Cannot load /opt/iobroker/iobroker-data/objects.json: /opt/iobroker/iobroker-data/objects.json: Unexpected end of JSON input. Try last Backup!
Ich denke es bleibt nix anderes übrig als mein letztes Backup mal aufzuspielen?
Ich werde berichten.Schade
-
@tony63526 Wie hast du damals iobroker installiert?
Vielleicht nicht den Standart Ordner verwendet?
-
Uii lange ist es her
Kann ich dir jetzt gar nicht sagen.
Was mich halt wundert, es ist nicht das erste mal das die Sicherung rausgeflogen ist und Iobroker hat wieder normal gestartet.Einzige Änderung bis dato ist, das ich den Js-Controller aktualisiert habe in der Zwischenzeit.
-
@tony63526 sagte in Iobroker startet nicht / Cannot read system.config:
Was mich halt wundert, es ist nicht das erste mal das die Sicherung rausgeflogen ist und Iobroker hat wieder normal gestartet.
1000x berührt, 1000x ist nix passiert...
-
1000x berührt, 1000x ist nix passiert...
Funktioniert alles wieder .
Ein hoch auf den Backitup Adapter.
Thomas Braun vielen Dank für deine Hilfe!Jetzt genieß ich erst mal die Sonne.