Connection refused - EPIC FAIL!

Sonarr version (exact version): Vesion 2.0.0.3953
*Mono version (if Sonarr is not running on Windows)dont know:
OS10.10.1:
Debug logs (posted to hastebin or similar):
16-3-13 15:51:49.7|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3953
16-3-13 15:51:51.4|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-3-13 15:51:52.1|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
16-3-13 15:51:52.3|Info|MigrationLogger|
Migrating data source=/Users/Server/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
16-3-13 15:51:52.5|Fatal|ConsoleApp|EPIC FAIL!

[v2.0.0.3953] 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

16-3-13 15:52:02.5|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3953
16-3-13 15:52:03.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-3-13 15:52:04.4|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
16-3-13 15:52:04.5|Info|MigrationLogger|*** Migrating data source=/Users/Server/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
16-3-13 15:52:04.6|Fatal|ConsoleApp|EPIC FAIL!

[v2.0.0.3953] 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

16-3-13 20:52:23.8|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3953
16-3-13 20:52:25.2|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-3-13 20:52:25.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
16-3-13 20:52:25.9|Info|MigrationLogger|*** Migrating data source=/Users/Server/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
16-3-13 20:52:26.1|Fatal|ConsoleApp|EPIC FAIL!

[v2.0.0.3953] 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

16-3-13 21:04:13.2|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3953
16-3-13 21:04:14.5|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-3-13 21:04:15.2|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
16-3-13 21:04:15.3|Info|MigrationLogger|*** Migrating data source=/Users/Server/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
16-3-13 21:04:15.6|Fatal|ConsoleApp|EPIC FAIL!

[v2.0.0.3953] 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

16-3-13 21:04:16.4|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3953
16-3-13 21:04:17.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-3-13 21:04:18.5|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
16-3-13 21:04:18.6|Info|MigrationLogger|*** Migrating data source=/Users/Server/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
16-3-13 21:04:18.7|Fatal|ConsoleApp|EPIC FAIL!

[v2.0.0.3953] 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

16-3-13 21:04:23.8|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3953
16-3-13 21:04:25.0|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-3-13 21:04:25.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
16-3-13 21:04:25.9|Info|MigrationLogger|*** Migrating data source=/Users/Server/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
16-3-13 21:04:26.0|Fatal|ConsoleApp|EPIC FAIL!

[v2.0.0.3953] 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

16-3-13 21:06:34.8|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3953
16-3-13 21:06:43.3|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-3-13 21:06:44.2|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
16-3-13 21:06:45.6|Info|MigrationLogger|*** Migrating data source=/Users/Server/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
16-3-13 21:06:49.3|Fatal|ConsoleApp|EPIC FAIL!

[v2.0.0.3953] 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

16-3-13 21:08:35.8|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3953
16-3-13 21:08:36.9|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
16-3-13 21:08:37.5|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
16-3-13 21:08:37.6|Info|MigrationLogger|*** Migrating data source=/Users/Server/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
16-3-13 21:08:37.7|Fatal|ConsoleApp|EPIC FAIL!

[v2.0.0.3953] 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

Description of issue (if you think you’ve found a bug please include steps to reproduce):
After some power failures at my place, shutting down the computer several times, sonarr stopped loading the UI. I also did not notice any new series downloads, and the activity monitor does not show sonarr as a active process.
I tried via safari and chrome - the first one returns localhost cannot be reached, and chrome = connection refused.

Already sent the log.

Can you guys help me out?
Thanks in advance!

From that I would assume your database is screwed. I’ve never used SQL lite before but I use MSSQL a lot so generally most SQL problems can be translated between different versions of SQL. I would assume there is a repair/rollback function in SQL lite but you will have to wait until someone with more knowledge on that can tell you the best way to do that for Sonarr.

mono --version will tell you.

@Theonlyway said your database is corrupt, restoring a previous copy is likely the easiest.

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