Why is Sonarr deleting my media?

Sonarr version: 2.0.0.3953
OS: Windows 10
Description of issue:

Hi all, I’ve been scratching my head for a few months on this and can’t find a solution…

Basically I have had sonarr set-up and working beautifully for over 18 months. I love the software. It was all working as it should; downloading, importing, renaming all automatically. But for some reason it is now deleting episodes from series randomly that are perfectly fine and good quality but not replacing them with propers. Before they would just go but now I have set up a recycling bin folder I find them in there. I watch the media through Plex and plex doesn’t have the authority to delete my media so this points solely at Sonarr for the reason it is happening.

For example; this morning I got up to check that last night’s shows downloaded but then I see that 18 episodes in a series have been deleted! This is becoming very frustrating. Before it has deleted similar amounts in various different shows and even just the odd episode, new and old.

Any help would be greatly appreciated.

Here is a screen print of the section I think might have caused the issue. These are the files that were removed but the path was valid. Files put in the recycle bin.

There’s probably an explanation in the log files.

Without ((debug logs)) showing why it was deleted, no idea. Sonarr will only delete files to make room for an upgrade (deleting a lower quality file for a better quality one to be imported), but that is all logged.

I was going to upload the debug file but it wouldn’t let me as it’s a .txt file. What part would you guys need to see?

Here is a screen print I have just done.

The files are going in to the folder. I can see them. They have been renamed but when Sonarr updates series info and scans disk the files get moved to recycle bin. I use SABnzbd to do my downloading and they are linked via keys.

Sounds [quote=“benpower85, post:4, topic:10633, full:true”]
I was going to upload the debug file but it wouldn’t let me as it’s a .txt file. What part would you guys need to see?
[/quote]

Post them to hastebin.

That generally indicates something is setup wrong, two series pointed at the same folder or mixing sorted and unsorted files and drone factory is pointed at the series folders.

Great idea. Feel silly not thinking of that myself.

Here’s the pastebin of my debug log http://pastebin.com/8cDvusPq

Do you have the debug logs that cover the same period as the screenshot above? The posted logs don’t exhibit the same issue.

It has just happened again this morning with New Girl;

16-5-6 09:34:25.5|Debug|Parser|Parsing string ‘New Girl S05E19 Return to Sender 720p WEB-DL x264 AAC’
16-5-6 09:34:25.5|Debug|Parser|Episode Parsed. New Girl - S05E19
16-5-6 09:34:25.5|Debug|Parser|Language parsed: English
16-5-6 09:34:25.5|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for New Girl S05E19 Return to Sender 720p WEB-DL x264 AAC
16-5-6 09:34:25.5|Debug|Parser|Quality parsed: WEBDL-720p v1
16-5-6 09:34:25.5|Debug|Parser|Release Group parsed:
16-5-6 09:34:25.6|Debug|AcceptableSizeSpecification|Beginning size check for: New Girl S05E19 Return to Sender 720p WEB-DL x264 AAC
16-5-6 09:34:25.6|Debug|AcceptableSizeSpecification|Item: New Girl S05E19 Return to Sender 720p WEB-DL x264 AAC, meets size constraints.
16-5-6 09:34:25.6|Debug|CutoffSpecification|Comparing file quality with report. Existing file is SDTV v1
16-5-6 09:34:25.6|Debug|QualityUpgradableSpecification|Existing item meets cut-off. skipping.
16-5-6 09:34:25.6|Debug|CutoffSpecification|Cutoff already met, rejecting.
16-5-6 09:34:25.6|Debug|LanguageSpecification|Checking if report meets language requirements. English
16-5-6 09:34:25.6|Debug|ReleaseRestrictionsSpecification|Checking if release meets restrictions: New Girl S05E19 Return to Sender 720p WEB-DL x264 AAC
16-5-6 09:34:25.6|Debug|ReleaseRestrictionsSpecification|[New Girl S05E19 Return to Sender 720p WEB-DL x264 AAC] No restrictions apply, allowing
16-5-6 09:34:25.6|Debug|QualityAllowedByProfileSpecification|Checking if report meets quality requirements. WEBDL-720p v1
16-5-6 09:34:25.6|Debug|QualityAllowedByProfileSpecification|Quality WEBDL-720p v1 rejected by Series’ quality profile
16-5-6 09:34:25.6|Debug|MinimumAgeSpecification|Not checking minimum age requirement for non-usenet report
16-5-6 09:34:25.6|Debug|RetentionSpecification|Not checking retention requirement for non-usenet report
16-5-6 09:34:25.6|Debug|HistorySpecification|Performing history status check on report
16-5-6 09:34:25.6|Debug|HistorySpecification|Checking current status of episode [7977] in history
16-5-6 09:34:25.6|Debug|UpgradeDiskSpecification|Comparing file quality with report. Existing file is SDTV v1
16-5-6 09:34:25.6|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] Existing file meets cutoff: SDTV, [Permanent] WEBDL-720p is not wanted in profile
16-5-6 09:34:25.6|Debug|Parser|Parsing string 'New Girl S05E19 Return to Sender WEB-DL x264 AAC’
16-5-6 09:34:25.6|Debug|Parser|Episode Parsed. New Girl - S05E19
16-5-6 09:34:25.6|Debug|Parser|Language parsed: English
16-5-6 09:34:25.6|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for New Girl S05E19 Return to Sender WEB-DL x264 AAC
16-5-6 09:34:25.6|Debug|Parser|Quality parsed: WEBDL-480p v1
16-5-6 09:34:25.6|Debug|Parser|Release Group parsed:
16-5-6 09:34:25.6|Debug|AcceptableSizeSpecification|Beginning size check for: New Girl S05E19 Return to Sender WEB-DL x264 AAC
16-5-6 09:34:25.6|Debug|AcceptableSizeSpecification|Item: New Girl S05E19 Return to Sender WEB-DL x264 AAC, meets size constraints.
16-5-6 09:34:25.7|Debug|CutoffSpecification|Comparing file quality with report. Existing file is SDTV v1
16-5-6 09:34:25.7|Debug|QualityUpgradableSpecification|Existing item meets cut-off. skipping.
16-5-6 09:34:25.7|Debug|CutoffSpecification|Cutoff already met, rejecting.
16-5-6 09:34:25.7|Debug|LanguageSpecification|Checking if report meets language requirements. English
16-5-6 09:34:25.7|Debug|ReleaseRestrictionsSpecification|Checking if release meets restrictions: New Girl S05E19 Return to Sender WEB-DL x264 AAC
16-5-6 09:34:25.7|Debug|ReleaseRestrictionsSpecification|[New Girl S05E19 Return to Sender WEB-DL x264 AAC] No restrictions apply, allowing
16-5-6 09:34:25.7|Debug|QualityAllowedByProfileSpecification|Checking if report meets quality requirements. WEBDL-480p v1
16-5-6 09:34:25.7|Debug|MinimumAgeSpecification|Not checking minimum age requirement for non-usenet report
16-5-6 09:34:25.7|Debug|RetentionSpecification|Not checking retention requirement for non-usenet report
16-5-6 09:34:25.7|Debug|HistorySpecification|Performing history status check on report
16-5-6 09:34:25.7|Debug|HistorySpecification|Checking current status of episode [7977] in history
16-5-6 09:34:25.7|Debug|UpgradeDiskSpecification|Comparing file quality with report. Existing file is SDTV v1
16-5-6 09:34:25.7|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] Existing file meets cutoff: SDTV

Thats the download decision process, which doesn’t show anything being grabbed, need the logs that show what was actually imported.

Markus,

I am still scratching my head on this. It happens every day. Particularly with season 5 of Suits. I manually put the files back in the correct folder as have now set up a recycle bin on the server to save having to download all over again. I then put the files in the correct folder, search/refresh that show, they then get put back in the recycle bin! Here are the details from the logs;

ImportApprovedEpisodes	Couldn't import episode Z:\TV Shows\Suits\Season 5\Suits S05E01 Denial.mkv: Episode file path does not exist	4:52pm

ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E02 Compensation.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E03 No Refills.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E04 No Puedo Hacerlo.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E09 Uninvited Guests.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E01 Denial.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E01 Denial.mkv] 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E02 Compensation.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E02 Compensation.mkv] 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E03 No Refills.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E03 No Refills.mkv] 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E04 No Puedo Hacerlo.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E04 No Puedo Hacerlo.mkv] 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E05 Toe to Toe.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E06 Privilege.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E07 Hitting Home.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E08 Mea Culpa.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E09 Uninvited Guests.mkv: The process cannot access the file because it is being used by another process. 4:52pm
RecycleBinProvider Unable to move ‘\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E09 Uninvited Guests.mkv’ to the recycling bin: ‘Z:\TV Shows\Suits S05E09 Uninvited Guests.mkv’: The process cannot access the file because it is being used by another process. 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E10 Faith.mkv: Episode file path does not exist 4:52pm
EventAggregator UpdateEpisodeFileService failed while processing [SeriesScannedEvent]: File doesn’t exist: \BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E10 Faith.mkv 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E11 Blowback.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E12 Live to Fight.mkv: Episode file path does not exist 4:52pm
DiskScanService Completed scanning disk for Suits 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E13 God’s Green Earth.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E14 Self-Defense.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E15 Tick Tock.mkv: Episode file path does not exist 4:52pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E16 25th Hour.mkv: Episode file path does not exist 4:52pm
DiskScanService Scanning disk for Suits 4:52pm
RefreshEpisodeService Finished episode refresh for series: [247808][Suits]. 4:52pm
RefreshEpisodeService Starting episode info refresh for: [247808][Suits] 4:52pm
RefreshSeriesService Updating Info for Suits 4:51pm
SceneMappingService Updating Scene mappings 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E01 Denial.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E01 Denial.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E02 Compensation.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E02 Compensation.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E03 No Refills.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E03 No Refills.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E04 No Puedo Hacerlo.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E04 No Puedo Hacerlo.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E05 Toe to Toe.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E05 Toe to Toe.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E06 Privilege.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E06 Privilege.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E07 Hitting Home.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E07 Hitting Home.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E08 Mea Culpa.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E08 Mea Culpa.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E09 Uninvited Guests.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E09 Uninvited Guests.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E10 Faith.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E10 Faith.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E11 Blowback.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E11 Blowback.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E12 Live to Fight.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E12 Live to Fight.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E13 God’s Green Earth.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E13 God’s Green Earth.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E14 Self-Defense.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E14 Self-Defense.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E15 Tick Tock.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E15 Tick Tock.mkv] 4:51pm
ImportApprovedEpisodes Couldn’t import episode Z:\TV Shows\Suits\Season 5\Suits S05E16 25th Hour.mkv: Destination already exists [\BENPOWER85\Videos\TV Shows\Suits\Season 5\Suits S05E16 25th Hour.mkv] 4:51pm

Why is it doing it? There is nothing in the folder. I then place the files back in the correct folder. Refresh. Then they’re recycled again.

Why are you using a UNC path and a mapped network drive at the same time? It usually means something is mis-configured, such as drone factory pointed at your sorted TV shows and in order to do so you need to use two paths that point to the same thing (since there are protections in place from allowing it for this reason).

  1. Make sure drone factory isn’t set
  2. Make sure sorted and unsorted downloads do not go to the same place, use a separate location for them.

Thanks Markus, I didn’ realise I had drone factory enabled. There was no drone factory path but the interval was set to 1. I have now set to 0.

Sorry to be a pain. Hopefully this should sort the issue. Thank you again!

Drone Factory is one way it can happen, mixing sorted and unsorted files is the underlying cause which is triggered when Sonarr tries to import the files (Drone Factory, Completed Download Handling or Manual Importing).

I don’t have sorted and unsorted files in the same location. They are on different drives completely. When downloading they are on a separate HDD, then once complete they get moved to my NAS connected to the computer through the internet. It is still happening, but not on the scale as before. Many series used to do it. Now it is one a morning.

I do manually import, then scan show and then rename occasionally for shows that can’t be located through Sonarr.

I have disabled automtically downloading propers.
Drone factory has no location and set to 0
uTorrent downloads to computer HDD then imports to NAS once completed.
SABnzbd downloads to a different HDD on the computer then imports to NAS once completed.
I have set up a recycle bin in a different location on the HDD so that the removed shows are no longer deleted completely.
Recycling older is in a completely different location to shows and Movies on NAS.
I have Completed Download Handling - Remove set to yes, is that an issue?

What am I doing wrong? This was working perfectly for ages and then all of a sudden it is removing files that I don’t want removed and are the quality selected within Sonarr or better.

Is Sonarr doing the importing or is something else?

Did you enable this recently?

We’ll need to see full ((debug logs)) (post them on hastebin) so we can see whats going on, especially whats triggering the import, the logs copied from the logs table don’t tell us enough to see where its coming from.

Sonarr and SAB work together on the importing. They are linked. They are imported to TV Shows folder once completed. Then Sonarr sorts them in to the correct folder then season.

My setting have been the same for over 18 months with no issues. This is why i am really scratching my head as only started becoming a problem this year. Remove completed download handling has always been yes as it deletes the download from the download client once it has finished and been imported.

Post a couple minutes of ((trace logs)) and we can take a look.

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