homebridge.service: Main process exited, code=exited, status=143/n/a

  • Nach eurer super Anleitung erhalte ich trotzdem oben genanten Fehler :(


    Dieser tritt beim starten der Homebridge auf.

    erst kommt:

    "Homebridge Config UI X v4.10.3 is listening on :: port 8080"


    Eine Sekunde später dann:

    "homebridge.service: Main process exited, code=exited, status=143/n/a

    Feb 24 10:52:52 phoscon systemd[1]: homebridge.service: Failed with result 'exit-code'.

    Feb 24 10:52:53 phoscon systemd[1]: homebridge.service: Service RestartSec=100ms expired, scheduling restart.

    Feb 24 10:52:53 phoscon systemd[1]: homebridge.service: Scheduled restart job, restart counter is at 3."


    und es beginnt eine Dauerschleife.


    Hier der Inhalt der Homebridge.service


    [Unit]

    Description=Node.js HomeKit Server

    After=syslog.target network-online.target

    [Service]

    Type=simple

    User=homebridge

    EnvironmentFile=/etc/default/homebridge

    ExecStart=/usr/local/bin/homebridge $HOMEBRIDGE_OPTS

    Restart=on-failure

    RestartSec=10 KillMode=process

    [Install]

    WantedBy=multi-user.target


    Meiner Meinung nach ist alles korrekt und ich komme hier nicht mehr weiter :((


    Kann mir jemand helfen?:)

  • Tja, viel steht da ja nicht gerade. Bitte versuch doch mal das:


    sudo systemctl stop homebridge (Homebridge anhalten)

    sudo su - homebridge (zum User homebridge wechseln)

    homebridge -I -U /var/homebridge (Homebridge-Prozess "manuell" starten)


    Passiert dann das gleiche? Danach diesen Modus beenden mit

    Drücken von ctrl-c oder strg-c

    exit


    Hast du schon eine config.json erstellt und was steht in der?

  • Hallo Danke für die fixe Antwort.


    1:) hier das Ergebniss deiner ersten beiden Befehle


    [email protected]:~ $ sudo systemctl stop homebridge

    [email protected]:~ $ sudo su - homebridge


    Wi-Fi is currently blocked by rfkill.

    Use raspi-config to set the country before use.


    2:) Der dritte Befehl bringt folgendes:


    [2020-2-24 11:24:41] Error: listen EADDRINUSE: address already in use :::51826

    at Server.setupListenHandle [as _listen2] (net.js:1309:16)

    at listenInCluster (net.js:1357:12)

    at Server.listen (net.js:1445:7)

    at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:60:19)

    at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:158:20)

    at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:616:16)

    at Server._publish (/usr/local/lib/node_modules/homebridge/lib/server.js:132:16)

    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:101:10)

    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)

    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)



    3:) Der Inhalt meiner config.json:


    {

    "bridge": {

    "name": "Homebridge",

    "username": "CC:22:3D:E3:CE:30",

    "port": 51826,

    "pin": "031-45-154"

    },

    "description": "Home Smart Home",

    "platforms": [

    {

    "platform": "config",

    "name": "Config",

    "port": 8080,

    "auth": "form",

    "theme": "red",

    "restart": "sudo -n systemctl restart homebridge",

    "temp": "/sys/class/thermal/thermal_zone0/temp",

    "sudo": true,

    "log": {

    "method": "custom",

    "command": "journalctl -o cat -n 500 -f -u homebridge"

    }

    }

    ],

    "accessories": []

    }



    Den Inhalt habe ich auch über die https://jsonlint.com geprüft.


    hilft das weiter?

  • Error: listen EADDRINUSE: address already in use :::51826

    Homebridge läuft bereits. Du willst es ein zweites Mal starten und das geht nicht. Wie sieht es denn so aus nach einem sudo reboot?

  • Jippie es geht :)


    Danke dir wie verrückt :)


    ich bin davon ausgegangen, dass der Befehl:


    sudo systemctl restart homebridge; sudo journalctl -fau homebridge


    Homebridge neustartet und keine zweite INstanz versucht zu starten. Da hab ich wohl falschgedacht.


    jetzt läuft es und ich habe ein webinterface :) Jetzt muss nur noch die Kopplung mit meinen IOS Geräten klappen das teste ich heute abend :)

  • ich bin davon ausgegangen, dass der Befehl:


    sudo systemctl restart homebridge; sudo journalctl -fau homebridge


    Homebridge neustartet und keine zweite INstanz versucht zu starten. Da hab ich wohl falschgedacht.

    Du hast ganz richtig gedacht. Genau das soll der Befehl tun: er soll homebridge stoppen und wieder starten. Er soll keine zweite Instanz starten. Und genau das tut er normalerweise auch. Versuche das erneut, denn diese Funktion ist essentiell zur Aktivierung neuer Plugins.

  • Ich habe ganz das selbe Problem, wenn ich zum User Homebridge Wechsel scheint alles zu gehen. Ich weiß jetzt aber nicht wie das mein Problem löst, weil ja mit dem User pi gestartet wird....!?

  • Ich habe ganz das selbe Problem, wenn ich zum User Homebridge Wechsel scheint alles zu gehen. Ich weiß jetzt aber nicht wie das mein Problem löst, weil ja mit dem User pi gestartet wird....!?

    Kannst du das genauer beschreiben?

  • Kannst du das genauer beschreiben?

    Wenn ich das hier eingebe, startet die HP ohne Fehler. Wenn ich denn HB mit dem User pi starte kommen Fehler:

    Ich hoffe das Hilft weiter.

  • Was steht denn in deiner Homebridge.service?

  • Und wie hast du diese Homebridge installiert?


    Ok, ich hab's in einem anderen Thread gesehen: nach der Forenanleitung. Versuch mal ein


    chown -R homebridge:homebridge /var/homebridge

    Einmal editiert, zuletzt von sschuste ()

  • Hallo zusammen,

    hänge mich hier mal mit rein.

    Gestern lief noch alles wunderbar.....seid Heute früh dauerschleife :-(


    Jul 11 10:07:30 raspberrypi systemd[1]: homebridge.service: Service RestartSec=10s expired, scheduling restart.

    Jul 11 10:07:30 raspberrypi systemd[1]: homebridge.service: Scheduled restart job, restart counter is at 7.

    Jul 11 10:07:30 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.

    Jul 11 10:07:30 raspberrypi systemd[1]: Started Node.js HomeKit Server.

    Jul 11 10:07:31 raspberrypi homebridge[1805]: [7/11/2020, 10:07:31] Loaded config.json with 0 accessories and 5 platforms.

    Jul 11 10:07:31 raspberrypi homebridge[1805]: [7/11/2020, 10:07:31] ---

    Jul 11 10:07:33 raspberrypi homebridge[1805]: [7/11/2020, 10:07:33] Loaded plugin: [email protected]

    Jul 11 10:07:33 raspberrypi homebridge[1805]: [7/11/2020, 10:07:33] Registering platform 'homebridge-automower.Automower'

    Jul 11 10:07:33 raspberrypi homebridge[1805]: [7/11/2020, 10:07:33] ---

    Jul 11 10:07:34 raspberrypi homebridge[1805]: [7/11/2020, 10:07:34] Loaded plugin: [email protected]

    Jul 11 10:07:34 raspberrypi homebridge[1805]: [7/11/2020, 10:07:34] Registering platform 'homebridge-blinkcameras.BlinkCameras'

    Jul 11 10:07:34 raspberrypi homebridge[1805]: [7/11/2020, 10:07:34] ---

    Jul 11 10:07:34 raspberrypi homebridge[1805]: [7/11/2020, 10:07:34] Loaded plugin: [email protected]

    Jul 11 10:07:34 raspberrypi homebridge[1805]: [7/11/2020, 10:07:34] Registering platform 'homebridge-config-ui-x.config'

    Jul 11 10:07:34 raspberrypi homebridge[1805]: [7/11/2020, 10:07:34] ---

    Jul 11 10:07:34 raspberrypi homebridge[1805]: [7/11/2020, 10:07:34] Loaded plugin: [email protected]

    Jul 11 10:07:35 raspberrypi homebridge[1805]: [7/11/2020, 10:07:35] Registering platform 'homebridge-fritz.FRITZ!Box'

    Jul 11 10:07:35 raspberrypi homebridge[1805]: [7/11/2020, 10:07:35] ---

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] Loaded plugin: [email protected]

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] Registering platform 'homebridge-hue.Hue'

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] ---

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] Loading 5 platforms...

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Config] Initializing config platform...

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Config] Spawning homebridge-config-ui-x with PID 1825

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Automower] Initializing Automower platform...

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Hue] Initializing Hue platform...

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Hue] homebridge-hue v0.11.69, node v12.17.0, homebridge v1.1.1

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [My FRITZ!Box] Initializing FRITZ!Box platform...

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] Initializing BlinkCameras platform...

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] Init

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] [Zuhause System] Registering

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] [Zuhause System] Initialized

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] [Zuhause System] Loaded cached accessory

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] [Blink Hof Camera] Registering

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] [Blink Hof Camera] Initialized

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] [Blink Hof Camera] Loaded cached accessory

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] [Blink Garten Camera] Registering

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] [Blink Garten Camera] Initialized

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] [Blink Garten Camera] Loaded cached accessory

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Automower] DidFinishLaunching

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] Finished Launching

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] Discovering Cameras

    Jul 11 10:07:37 raspberrypi homebridge[1805]: [7/11/2020, 10:07:37] [Blink System] Authenticating with Blink API as [email protected]

    Jul 11 10:07:37 raspberrypi homebridge[1805]: Making new blink client

    Jul 11 10:07:38 raspberrypi homebridge[1805]: [7/11/2020, 10:07:38] TypeError: Cannot read property 'message' of undefined

    Jul 11 10:07:38 raspberrypi homebridge[1805]: at Request._callback (/usr/local/lib/node_modules/homebridge-blinkcameras/node_modules/node-blink-security/lib/blink.js:399:90)

    Jul 11 10:07:38 raspberrypi homebridge[1805]: at self.callback (/usr/local/lib/node_modules/homebridge-blinkcameras/node_modules/request/request.js:185:22)

    Jul 11 10:07:38 raspberrypi homebridge[1805]: at Request.emit (events.js:315:20)

    Jul 11 10:07:38 raspberrypi homebridge[1805]: at Request.onRequestError (/usr/local/lib/node_modules/homebridge-blinkcameras/node_modules/request/request.js:877:8)

    Jul 11 10:07:38 raspberrypi homebridge[1805]: at ClientRequest.emit (events.js:315:20)

    Jul 11 10:07:38 raspberrypi homebridge[1805]: at TLSSocket.socketErrorListener (_http_client.js:426:9)

    Jul 11 10:07:38 raspberrypi homebridge[1805]: at TLSSocket.emit (events.js:315:20)

    Jul 11 10:07:38 raspberrypi homebridge[1805]: at emitErrorNT (internal/streams/destroy.js:92:8)

    Jul 11 10:07:38 raspberrypi homebridge[1805]: at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)

    Jul 11 10:07:38 raspberrypi homebridge[1805]: at processTicksAndRejections (internal/process/task_queues.js:84:21)

    Jul 11 10:07:38 raspberrypi homebridge[1805]: [7/11/2020, 10:07:38] Got SIGTERM, shutting down Homebridge...

    Jul 11 10:07:38 raspberrypi homebridge[1805]: [7/11/2020, 10:07:38] [Automower] INFO - shutdown

    Jul 11 10:07:38 raspberrypi homebridge[1805]: [7/11/2020, 10:07:38] [Hue] warning: latest version: homebridge-hue v0.11.72

    Jul 11 10:07:38 raspberrypi homebridge[1805]: [7/11/2020, 10:07:38] [My FRITZ!Box] FRITZ!Box platform login successful

    Jul 11 10:07:38 raspberrypi homebridge[1805]: [7/11/2020, 10:07:38] [My FRITZ!Box] Discovering accessories

    Jul 11 10:07:38 raspberrypi homebridge[1805]: [7/11/2020, 10:07:38] [My FRITZ!Box] Using tr64 api for guest Wifi

    Jul 11 10:07:38 raspberrypi homebridge[1805]: [7/11/2020, 10:07:38] [Hue] Philips hue: Philips BSB002 bridge v1939070020, api v1.38.0

    Jul 11 10:07:38 raspberrypi homebridge[1805]: [7/11/2020, 10:07:38] [Automower] INFO - Discovered Mower : Gustav

    Jul 11 10:07:39 raspberrypi homebridge[1805]: [7/11/2020, 10:07:39] [Hue] Philips hue: /lights/14: warning: using default colour gamut for unknown light model {"state":{"on":false,"bri":254,"hue":110,"sat":201,"effect":"none","xy":[0.5276,0.3155],"ct":275,"alert":"select","colormode":"hs","mode":"homeautomation","reachable":false},"swupdate":{"state":"notupdatable","lastinstall":"2019-11-22T20:16:48"},"type":"Extended color light","name":"Küche hinten","modelid":"JZ-RGBW-Z01","manufacturername":"GREEBLE","productname":"Extended color light","capabilities":{"certified":false,"control":{"colorgamuttype":"other","ct":{"min":275,"max":295}},"streaming":{"renderer":false,"proxy":false}},"config":{"archetype":"classicbulb","function":"mixed","direction":"omnidirectional"},"uniqueid":"00:15:8d:00:00:ad:7b:f3-02","swversion":"1001-0007"}

    Jul 11 10:07:39 raspberrypi homebridge[1805]: [7/11/2020, 10:07:39] [Hue] Philips hue: 4 accessories

    Jul 11 10:07:39 raspberrypi homebridge[1805]: [7/11/2020, 10:07:39] [Hue] masked debug info dumped to /var/homebridge/homebridge-hue.json.gz

    Jul 11 10:07:39 raspberrypi homebridge[1805]: [7/11/2020, 10:07:39] Initializing platform accessory 'Philips hue'...

    Jul 11 10:07:39 raspberrypi homebridge[1805]: [7/11/2020, 10:07:39] [Hue] Philips hue: 2 services

    Jul 11 10:07:39 raspberrypi homebridge[1805]: [7/11/2020, 10:07:39] Initializing platform accessory 'Wohnzimmer Decke'...

    Jul 11 10:07:39 raspberrypi homebridge[1805]: [7/11/2020, 10:07:39] Initializing platform accessory 'Küche hinten'...

    Jul 11 10:07:39 raspberrypi homebridge[1805]: [7/11/2020, 10:07:39] Initializing platform accessory 'Tv Ecke'...

    Jul 11 10:07:40 raspberrypi homebridge[1805]: [7/11/2020, 10:07:40] [My FRITZ!Box] Updating guest WLAN

    Jul 11 10:07:40 raspberrypi homebridge[1805]: [7/11/2020, 10:07:40] [My FRITZ!Box] Alarm sensors found: none

    Jul 11 10:07:40 raspberrypi homebridge[1805]: [7/11/2020, 10:07:40] [My FRITZ!Box] Buttons found: none

    Jul 11 10:07:40 raspberrypi homebridge[1805]: [7/11/2020, 10:07:40] [My FRITZ!Box] Outlets found: E8:DF:70:0F:32:E5

    Jul 11 10:07:40 raspberrypi homebridge[1805]: [7/11/2020, 10:07:40] [My FRITZ!Box] Updating outlet E8:DF:70:0F:32:E5

    Jul 11 10:07:41 raspberrypi homebridge[1805]: [7/11/2020, 10:07:41] [My FRITZ!Box] Thermostats found: none

    Jul 11 10:07:41 raspberrypi homebridge[1805]: [7/11/2020, 10:07:41] [My FRITZ!Box] Sensors found: none

    Jul 11 10:07:41 raspberrypi homebridge[1805]: [7/11/2020, 10:07:41] Initializing platform accessory 'Guest WLAN'...

    Jul 11 10:07:41 raspberrypi homebridge[1805]: [7/11/2020, 10:07:41] Initializing platform accessory 'FRITZ!Powerline 546E'...

    Jul 11 10:07:41 raspberrypi homebridge[1805]: Setup Payload:

    Jul 11 10:07:41 raspberrypi homebridge[1805]: X-HM://0023ISYWYPK64

    Jul 11 10:07:41 raspberrypi homebridge[1805]: Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]: Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]: ┌────────────┐

    Jul 11 10:07:41 raspberrypi homebridge[1805]: │ 031-45-154 │

    Jul 11 10:07:41 raspberrypi homebridge[1805]: └────────────┘

    Jul 11 10:07:41 raspberrypi homebridge[1805]:

    Jul 11 10:07:41 raspberrypi homebridge[1805]: [7/11/2020, 10:07:41] Homebridge is running on port 51826.

    Jul 11 10:07:43 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=143/n/a

    Jul 11 10:07:43 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.

    Jul 11 10:07:44 raspberrypi homebridge[1805]: [7/11/2020, 10:07:44] [Config] Homebridge Config UI X v4.23.0 is listening on :: port 8080

    Jul 11 10:07:53 raspberrypi systemd[1]: homebridge.service: Service RestartSec=10s expired, scheduling restart.



    und wieder von vorne.


    Was ist da passiert über Nacht ?


    Danke schon mal für die Hilfe.


    Gruß

    Andy

  • Da scheint was mit der authentifizierung der Blink Kameras irgendwas verhagelt zu haben.

    Würde mal in der Config die Blinks entfernen und Homebridge restarten.

    Anschließend eine zweite Insatanz einrichten und die Blink dort laufen lassen. Dann kannst du in Ruhe in der Instanz rumprobieren und schauen woran es liegt.

    So wie das aussieht ist da was mit der API authentifizierung was schräg.


    HAst du im Netzwerk ein PiHole?

    Wie sieht es nach nem manuellen restart aus?

    sudo reboot?

  • Hey,


    Ein pihole ist ein netzwerkweiter werbeblocker. Funktioniert auf nem Raspberry Pi.


    Hast du das Blink mal auf ner Zweiten Instanz laufen lassen? Dort könntest du auch mal eine Ältere Plugin Version laufen lassen. Manchmal bringt das auch Erfolg.

  • Hallo,


    ah ok. Wieder was dazu gelernt :-) Hab ich nicht laufen.


    Hab mir irgendwie die ganze Homebridge geschossen und Neu aufgesetzt. Gleiches Problem wieder.

    Blink auch in einer zweiten Instanz laufen lassen (mit der aktuellen Version) gleiches Problem.

    Leider noch keine Zeit dazu gehabt mehr rum zu "wurschteln"

  • Okay.


    Kann auch gern mal mit das Plugin angucken. Hast du die config und das log grade da?

  • Guten Morgen, hab heute auch ein ähnliches Problem mit meiner Homebridge,


    kommt so etwas:


    [21.11.2020, 08:43:53] Error: EACCES: permission denied, open '/var/homebridge/persist/AccessoryInfo.CC223DE3CE31.json'

        at Object.openSync (fs.js:476:3)

        at Object.writeFileSync (fs.js:1467:35)

        at LocalStorage.persistKeySync (/usr/local/lib/node_modules/homebridge/node_modules/node-persist/src/local-storage.js:476:16)

        at LocalStorage.setItemSync (/usr/local/lib/node_modules/homebridge/node_modules/node-persist/src/local-storage.js:277:14)

        at AccessoryInfo.save (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/model/AccessoryInfo.ts:179:26)

        at Bridge.Accessory._this.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:912:25)

        at Server.publishBridge (/usr/local/lib/node_modules/homebridge/src/server.ts:192:17)

        at /usr/local/lib/node_modules/homebridge/src/server.ts:164:24

        at processTicksAndRejections (internal/process/task_queues.js:93:5)

        at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:163:5)

    [21.11.2020, 08:43:53] Got SIGTERM, shutting down Homebridge...

    [21.11.2020, 08:43:53] Error: EACCES: permission denied, open '/var/homebridge/accessories/cachedAccessories'

        at Object.openSync (fs.js:476:3)

        at Object.writeFileSync (fs.js:1467:35)

        at LocalStorage.persistKeySync (/usr/local/lib/node_modules/homebridge/node_modules/node-persist/src/local-storage.js:476:16)

        at LocalStorage.setItemSync (/usr/local/lib/node_modules/homebridge/node_modules/node-persist/src/local-storage.js:277:14)

        at Server.saveCachedPlatformAccessoriesOnDisk (/usr/local/lib/node_modules/homebridge/src/server.ts:320:24)

        at Server.teardown (/usr/local/lib/node_modules/homebridge/src/server.ts:607:10)

        at signalHandler (/usr/local/lib/node_modules/homebridge/src/cli.ts:64:12)

        at process.emit (events.js:315:20)

        at process.emit (/usr/local/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:495:21)

    [21.11.2020, 08:43:55] [Homebridge UI] Homebridge Config UI X v4.34.0 is listening on :: port 8080