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.
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.
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?
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:
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.
As far as the download failing it would seem to be a function of the nzbget healthcheck and dupe check.function.
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.