Episodes being download 2x and placed in different folders

I’ve been having a weird issue that I can’t spot anything in the logs that would explain what’s happening behind the scenes.

I have 2 folders that I use for series
/series
/subtitled

On some days I’ll wake up and find Strain in the Series folder which is wrong, it should be going into Subtitled.

At the same time in Sonar, the episode is not showing up as snatched and is present in the Wanted list. If I run Search All Missing, all the episodes are snatched again, but this time Sonarr recognizes them correctly and they are all marked as downloading and moved into the correct folder.

This just happened again with Heroes Reborn yesterday and as before there is nothing in the log that explains how this would happen.

15-9-25 09:28:14.1|Debug|EpisodeFileMovingService|Copying episode file:    G:\transmission\Downloads\Heroes.Reborn.S01E01E02.720p.HDTV.X264-DIMENSION[EtHD]\Heroes.Reborn.S01E01E02.720p.HDTV.X264-DIMENSION[EtHD].mkv to F:\Completed\Subtitled\Heroes Reborn\Heroes Reborn - S01E01-02 - Awakening + Odessa HDTV-720p.mkv
15-9-25 09:28:14.1|Debug|DiskTransferService|Copy [G:\transmission\Downloads\Heroes.Reborn.S01E01E02.720p.HDTV.X264-DIMENSION[EtHD]\Heroes.Reborn.S01E01E02.720p.HDTV.X264-DIMENSION[EtHD].mkv] > [F:\Completed\Subtitled\Heroes Reborn\Heroes Reborn - S01E01-02 - Awakening + Odessa HDTV-720p.mkv]
15-9-25 09:28:25.8|Debug|MediaFileAttributeService|Setting last write time on series folder: F:\Completed\Subtitled\Heroes Reborn
15-9-25 09:28:25.9|Debug|EpisodeService|Linking [Heroes Reborn - S01E01-02 - Awakening + Odessa HDTV-720p.mkv] > [[21063]Awakening]
15-9-25 09:28:25.9|Debug|EpisodeService|Linking [Heroes Reborn - S01E01-02 - Awakening + Odessa HDTV-720p.mkv] > [[21450]Odessa]
15-9-25 09:28:25.9|Debug|QualityUpgradableSpecification|Existing item meets cut-off. skipping.
15-9-25 09:28:25.9|Debug|XbmcMetadata|Generating Episode Metadata for: F:\Completed\Subtitled\Heroes Reborn\Heroes Reborn - S01E01-02 - Awakening + Odessa HDTV-720p.mkv
15-9-25 09:28:25.9|Debug|MetadataService|Writing Episode Metadata to: F:\Completed\Subtitled\Heroes Reborn\Heroes Reborn - S01E01-02 - Awakening + Odessa HDTV-720p.nfo

My setup is Plex, Sonarr, Nzbdrone.

If there is something specific that I should be searching for in the logs please let me know, otherwise I’m happy to zip them all up and send them over. But for now, I’m just scratching my head since I’m unable to find any references series\Heroes Unborn.

Sonarr can only know about one of them, if you have something besides Sonarr moving them to the other folder it won’t know it exists. Sonarr will only ever move files to the series folder it knows about, sounds like something else is moving them to the Series subfolder.

That doesn’t seem to be the case at all. Sonarr has to know about them both because many series are now being snatched via both Usenet and Torrent:

I’ve considered the quality issue but they’re both the same.

What’s strange is that I don’t see any information regarding the actual snatching of the files in the logs. I’m posting all of today’s log files : https://www.dropbox.com/s/0gyg6qwxeddtp39/Desktop.zip?dl=0

Here you can see that both The Strain and The Last Man on Earth have been downloaded 2x and copied into both folders/libraries. Maybe you can spot something that I’ve missed?

This be part of the issue:

15-9-28 06:08:42.6|Debug|Nzbget|[The.Strain.S02E12.720p.HDTV.x264-BATV] Deleting folder 'F:\Completed\Series\The.Strain.S02E12.720p.HDTV.x264-BATV'.
15-9-28 06:08:42.6|Warn|Nzbget|[The.Strain.S02E12.720p.HDTV.x264-BATV] Error occurred while trying to delete data from 'F:\Completed\Series\The.Strain.S02E12.720p.HDTV.x264-BATV'.

System.IO.IOException: The process cannot access the file 'The.Strain.S02E12.720p.HDTV.x264-BATV.mkv' because it is being used by another process.
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
   at NzbDrone.Common.Disk.DiskProviderBase.DeleteFolder(String path, Boolean recursive) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 222
   at NzbDrone.Core.Download.DownloadClientBase`1.DeleteItemData(String downloadId) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\DownloadClientBase.cs:line 115

Followed a bit later by: 15-9-28 06:08:42.7|Debug|RedownloadFailedDownloadService|Failed download only contains one episode, searching again

The search results are then processed and then we see this:

15-9-28 06:08:45.2|Debug|Parser|Parsing string 'The.Strain.S02E12.720p.HDTV.x264-BATV'
15-9-28 06:08:45.2|Debug|Parser|Episode Parsed. The Strain - S02E12 
15-9-28 06:08:45.2|Debug|Parser|Language parsed: English
15-9-28 06:08:45.2|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for The.Strain.S02E12.720p.HDTV.x264-BATV
15-9-28 06:08:45.2|Debug|Parser|Quality parsed: HDTV-720p v1
15-9-28 06:08:45.2|Debug|Parser|Release Group parsed: BATV
15-9-28 06:08:45.2|Debug|AcceptableSizeSpecification|Beginning size check for: The.Strain.S02E12.720p.HDTV.x264-BATV
15-9-28 06:08:45.2|Debug|AcceptableSizeSpecification|Item: The.Strain.S02E12.720p.HDTV.x264-BATV, meets size constraints.
15-9-28 06:08:45.4|Debug|BlacklistSpecification|The.Strain.S02E12.720p.HDTV.x264-BATV is blacklisted, rejecting.
15-9-28 06:08:45.4|Debug|LanguageSpecification|Checking if report meets language requirements. English
15-9-28 06:08:45.4|Debug|ReleaseRestrictionsSpecification|Checking if release meets restrictions: The.Strain.S02E12.720p.HDTV.x264-BATV
15-9-28 06:08:45.4|Debug|ReleaseRestrictionsSpecification|[The.Strain.S02E12.720p.HDTV.x264-BATV] No restrictions apply, allowing
15-9-28 06:08:45.4|Debug|QualityAllowedByProfileSpecification|Checking if report meets quality requirements. HDTV-720p v1
15-9-28 06:08:45.4|Debug|MinimumAgeSpecification|Minimum age is not set.
15-9-28 06:08:45.4|Debug|RetentionSpecification|Checking if report meets retention requirements. 0
15-9-28 06:08:45.4|Debug|DelaySpecification|Ignore delay for searches
15-9-28 06:08:45.4|Debug|HistorySpecification|Skipping history check during search
15-9-28 06:08:45.4|Debug|MonitoredEpisodeSpecification|Skipping monitored check during search
15-9-28 06:08:45.4|Debug|SeriesSpecification|Checking if series matches searched series
15-9-28 06:08:45.4|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] Release is blacklisted

The release is blacklisted because it failed, which is coming from nzbget (why is nzbget marking the download as failed?).

Is F:\Completed\Series\ the series folder you mentioned in your original post? If so you should separate your sorted and unsorted downloads, nzbget shouldput completed files in a completely different directory than Sonarr sorts them to.

You’ll need to find out what is causing the failed downloads in nzbget which causes Sonarr to look for an alternate source.

Ok…after taking a closer look at nzbget I think there are two issues here:

  1. I have the files being downloading to /completed/ which is the parent dir to series/ and subtitled/. One thing that I noticed is that I had categories set up to mirror my directory structure. While I’m not certain that this is the cause of the moving problem it’s a pretty good bet.

  2. As far as the download failing it would seem to be a function of the nzbget healthcheck and dupe check.function.

For now I’ve deleted the categories and I’m going to leave the health and dupe check active.

Just to update this thread:

Since I deleted categories and removed category handling in nzbget things have cleaned up quite a bit. The issue appears to be that that Sonarr and NzbGet were stepping on each others toes in /series and /subtitled.

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