Sonar keeps deleting my whole library

It happened yesterday, I thought it might be a database issues, so I started over with and empty database, but today it did it again.

Version 2.0.0.3357
Mono Version 4.0.4 (Stable 4.0.4.1/5ab4c0d Mon Sep 14 09:24:50 UTC 2015)

I started seeing lots of these messages in the log, and eventually my library is empty.

NzbDrone.Core.Datastore.ModelNotFoundException: Series with ID 45 does not exist
at NzbDrone.Core.Datastore.BasicRepository`1[NzbDrone.Core.Tv.Series].Get (Int32 id) [0x00000] in :0
at NzbDrone.Core.Tv.SeriesService.GetSeries (Int32 seriesId) [0x00000] in :0
at NzbDrone.Core.IndexerSearch.NzbSearchService.SeasonSearch (Int32 seriesId, Int32 seasonNumber, Boolean missingOnly) [0x00000] in :0
at NzbDrone.Core.IndexerSearch.SeriesSearchService.Execute (NzbDrone.Core.IndexerSearch.SeriesSearchCommand message) [0x00000] in :0
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[SeriesSearchCommand] (NzbDrone.Core.IndexerSearch.SeriesSearchCommand command, NzbDrone.Core.Messaging.Commands.CommandMode
l commandModel) [0x00000] in :0

Sonarr doesn’t automatically delete series, but trace logs may indicate what it causing it. Also make sure no one else that has access to your Sonarr isn’t removing them.

It’s definitely sonar, it logs the deletes:

15-10-16 13:17:12.4|Info|EpisodeModule|Deleting episode file: /media/library/tv/Continuum/Season 1/Continuum.S01E01.A.Stitch.in.Time.mkv

I have debug logs I can send, I’ll try to get some trace logs, but i’m hesitant to use it again with my library until I find a solution. I’ll set up a separate space for sonar and give it one episode to manage with tracing enabled.

How can I get the debug logs to you?

Thanks for the help.

That’s an API call telling Sonarr to delete the episode file. So something, quite possibly external, is deleting the episode file.
Can you be absolutely sure that no-one is accessing your Sonarr instance?

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