Sonarr just stopped working

Couple of days ago I opened the Sonarr page and simply got a ‘No data received’ error. Restarted Sonarr and the computer a few times. Reinstalled a fresh downloaded version, still the same problem.

I’m not particularly technical, so installing it in the first place (Mac, Yosemite 10.10.5) was tricky, but I managed it, and it’s worked fine for 6 months or so.

Any thoughts as to why it might suddenly stop? I haven’t noticed any OSX or browser updates, but I may have missed them…

You’ll need to look at the log files to see why its not starting, usual culprit on OS X is a corrupt database, which means you’ll need to restore from a backup (Sonarr does this automatically) and remove the logs.db.

Check the logs to see if thats the case.

Thanks! I did read something about the logs that said to go in and delete them. They’re still deleted, but there’s a file called nzbdrone.txt that has all sorts of bad sounding stuff in it!

15-12-9 21:55:17.9|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3571
15-12-9 21:55:24.0|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-9 21:55:28.8|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-9 21:55:29.1|Info|MigrationLogger|
* Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-9 21:55:29.3|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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

15-12-9 21:57:46.3|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3571
15-12-9 21:58:30.0|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-9 21:58:48.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-9 21:58:50.1|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-9 21:58:51.1|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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

15-12-9 22:01:07.8|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3571
15-12-9 22:01:13.8|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-9 22:01:18.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-9 22:01:19.0|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-9 22:01:19.3|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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

15-12-9 22:01:22.3|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3571
15-12-9 22:01:27.6|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-9 22:01:33.0|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-9 22:01:33.3|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-9 22:01:33.4|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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

15-12-10 07:42:26.1|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3571
15-12-10 07:42:47.6|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 07:43:03.1|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 07:43:04.2|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 07:43:04.7|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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

15-12-10 18:31:20.5|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3571
15-12-10 18:31:44.2|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 18:31:52.4|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 18:31:52.9|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 18:31:55.1|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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

15-12-10 18:42:36.8|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3571
15-12-10 18:42:45.6|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 18:42:49.6|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 18:42:49.8|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 18:42:50.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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

15-12-10 20:16:10.4|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3571
15-12-10 20:16:17.0|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 20:16:22.3|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 20:16:22.6|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 20:16:22.8|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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

15-12-10 20:17:46.8|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3594
15-12-10 20:17:54.8|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 20:18:04.2|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 20:18:05.1|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 20:18:05.6|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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

15-12-10 21:00:24.8|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3594
15-12-10 21:00:30.2|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 21:00:34.6|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 21:00:34.9|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 21:00:35.3|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) <0x432c000 + 0x00ac3> in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () <0x3e35590 + 0x001a8> in :0

15-12-10 21:15:44.7|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3594
15-12-10 21:15:49.8|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 21:15:53.6|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 21:15:53.8|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 21:15:54.0|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) <0x434e000 + 0x00ac3> in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () <0x3e57590 + 0x001a8> in :0

15-12-10 21:16:59.9|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3594
15-12-10 21:17:04.2|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 21:17:07.8|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 21:17:08.0|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 21:17:08.1|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) <0x42d0000 + 0x00ac3> in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () <0x3dd9590 + 0x001a8> in :0

15-12-10 21:59:36.6|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3594
15-12-10 22:00:10.0|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 22:00:24.1|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 22:00:25.8|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 22:00:28.1|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) <0x42fb000 + 0x00ac3> in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () <0x3e04590 + 0x001a8> in :0

15-12-10 22:03:26.8|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3594
15-12-10 22:03:33.6|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 22:03:38.4|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 22:03:38.6|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 22:03:38.9|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) <0x4362000 + 0x00ac3> in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () <0x3e6b590 + 0x001a8> in :0

15-12-10 22:03:40.4|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3594
15-12-10 22:03:45.5|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 22:03:50.5|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 22:03:50.8|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 22:03:50.9|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) <0x435a000 + 0x00ac3> in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () <0x3e63590 + 0x001a8> in :0

15-12-10 22:08:32.9|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3594
15-12-10 22:08:37.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-10 22:08:41.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-10 22:08:41.9|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-10 22:08:42.1|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) <0x433f000 + 0x00ac3> in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () <0x3e48590 + 0x001a8> in :0

15-12-11 07:44:18.1|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3594
15-12-11 07:44:38.6|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-11 07:44:49.8|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-11 07:44:50.5|Info|MigrationLogger|*** Migrating data source=/Users/jimstafford18/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-11 07:44:51.0|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) <0x4390000 + 0x00ac3> in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () <0x3e99590 + 0x001a8> in :0

**

nzbdrone.db is corrupt, you’ll need to restore from a backup.

I’ll try that when I get home. One thing I’ve never figured out how to do is how to stop Sonarr? It mentions you should do this in quite a lot of places (to avoid corruption), but without a UI, and with it not appearing in the running processes (when you alt/cmd/esc), I don’t know how to?

(And thanks again!)

Look for mono in the task list, since thats what actually runs Sonarr, though it may stop since it fails to start.

It worked! Thanks so much. Have to start again as I didn’t backup, but I know for next time!

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