Page 1 of 1

Duplicate File Downloading Every Day

Posted: January 18th, 2021, 9:04 am
by markp99
Over the past couple weeks I see the same title (1.8GB) is downloading every day at ~7pm. I've had excellent success with my config for the past year, but I cannot seem to figure this one out.

My Details:
Plex
Radarr/Sonarr/Requestrr
SABnzb
NZBgeek

The file is downloading into my "Movies" folder on my designated drive as expected, the but the Folder and .mkv are not being renamed per my config:
  • Folder: Herself.2021.1080p.AMZN.WEBRip.DD5.1.X.264-EVO, then ..-EVO.1, ...-EVO.2, etc.
  • Filename: 562220fe5c8c4166959b98454d09e443.mkv
I do see a "Warning" in SAB flagging the Duplicate NZB, but the file still downloads. I notice the NZB has "2021" date in the title, but Radarr shows a "2020" date. - maybe part of the issue?

I have a Win10 Scheduler task to manually kick off a Radarr Scan at 7pm daily (ps/curl). Probably explains the consistent 7pm timing, but, there was no Radarr entry for this title. A day or 2 ago I attempted to add a Radarr entry and then "unmonitor" without success - the errant .mkv still downloads.

Not clear what is the source of this daily NZB request of how to kill it. Any suggestions or brute force workarounds?

Thanks!

Re: Duplicate File Downloading Every Day

Posted: January 18th, 2021, 9:31 am
by markp99
Looking at pre-queue scripts (in the wiki); this seems like what I am looking for, though would still like to understand the underlying issue here:

Re: Duplicate File Downloading Every Day

Posted: January 18th, 2021, 10:07 am
by markp99
Found the "Abort Jobs" setting in Switches Tab.

Selected "Detect Duplicate Downloads: Fail Job (move to History)" option. Ran my powershell script, SAB attempted to download "Herself" title again, but flagged the DUP in History w "Retry". I will flip to simply "Discard" in a day or so, just to be sure.

Re: Duplicate File Downloading Every Day

Posted: January 18th, 2021, 11:28 am
by safihre
I think you should find the source of this NZB.
You can enable Debug logging and check exactly at 7, it will show you what API call or other call that was made that added this NZB.
It should also show the source, for examle Radarr, in the request headers listed in the logs.

Re: Duplicate File Downloading Every Day

Posted: January 21st, 2021, 8:36 pm
by markp99
Found the culprit in Radarrs' logs. At 7pm, a different monitored title was being scanned (Eternals (2021)), which included the errant "Herself" title and another newly duplicating title "Eastenders" .

I killed the "Eternal (2021)" title from Radarr, ran my powersource script and the "Herself" request was not sent to SABnzb.

Guessing some sort of DB corruption as I cannot find any obvious relationship between Eternals and Herself/Eastenders.

Glad to have this recurring issue stopped!

Thx for the tip to inspect the logs.