config.json wird nach Update nicht mehr gefunden

  • Moin,
    ich habe eben meine Homebridge aktualisiert und nun wird config.json nicht mehr gefunden.


    Mit dem Befehl "sudo journalctl -f -u homebridge-config-ui-x" wird lediglich "-- Logs begin at Thu 2020-06-04 17:53:24 CEST. --" ausgespuckt.


    Mit "homebridge -I" kommt folgende Ausgabe

    [6/4/2020, 18:32:21] config.json (/home/pi/.homebridge/config.json) not found.

    [6/4/2020, 18:32:23] Loaded plugin: [email protected]

    [6/4/2020, 18:32:23] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'

    [6/4/2020, 18:32:23] ---

    [6/4/2020, 18:32:23] Loaded plugin: [email protected]

    [6/4/2020, 18:32:23] Registering platform 'homebridge-config-ui-x.config'

    [6/4/2020, 18:32:23] ---

    [6/4/2020, 18:32:24] Loaded plugin: [email protected]

    [6/4/2020, 18:32:24] Registering platform 'homebridge-doorbird.Doorbird'

    [6/4/2020, 18:32:24] ---

    [6/4/2020, 18:32:25] Loaded plugin: [email protected]

    [6/4/2020, 18:32:25] Registering platform 'homebridge-hue.Hue'

    [6/4/2020, 18:32:25] ---

    [6/4/2020, 18:32:26] Loaded plugin: [email protected]

    [6/4/2020, 18:32:26] Registering platform 'homebridge-landroid.Landroid'

    [6/4/2020, 18:32:26] ---

    [6/4/2020, 18:32:26] Loaded plugin: [email protected]

    [6/4/2020, 18:32:26] Registering platform 'homebridge-rademacher-homepilot.RademacherHomePilot'


    Weis einer zufälligerweise was zutun ist?


    Vielen Dank im Voraus!

  • Wenn ich "sudo journalctl -fau homebridge" eingebe, kommt folgendes heraus:


    -- Logs begin at Thu 2020-06-04 18:42:42 CEST. --

    Jun 04 19:34:50 raspberrypi homebridge[7738]: at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:152:29)

    Jun 04 19:34:50 raspberrypi homebridge[7738]: at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)

    Jun 04 19:34:50 raspberrypi homebridge[7738]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Jun 04 19:34:50 raspberrypi homebridge[7738]: at Module._compile (internal/modules/cjs/loader.js:1138:30)

    Jun 04 19:34:50 raspberrypi homebridge[7738]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)

    Jun 04 19:34:50 raspberrypi homebridge[7738]: at Module.load (internal/modules/cjs/loader.js:986:32)

    Jun 04 19:34:50 raspberrypi homebridge[7738]: at Function.Module._load (internal/modules/cjs/loader.js:879:14)

    Jun 04 19:34:50 raspberrypi homebridge[7738]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)

    Jun 04 19:34:50 raspberrypi homebridge[7738]: at internal/main/run_main_module.js:17:47

    Jun 04 19:34:50 raspberrypi homebridge[7738]: [6/4/2020, 19:34:50] Got SIGTERM, shutting down Homebridge...

    Jun 04 19:34:53 raspberrypi homebridge[7738]: [6/4/2020, 19:34:53] [Config] Homebridge Config UI X v4.21.0 is listening on :: port 8080

    Jun 04 19:34:55 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=143/n/a

    Jun 04 19:34:55 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.

    Jun 04 19:35:05 raspberrypi systemd[1]: homebridge.service: Service RestartSec=10s expired, scheduling restart.

    Jun 04 19:35:05 raspberrypi systemd[1]: homebridge.service: Scheduled restart job, restart counter is at 1.

    Jun 04 19:35:05 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.

    Jun 04 19:35:05 raspberrypi systemd[1]: Started Node.js HomeKit Server.

    Jun 04 19:35:06 raspberrypi homebridge[7793]: [6/4/2020, 19:35:06] Loaded config.json with 0 accessories and 5 platforms.

    Jun 04 19:35:06 raspberrypi homebridge[7793]: [6/4/2020, 19:35:06] ---

    Jun 04 19:35:07 raspberrypi homebridge[7793]: [6/4/2020, 19:35:07] Loaded plugin: [email protected]

    Jun 04 19:35:07 raspberrypi homebridge[7793]: [6/4/2020, 19:35:07] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'

    Jun 04 19:35:07 raspberrypi homebridge[7793]: [6/4/2020, 19:35:07] ---

    Jun 04 19:35:08 raspberrypi homebridge[7793]: [6/4/2020, 19:35:08] Loaded plugin: [email protected]

    Jun 04 19:35:08 raspberrypi homebridge[7793]: [6/4/2020, 19:35:08] Registering platform 'homebridge-config-ui-x.config'

    Jun 04 19:35:08 raspberrypi homebridge[7793]: [6/4/2020, 19:35:08] ---

    Jun 04 19:35:08 raspberrypi homebridge[7793]: [6/4/2020, 19:35:08] Loaded plugin: [email protected]

    Jun 04 19:35:08 raspberrypi homebridge[7793]: [6/4/2020, 19:35:08] Registering platform 'homebridge-doorbird.Doorbird'

    Jun 04 19:35:08 raspberrypi homebridge[7793]: [6/4/2020, 19:35:08] ---

    Jun 04 19:35:09 raspberrypi homebridge[7793]: [6/4/2020, 19:35:09] Loaded plugin: [email protected]

    Jun 04 19:35:09 raspberrypi homebridge[7793]: [6/4/2020, 19:35:09] Registering platform 'homebridge-hue.Hue'

    Jun 04 19:35:09 raspberrypi homebridge[7793]: [6/4/2020, 19:35:09] ---

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] Loaded plugin: [email protected]

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] Registering platform 'homebridge-landroid.Landroid'

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] ---

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] Loaded plugin: [email protected]

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] Registering platform 'homebridge-rademacher-homepilot.RademacherHomePilot'

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] ---

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] Loading 5 platforms...

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] [Config] Initializing config platform...

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] [Config] Spawning homebridge-config-ui-x with PID 7813

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] Error loading platform requested in your config.json at position 2

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] Error: The requested platform 'DoorBird' was not registered by any plugin.

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at PluginManager.getPluginForPlatform (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:224:15)

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at /usr/local/lib/node_modules/homebridge/src/server.ts:386:37

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at Array.forEach (<anonymous>)

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:373:27)

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:152:29)

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at Module._compile (internal/modules/cjs/loader.js:1138:30)

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at Module.load (internal/modules/cjs/loader.js:986:32)

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at Function.Module._load (internal/modules/cjs/loader.js:879:14)

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)

    Jun 04 19:35:10 raspberrypi homebridge[7793]: at internal/main/run_main_module.js:17:47

    Jun 04 19:35:10 raspberrypi homebridge[7793]: [6/4/2020, 19:35:10] Got SIGTERM, shutting down Homebridge...

    Jun 04 19:35:14 raspberrypi homebridge[7793]: [6/4/2020, 19:35:14] [Config] Homebridge Config UI X v4.21.0 is listening on :: port 8080

  • Na da sind wir doch schonmal ein ganzes Stueck weiter:


    Error: The requested platform 'DoorBird' was not registered by any plugin.


    Du hast in deiner config.json einen Abschnitt fuer doorbird hinterlegt, aber das dazugehoerige Plugin nicht installiert:


    Code
    sudo npm install -g --unsafe-perm homebridge-doorbird


    Und danach nochmal meine obigen beiden Befehle nach einander ausfuehren.

  • Funktioniert doch nicht korrekt. Mittlerweile lässt sich zwar wieder auf die Homebridge drauf zugreifen, gibt man aber " homebridge -I" ein, kommt erneut "config.json (/home/pi/.homebridge/config.json) not found."

  • NICHT homebridge-I eingeben! Damit versuchst du homebridge an einer ganz anderen Stelle zu starten. Die obigen Befehle sind die einzigen die bei deiner Installation relevant sind. Alles andere einfach ignorieren :P

  • Korrekt: Weil mein Befehl, startet den Service der fuer die homebridge eingerichtet wurde. Dein Befehl versucht innerhalb des Benutzers das selbe, findet aber nicht die dafuer vorgesehenen Dateien.

  • Mit "homebridge -I" kommt folgende Ausgabe

    [6/4/2020, 18:32:21] config.json (/home/pi/.homebridge/config.json) not found.

    Sollst du homebridge -I eingeben? Ich würde sagen: nein.