Sonarr suddenly Failing on Mac OS X, tried everything

Sonarr version (exact version): Version 2.0.0.3934
Mono version (if Sonarr is not running on Windows):4.2.2.30
OS:OS X 10.11.13
Debug logs (posted to hastebin or similar): 16-3-11 21:06:31.5|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3934
16-3-11 21:06:33.0|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-3-11 21:06:34.2|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
16-3-11 21:06:34.3|Info|MigrationLogger|*** Migrating data source=/Users/danielevans/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
16-3-11 21:06:34.5|Debug|MigrationLogger|Took: 00:00:00.1735946
16-3-11 21:06:34.5|Info|MigrationLogger|*** Migrating data source=/Users/danielevans/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
16-3-11 21:06:34.5|Fatal|ConsoleApp|EPIC FAIL!

System.Data.SQLite.SQLiteException: database disk image is malformed
database disk image is malformed
at System.Data.SQLite.SQLite3.Prepare (System.Data.SQLite.SQLiteConnection cnn, System.String strSql, System.Data.SQLite.SQLiteStatement previous, UInt32 timeoutMS, System.String& strRemain) <0x409ee38 + 0x00ac3> in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () <0x409ead8 + 0x001a8> in :0

Description of issue (if you think you’ve found a bug please include steps to reproduce):
I’ve had Sonarr running awesome for a couple months, sudden and complete failure. Cannot get into the GUI, had to figure out terminal on this damn Mac Mini to get the logs. I’ve tried complete wipe and re-install of Sonarr and Mono - no luck. It appears in the activity monitor and then vanishes. Hoping Markus or another can help (but my money is on Markus)
Thanks in advance.

That’s gonna cost ya. :wink:

OSX is notorious for filesystem corruption during power outages. Anyway, one of the databases got corrupted because of that, fortunately that’s just the log database.
So in Finder, go to (Cmd+G iirc), ~/.config/NzbDrone.
Once there delete the files starting with logs.db (so also logs.db-wal -journal, -shm etc if present).
Finally start Sonarr again to see if it works.

Taloth is awesome, long live Taloth. Sorry for the long delay but I finally got a moment back at home to try this out and it worked. I had to get a little better with Terminal (never thought I’d miss DOS) but it is working like a charm!!

Thank you!

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