Hi there,
I’am using Sonarr for a while now but sometimes it crashes at random moment (as far as I can see). When I restart Sonarr and it works for a while before crashing again. So i have looked at the log files and found the following problem.
15-5-3 13:52:07.4|Info|EpisodeSearchService|Completed search for 3 episodes. 3 reports downloaded.
15-5-3 14:08:34.2|Info|RssSyncService|Starting RSS Sync
15-5-3 14:08:37.6|Info|DownloadDecisionMaker|Processing 6 reports
15-5-3 14:08:39.0|Info|RssSyncService|RSS Sync Completed. Reports found: 6, Reports grabbed: 0
15-5-3 14:23:45.8|Info|RssSyncService|Starting RSS Sync
15-5-3 14:23:46.0|Info|DownloadDecisionMaker|Processing 6 reports
15-5-3 14:23:46.2|Info|RssSyncService|RSS Sync Completed. Reports found: 6, Reports grabbed: 0
15-5-3 14:38:52.9|Info|RssSyncService|Starting RSS Sync
15-5-3 14:38:53.2|Info|DownloadDecisionMaker|Processing 13 reports
15-5-3 14:38:53.3|Info|RssSyncService|RSS Sync Completed. Reports found: 13, Reports grabbed: 0
15-5-3 14:51:59.7|Error|Scheduler|Error occurred while executing task NzbDrone.Core.Instrumentation.Commands.TrimLogCommand
System.Data.SQLite.SQLiteException: database disk image is malformed
database disk image is malformed
at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00000] in :0
at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x00000] in :0
at System.Data.SQLite.SQLiteDataReader.NextResult () [0x00000] in :0
at System.Data.SQLite.SQLiteDataReader…ctor (System.Data.SQLite.SQLiteCommand cmd, CommandBehavior behave) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader:.ctor (System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
at System.Data.SQLite.SQLiteCommand.ExecuteReader (CommandBehavior behavior) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (CommandBehavior behavior) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00000] in :0
at Marr.Data.DataMapper.Delete[Log] (System.String tableName, System.Linq.Expressions.Expression1 filter) [0x00000] in <filename unknown>:0 at Marr.Data.DataMapper.Delete[Log] (System.Linq.Expressions.Expression
1 filter) [0x00000] in :0
at NzbDrone.Core.Datastore.BasicRepository1[NzbDrone.Core.Instrumentation.Log].Delete (System.Linq.Expressions.Expression
1 filter) [0x00000] in :0
at NzbDrone.Core.Instrumentation.LogRepository.Trim () [0x00000] in :0
at NzbDrone.Core.Instrumentation.LogService.Execute (NzbDrone.Core.Instrumentation.Commands.TrimLogCommand message) [0x00000] in :0
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[TrimLogCommand] (NzbDrone.Core.Messaging.Commands.Command command) [0x00000] in :0
15-5-3 14:54:00.1|Info|RssSyncService|Starting RSS Sync
15-5-3 14:54:00.3|Info|DownloadDecisionMaker|Processing 13 reports
15-5-3 14:54:00.4|Info|RssSyncService|RSS Sync Completed. Reports found: 13, Reports grabbed: 0
15-5-3 15:09:05.8|Info|RssSyncService|Starting RSS Sync
15-5-3 15:09:06.0|Info|DownloadDecisionMaker|Processing 13 reports
15-5-3 15:09:06.1|Info|RssSyncService|RSS Sync Completed. Reports found: 13, Reports grabbed: 0
15-5-3 15:24:11.5|Info|RssSyncService|Starting RSS Sync
15-5-3 15:24:11.7|Info|DownloadDecisionMaker|Processing 13 reports
15-5-3 15:24:11.9|Info|RssSyncService|RSS Sync Completed. Reports found: 13, Reports grabbed: 0
15-5-3 15:39:16.7|Info|RssSyncService|Starting RSS Sync
15-5-3 15:39:17.2|Info|DownloadDecisionMaker|Processing 3 reports
15-5-3 15:39:17.2|Info|RssSyncService|RSS Sync Completed. Reports found: 3, Reports grabbed: 0
15-5-3 15:52:21.6|Error|Scheduler|Error occurred while executing task NzbDrone.Core.Instrumentation.Commands.TrimLogCommand
System.Data.SQLite.SQLiteException: database disk image is malformed
database disk image is malformed
at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00000] in :0
at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x00000] in :0
at System.Data.SQLite.SQLiteDataReader.NextResult () [0x00000] in :0
at System.Data.SQLite.SQLiteDataReader…ctor (System.Data.SQLite.SQLiteCommand cmd, CommandBehavior behave) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader:.ctor (System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)
at System.Data.SQLite.SQLiteCommand.ExecuteReader (CommandBehavior behavior) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (CommandBehavior behavior) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00000] in :0
at Marr.Data.DataMapper.Delete[Log] (System.String tableName, System.Linq.Expressions.Expression1 filter) [0x00000] in <filename unknown>:0 at Marr.Data.DataMapper.Delete[Log] (System.Linq.Expressions.Expression
1 filter) [0x00000] in :0
at NzbDrone.Core.Datastore.BasicRepository1[NzbDrone.Core.Instrumentation.Log].Delete (System.Linq.Expressions.Expression
1 filter) [0x00000] in :0
at NzbDrone.Core.Instrumentation.LogRepository.Trim () [0x00000] in :0
at NzbDrone.Core.Instrumentation.LogService.Execute (NzbDrone.Core.Instrumentation.Commands.TrimLogCommand message) [0x00000] in :0
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[TrimLogCommand] (NzbDrone.Core.Messaging.Commands.Command command) [0x00000] in :0
This is from the log file.
I am running Ubuntu Server version 14.04.2 LTS
Any solutions?