homebridge / homebridge-config-ui-x

The Homebridge UI. Monitor, configure and backup Homebridge from a browser.
https://homebridge.io
MIT License
2.59k stars 369 forks source link

Backup won't run… #2021

Closed albi closed 3 months ago

albi commented 3 months ago

Describe The Bug

Unfortunately, the Homebridge backup is not running. The path I specified exists but no backups are created there. It is an external drive that is correctly mounted as other services backup there too.

Bildschirmfoto 2024-03-16 um 13 19 33 Bildschirmfoto 2024-03-16 um 13 25 35

Logs

[16/03/2024, 00:31:49] [Homebridge UI] Could not run scheduled backup: Custom instance backup path is not writable / readable by service: EACCES: permission denied, access '/media/pi/Pi-Data/Backups/Homebridge'

Config

No response

Homebridge UI Version

latest

Homebridge Version

latest

Node.js Version

latest

Operating System

Raspberry Pi OS / Raspbian

Environment Info

None

Raspberry Pi Model

Raspberry Pi 3 B+

NorthernMan54 commented 3 months ago

The error / problem is here - [16/03/2024, 00:31:49] [Homebridge UI] Could not run scheduled backup: Custom instance backup path is not writable / readable by service: EACCES: permission denied, access '/media/pi/Pi-Data/Backups/Homebridge'

You need to change ownership of the directory to the user account that is running the homebridge process. Current ownership is root based on your directory listing.

albi commented 3 months ago

you're right