Unable to start Sonarr within Docker

Hi,
I’ve recently rebuilt by OMV hence a new docker and a new sonarr.
But this time, I’ve set the config for sonarr to be a CIFS share located on a NAS.
this folder has been set with guest write/read access.
Mounted on OMV using remote mount, PUID and PGID are correct, but when starting sonarr, it kept complaining with the following error

[v2.0.0.5301] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /config/nzbdrone.db is corrupt, restore from backup if available. See: https://github.com/Sonarr/Sonarr/wiki/FAQ#i-am-getting-an-error-database-disk-image-is-malformed —> System.Data.SQLite.SQLiteException: database is locked
database is locked

I’ve googled around, but everyone that had the same problem seems to have config folder within the same container as sonarr.
I’ve even set PGID and PUID to be 0 as root, still to no avail.

please help. Thanks

Don’t do that, SQLite over network shares is going to be a bad time.

It’s a corrupt database, it doesn’t matter where you’re storing it. Restoring a backup is your best bet, but you may be able to repair it manually.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.