Only one file from season pack marked downloaded

Sonarr version (exact version): 2.0.0.5228
OS: Windows 10
Debug logs: https://pastebin.com/isv6jjGi
Description of issue: Only one file from season pack marked downloaded.

Sonarr downloaded whole season torrent and all episodes were correctly marked as grebbed and sent to a download client, but then only one episode was marked as downloaded. My download client is Deluge and I don’t know how exactly Sonarr obtains information about finished downloads, but if it’s “Check For Finished Download” then if I kick it off manually it’ll spin indefinitely. I’ve encountered the same behavior on three different occasions and I believe that it’s related to my config somehow. Deluge after download is finished moves files to a ‘completed’ directory and from there files are downloaded to my local machine through GoodSync. Sonarr has remote path mapping set up and it works fine. I think that problem is in communication with Deluge or the way that specific episode downloads are tracked.


EDIT:
I’ve tried restarting Sonarr and Deluge. I’ve paused and resumed torrent jobs in Deluge.

That’s the issue.

A few options to work around it currently:

  • Sync to an alternate folder then move to the remotely mapped folder
  • Find a way to have all files marked as transferring until all complete (so Sonarr doesn’t see one file and import prematurely)
  • Use another method to mount the remote file system instead of sync, such as sshfs

Until something like Transfer provider · Issue #282 · Sonarr/Sonarr · GitHub there won’t be enough flexibility to do things exactly as you are.

Thanks for a quick reply.
I guess I didn’t fully understand mechanism. Sonarr is not monitoring Deluge download progress then?
It marks episode as downloaded when in appears in local folder? But why won’t it mark other files as downloaded once they got synced?
I guess I can find a workaround knowing what’s the actual problem.

It uses Deluge to know when something is ready to import.

Sonarr marks the particular download job as complete when it imports at least one file from it (Sonarr doesn’t track each file in a download individually).

Once a file is imported it no longer checks for other files added later.

The problem is Deluge is saying the download is done. Your sync job starts syncing files and gets one file synced, Sonarr sees that file, imports it and is done with that download. For a single file release it’s not a problem, multi-file releases it is.

Now it makes perfect sense. Thanks a lot.

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