homebridge/homebridge-config-ui-x

Backup won't run…

albi opened this issue · 2 comments

albi commented

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+

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

you're right