I’m at a loss here. Been using Sonarr for a while now, but about a month ago, it wouldn’t start. Everytime I try to go to localhost:8989 I get: ERR_CONNECTION_REFUSED.
I’ve restalled Sonarr a bunch of times. I’ve read something about a corrupt database, so I tried to backup and restore. Wouldn’t butch. After that, I opened up the Activity Monitor and I see it for a veeery short time.
The only thing I can think of right now is place the log and hope someone can help me point to the right direction.
The solution: remove the logs.db, restart Sonarr. It should work again.
I used to have my entire log below. Now I truncated it to only show the problem area
15-12-12 08:16:52.4|Info|MigrationLogger|*** Migrating data source=/Users/Misha/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-12 08:16:52.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 <filename unknown>:0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in <filename unknown>:0
15-12-17 18:37:06.1|Info|Bootstrap|Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3594
15-12-17 18:37:10.6|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-17 18:37:11.0|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-17 18:37:11.3|Info|MigrationLogger|*** Migrating data source=/Users/Misha/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-17 18:37:11.8|Debug|MigrationLogger|Took: 00:00:00.4443528
15-12-17 18:37:11.8|Info|MigrationLogger|*** Migrating data source=/Users/Misha/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-17 18:37:11.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 <filename unknown>:0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in <filename unknown>:0