Closed johnwarne closed 1 year ago
Could you post the part of the log where it shows all the config settings, specifically the SQLite path? (Redact anything you don't want to share)
Also, as of 0.8.0 you will need to add an addition volume mount for the database file (check the reader) to persist the database.
I suspect the issue here is that the directory /config/database doesn't exist unless said volume mount is added.
Yep, that was it. Once I specified a volume mount for the database the container started up as expected, and the database was created. The container had auto-updated from version 0.7.4, and this is what had made it fail when it was recreated at 0.8.0/0.8.1. Thanks for the heads up!
BTW the new functionality to back up the missed video files till the retention period allowed me to get the files that I missed while my Docker container was down. Really, really great addition here!
Description
When running version 0.8.0 or 0.8.1 in Docker, I get the following error when starting the container:
Reverting back to
image: ghcr.io/ep1cman/unifi-protect-backup:0.7.4
allows the container to run successfully again.Anything I could try to get the database to be created within the container?