I’m trying to get an optimal set up to download in deluge, use deluge’s extractor plugin, and then have sonarr move the extracted file in place, but have deluge leave all the original files in place for seeding.
Almost all of that is working perfectly except for two things. Sonarr seems to copy and not move the extracted file and either Sonarr or Deluge is deleting the archived files after extraction, causing seeding to die.
Anyone have a similar setup that can give some advice? Thanks.
Find it hard to believe that Deluge is deleting after extraction. The problem with the Deluge extractor it puts all the files in one place. You should run a custom script to extract in the same folder as the torrent, that way sonarr can use cdh to handle the import, in cdh sonarr will copy or hardlink. The first one will leave you with 3 copies not ideal, hardlink will not use space, so only two copies, the rared one and the actual imported video file.
If the hardlink left over file still bothers, you can use a custom processing script in sonarr to clean the source video file in case it comes from an extracted rar source.
I am having the same issue. My setup is I have a seperate hard drive just for active Torrent files and keep my media on a separate FlexRAID storage. I need to make a copy of the file because FlexRAID has pretty slow read/write speeds and I don’t want my torrenting affecting my ability to watch my shows. So I currently have the extractor plugin in deluge extracting files to another folder called “Extracted” on my torrenting harddrive. I have Sonarr monitoring the “Extracted” folder. My thinking being that then every once in while I would delete the extracted folder. Everything seems to work except the problem is that something is deleting the original RAR file. So my seeding stops saying file is missing and my ratios are taking a beating. Can someone help? Any suggestions? Thanks.
So, I turned off all plugins in Deluge and downloaded a archived format show from sonarr. Sonarr must have unarchived the show, deleted the original files, and then copied the extracted file to where I store my TV shows. What part of Sonarr is doing the unarchive and delete?
Sonarr won’t delete a folder that has RARed content or a valid video file directly.
If you have Remove Completed Downloads enabled and Deluge tells Sonarr the download has finished seeding then it will tell the download client to remove the download (and its files).
This is not what is happening. Remove Completed Downloads is disabled. Deluge is keeping the download in the queue, but because it has missing files it can no longer seed.
I am not using a drone factory folder. But if I was, where in relation to my downloads should it be stored?
deluge downloads to /downloads/
moves completed downloads to /downloads/sonarr_complete/
extractor extracts to /downloads/sonarr_complete/ with torrent name sub-folder selected
Your setup should work, CDH should see the file extracted which inside the same folder deluge is reporting back to track, then proceeding to import (copy or hardlink the video extracted file)
Sonarr does copy, in your case it will be the extracted video file unless you choose hardlink, which is only possible if the target destination is in the same filesystem.
Sonarr doesn’t move, unless is using drone factory or torrent blackhole.
I suggest you enable debug/trace logs in sonarr as well as inspect the deluge logs to see what’s going on. Sonarr is not aware of rar files, but it can delete torrents if the option is enabled and the seeding has stopped in deluge
It seems that from the trace logs in sonarr, it still states the torrent is “seeding”. But there is nowhere in the logs I can see anything about removing a torrent because it is complete.
What I’m going to try now is loading into Deluge an archived torrent NOT from sonarr and see how it handles the extract and seeding process.
I have been able to conclude that the issue is definitely with Deluge and not sonarr as it occurs even when Sonarr is shutdown and not scanning anything.
I have had a few downloads go through since reinstalling without removing any files, but I have a feeling it has to do with the “auto-manage” torrent feature. When disabled, I don’t think this issue occurs. But I’m not sure if there is a way to default with the feature of for all new torrents.
It seems like it is removing the files (.r01, .r02, etc.) and replacing them with .fuse_hidden files like .fuse_hidden00001c5500000940 one for each removed archive file.