All Shows are gone but 300+ releases being downloaded

Sonarr version (exact version): 2.0.0.5228
Mono version (if Sonarr is not running on Windows): 5.12.0.226
OS: Ubuntu 16.04
Debug logs:
https://drive.google.com/file/d/1wEytA8KnK7ibQdgm_MLj_FxbXxxUAU7j/view?usp=sharing
https://drive.google.com/file/d/1ViHmrEVimDBTDu_RoWnOMX0gGiBgfAnT/view?usp=sharing
https://drive.google.com/file/d/1zKsjfczmzQKjahwsZE55-Ny2w9tk3SxF/view?usp=sharing
https://drive.google.com/file/d/1UeR0Eh8KHN5QniQ76nAa5E7FUFOj9KRc/view?usp=sharing
https://drive.google.com/file/d/1IVcmnDOBlxN9HNQ_WdJjSCinw3YWTXDo/view?usp=sharing

Description of issue:
Randomly after about 2 weeks of working properly my Sonarr instance just goes crazy. It deletes ALL of my shows from the list, but before doing so grabs hundreds of releases that it thinks it doesn’t have. I have been having to restore from a backup everytime this happens. It is quite frustrating. Any help would be appreciated.

The main error i’m seeing within the logs is: Error occurred while executing task SeasonSearch: Series with ID 239 does not exist — But for every Series ID that it has i guess…

Sonarr has no functionality to delete shows on it’s own. This sounds like Sonarr is publicly available, without authentication and someone is messing with it.

It is definitely not available from the internet. I believe that something is corrupting the db in the background. I’ve looked through the logs and there are a lot of errors when attempting to get status from Qbitorrent…though there are no problems with my qbitorrent instance.

18-9-20 17:39:49.3|Warn|DownloadMonitoringService|Unable to retrieve queue and history items from Qbit

And also this one:

Couldn’t refresh info for [338186][Succession]: Error getting response stream (ReadDoneAsync2): ReceiveFailure: ‘http://skyhook.sonarr.tv/v1/tvdb/shows/en/338186

A corrupt DB wouldn’t have shows deleted though, things wouldn’t work, but it wouldn’t manifest itself that way.

Without context neither of those logs is much help.

Not sure what other context I can give. The shows aren’t deleted properly if the system still thinks they’re there, correct? If a show was to be deleted how would the system still have a Series ID available that it doesn’t know how to search for? It would clean that up if some nefarious user went through and deleted the series…

The full log file, not just a snippet.

Not sure what you mean.

If you started a search for each series then immediately started deleting them you’d run into that.

I posted the full logs, from what I know. Where else can I grab the logs from? There were 5 separate log file…

Enable trace logging and you’ll get a whole lot more (50 for debug and another 50 for trace). Trace will show a lot of detail, but rolls over pretty quickly, it will show API calls, for things like searches and deletes.

Sonarr doesn’t automatically search for entire seasons (unless it’s told to search when the series is added), I can really only see them being triggered by someone/something (a 3rd party app using the API), but if you can catch the initial requests in the API you might be able to pinpoint what it is.

At this point I would enable a username and password on Sonarr and reset the API key, that way no one with the API key already can still use it and no one can gain access.

If Sonarr isn’t accessible from the internet make sure nothing using it’s API is as well, Ombi for example.

Good idea on the API thing. I didn’t even have search enabled in Ombi…but disabled it now. Maybe that will help. I have trace on for now as well and will take a look at logs.

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