SQLiteException: file is encrypted or is not a database file

Hi Marcus, my issue might be related to recent SQLite error posts, however I’m getting a different error message. I wanted to confirm before moving forward with your suggestions in the other thread. I also received an api error message in the web ui, rebooted and now receive the following error. I can follow up with the the db file if needed.

System.Data.SQLite.SQLiteException: file is encrypted or is not a database
file is encrypted or is not a database
at System.Data.SQLite.SQLite3.Prepare (System.Data.SQLite.SQLiteConnection cnn, System.String strSql, System.Data.SQLite.SQLiteStatement previous, UInt32 timeoutMS, System.String& strRemain) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

[Fatal] ConsoleApp: EPIC FAIL!

TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Core.Datastore.DbFactory —> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Core.Datastore.Migration.Framework.MigrationController —> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Core.Datastore.Migration.Framework.SQLiteAlter —> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Core.Datastore.Migration.Framework.SqLiteMigrationHelper —> System.Data.SQLite.SQLiteException: file is encrypted or is not a database
file is encrypted or is not a database.

Thats definitely not related. Your DB looks to be corrupt, You can restore from the latest backup or attempt to repair it.

If you want to PM me a link to grab it I’ll try to take a look when I get a chance.

Hi Marcus, Thanks a lot for the prompt response. I’ll restore from a backup.

I’ll pm you the db. Thanks much