Help deploying Sonarr in Azure Container Instance

Hi all,

I’m trying to deploy Sonarr to serverless Azure Container Instances. Has anyone else tried this? I’m finding the below error in the Sonarr container logs.

[v3.0.3.770] NzbDrone.Core.Datastore.CorruptDatabaseException: Database file: /config/sonarr.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’m starting this container from scratch, so I would expect Sonarr to build the dB upon first run but it seems to be finding an existing dB that is corrupt.

Thanks in advance for the help!