Downloads to be deleted by Sonarr are not being removed
Downloads are not being removed by Sonarr in v2.0.53. I reverted to 2.0.39 and the items were immediately removed.
What version are you using? 2.0.53
Wat OS are you running? Debian
Are you using Docker or as a service? Docker
Which debrid provider are you using? Real Debrid
Please attach a log file here with the log setting set to debug v2.0.53 (Not working) [00:51:53 DBG] Delete ec05c829e0e32d510fcc18273ca3f5a96ffad1d3 [00:51:53 DBG] Not removing torrents or files [00:51:53 DBG] Method: POST, Path: /api/v2/torrents/delete, Form: hashes: dd31151f9b8bc7daf27c22f30b8e99fcf033044b, deleteFiles: true [00:51:53 DBG] Delete dd31151f9b8bc7daf27c22f30b8e99fcf033044b [00:51:53 DBG] Delete dd31151f9b8bc7daf27c22f30b8e99fcf033044b [00:51:54 DBG] Not removing torrents or files [00:51:54 DBG] Method: POST, Path: /api/v2/torrents/delete, Form: hashes: 6f247de8d5393da0fe15a3032b5f9c0bc16fb58b, deleteFiles: true [00:51:54 DBG] Delete 6f247de8d5393da0fe15a3032b5f9c0bc16fb58b [00:51:54 DBG] Delete 6f247de8d5393da0fe15a3032b5f9c0bc16fb58b [00:51:54 DBG] Not removing torrents or files [00:51:54 DBG] Method: POST, Path: /api/v2/torrents/delete, Form: hashes: 066bfb061b927259706c986ae9d2dc75b9a011ed, deleteFiles: true [00:51:54 DBG] Delete 066bfb061b927259706c986ae9d2dc75b9a011ed [00:51:54 DBG] Delete 066bfb061b927259706c986ae9d2dc75b9a011ed [00:51:54 DBG] Not removing torrents or files [00:51:54 DBG] Method: POST, Path: /api/v2/torrents/delete, Form: hashes: ccdc1af5d9d7bcdd3d3091afe7c5f3629c29652b, deleteFiles: true [00:51:54 DBG] Delete ccdc1af5d9d7bcdd3d3091afe7c5f3629c29652b [00:51:54 DBG] Delete ccdc1af5d9d7bcdd3d3091afe7c5f3629c29652b [00:51:55 DBG] Not removing torrents or files [00:51:55 DBG] Method: POST, Path: /api/v2/torrents/delete, Form: hashes: 1ad6a68463d007ae1e18571988311087448aa732, deleteFiles: true [00:51:55 DBG] Delete 1ad6a68463d007ae1e18571988311087448aa732 [00:51:55 DBG] Delete 1ad6a68463d007ae1e18571988311087448aa732 [00:51:55 DBG] Not removing torrents or files
v2.0.39 (Working) [01:15:53 DBG] Deleting RealDebrid Torrent for torrent Paw.Patrol.S09E30.Aqua.Pups.Save.a.Mer-Race.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] (KCWHCMSVEGJ3C - downloaded 100%) (555f7b6f-3f5e-465f-83b8-e38faae33b2c) [01:15:53 DBG] Deleting local files in /mnt/internal_1tb/Downloading/Downloads/rdtclient/tv-sonarr/Paw.Patrol.S09E30.Aqua.Pups.Save.a.Mer-Race.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] for torrent Paw.Patrol.S09E30.Aqua.Pups.Save.a.Mer-Race.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] (KCWHCMSVEGJ3C - downloaded 100%) (555f7b6f-3f5e-465f-83b8-e38faae33b2c) [01:15:53 DBG] Method: POST, Path: /api/v2/torrents/delete, Form: hashes: 323d11b9ec14cd11ab347e077259a548d735ee6c, deleteFiles: true [01:15:53 DBG] Delete 323d11b9ec14cd11ab347e077259a548d735ee6c [01:15:53 DBG] Delete 323d11b9ec14cd11ab347e077259a548d735ee6c [01:15:54 DBG] Deleting for torrent Paw.Patrol.S09E03.Pups.Meet.the.Cat.Pack.720p.PMTP.WEBRip.DDP5.1.x264-LAZY[TGx] (JKGHB3P64XUDU - downloaded 100%) (932051f8-01fa-40d6-8b8d-a09bd476c7e2) [01:15:54 DBG] Deleting RdtClient data for torrent Paw.Patrol.S09E03.Pups.Meet.the.Cat.Pack.720p.PMTP.WEBRip.DDP5.1.x264-LAZY[TGx] (JKGHB3P64XUDU - downloaded 100%) (932051f8-01fa-40d6-8b8d-a09bd476c7e2) [01:15:54 DBG] Deleting RealDebrid Torrent for torrent Paw.Patrol.S09E03.Pups.Meet.the.Cat.Pack.720p.PMTP.WEBRip.DDP5.1.x264-LAZY[TGx] (JKGHB3P64XUDU - downloaded 100%) (932051f8-01fa-40d6-8b8d-a09bd476c7e2) [01:15:54 DBG] Deleting local files in /mnt/internal_1tb/Downloading/Downloads/rdtclient/tv-sonarr/Paw.Patrol.S09E03.Pups.Meet.the.Cat.Pack.720p.PMTP.WEBRip.DDP5.1.x264-LAZY[TGx] for torrent Paw.Patrol.S09E03.Pups.Meet.the.Cat.Pack.720p.PMTP.WEBRip.DDP5.1.x264-LAZY[TGx] (JKGHB3P64XUDU - downloaded 100%) (932051f8-01fa-40d6-8b8d-a09bd476c7e2) [01:15:54 DBG] Method: POST, Path: /api/v2/torrents/delete, Form: hashes: a6d35124b1a83d2c3896d87bf7ef48c61d479153, deleteFiles: true [01:15:54 DBG] Delete a6d35124b1a83d2c3896d87bf7ef48c61d479153 [01:15:54 DBG] Delete a6d35124b1a83d2c3896d87bf7ef48c61d479153 [01:15:55 DBG] Deleting for torrent Paw.Patrol.S09E15.Big.Truck.Pups.Save.the.Bridge.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] (CZ5AKT6ITCQL4 - downloaded 100%) (95e82017-96a2-4617-ac5e-f8a1e6b23435) [01:15:55 DBG] Deleting RdtClient data for torrent Paw.Patrol.S09E15.Big.Truck.Pups.Save.the.Bridge.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] (CZ5AKT6ITCQL4 - downloaded 100%) (95e82017-96a2-4617-ac5e-f8a1e6b23435) [01:15:55 DBG] Deleting RealDebrid Torrent for torrent Paw.Patrol.S09E15.Big.Truck.Pups.Save.the.Bridge.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] (CZ5AKT6ITCQL4 - downloaded 100%) (95e82017-96a2-4617-ac5e-f8a1e6b23435) [01:15:55 DBG] Deleting local files in /mnt/internal_1tb/Downloading/Downloads/rdtclient/tv-sonarr/Paw.Patrol.S09E15.Big.Truck.Pups.Save.the.Bridge.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] for torrent Paw.Patrol.S09E15.Big.Truck.Pups.Save.the.Bridge.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] (CZ5AKT6ITCQL4 - downloaded 100%) (95e82017-96a2-4617-ac5e-f8a1e6b23435) [01:15:55 DBG] Method: POST, Path: /api/v2/torrents/delete, Form: hashes: 0a5b540c1836ab8c12a9febf55b8a07a5d25d526, deleteFiles: true [01:15:55 DBG] Delete 0a5b540c1836ab8c12a9febf55b8a07a5d25d526 [01:15:55 DBG] Delete 0a5b540c1836ab8c12a9febf55b8a07a5d25d526 [01:15:55 DBG] Deleting for torrent Paw.Patrol.S09E01E02.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] (RBZFACTPQLQU6 - downloaded 100%) (97ef5fcb-e0ea-41cf-aa0d-15a10b953727) [01:15:55 DBG] Deleting RdtClient data for torrent Paw.Patrol.S09E01E02.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] (RBZFACTPQLQU6 - downloaded 100%) (97ef5fcb-e0ea-41cf-aa0d-15a10b953727) [01:15:55 DBG] Deleting RealDebrid Torrent for torrent Paw.Patrol.S09E01E02.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] (RBZFACTPQLQU6 - downloaded 100%) (97ef5fcb-e0ea-41cf-aa0d-15a10b953727) [01:15:56 DBG] Deleting local files in /mnt/internal_1tb/Downloading/Downloads/rdtclient/tv-sonarr/Paw.Patrol.S09E01E02.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] for torrent Paw.Patrol.S09E01E02.720p.NICK.WEBRip.AAC2.0.H264-LAZY[TGx] (RBZFACTPQLQU6 - downloaded 100%) (97ef5fcb-e0ea-41cf-aa0d-15a10b953727) [01:15:56 DBG] Method: POST, Path: /api/v2/torrents/delete, Form: hashes: ec05c829e0e32d510fcc18273ca3f5a96ffad1d3, deleteFiles: true [01:15:56 DBG] Delete ec05c829e0e32d510fcc18273ca3f5a96ffad1d3 [01:15:56 DBG] Delete ec05c829e0e32d510fcc18273ca3f5a96ffad1d3 [01:15:56 DBG] Deleting for torrent AEW.Dynamite.2023.06.07.1080p.WEB.h264-HEEL.mp4 (PWQHNIWN7REKM - downloaded 100%) (e1ec3bd0-4c6f-40b3-a878-fe4ec2636ed2) [01:15:56 DBG] Deleting RdtClient data for torrent AEW.Dynamite.2023.06.07.1080p.WEB.h264-HEEL.mp4 (PWQHNIWN7REKM - downloaded 100%) (e1ec3bd0-4c6f-40b3-a878-fe4ec2636ed2) [01:15:56 DBG] Deleting RealDebrid Torrent for torrent AEW.Dynamite.2023.06.07.1080p.WEB.h264-HEEL.mp4 (PWQHNIWN7REKM - downloaded 100%) (e1ec3bd0-4c6f-40b3-a878-fe4ec2636ed2) [01:15:56 DBG] Deleting local files in /mnt/internal_1tb/Downloading/Downloads/rdtclient/tv-sonarr/AEW.Dynamite.2023.06.07.1080p.WEB.h264-HEEL.mp4 for torrent AEW.Dynamite.2023.06.07.1080p.WEB.h264-HEEL.mp4 (PWQHNIWN7REKM - downloaded 100%) (e1ec3bd0-4c6f-40b3-a878-fe4ec2636ed2) [01:15:56 DBG] Method: POST, Path: /api/v2/torrents/delete, Form: hashes: dd31151f9b8bc7daf27c22f30b8e99fcf033044b, deleteFiles: true [01:15:56 DBG] Delete dd31151f9b8bc7daf27c22f30b8e99fcf033044b [01:15:56 DBG] Delete dd31151f9b8bc7daf27c22f30b8e99fcf033044b
Which downloader are you using?
Which downloader are you using?
Aria2c (https://github.com/hurlenko/aria2-ariang-docker)
I just tried updating to 2.0.57 and downloads were still not being deleted, though nothing hit the log for it. Once downgrading to 2.0.39, they deleted right away.
Updated to 2.0.58 and it's back in the log but still not being deleted.
[04:26:15 DBG] Method: GET, Path: /api/v2/torrents/info, QueryString: ?category=tv-sonarr [04:26:15 DBG] Method: POST, Path: /api/v2/torrents/delete, Form: hashes: 269da0a72af1aa33d4135a97975ae91957bd29ba, deleteFiles: true [04:26:15 DBG] Delete 269da0a72af1aa33d4135a97975ae91957bd29ba [04:26:15 DBG] Delete 269da0a72af1aa33d4135a97975ae91957bd29ba [04:26:16 DBG] Not removing torrents or files
The line Not removing torrents or files comes from setting qBittorrent / *darr -> Post Torrent Download Action.
What is that set as?
The line
Not removing torrents or filescomes from settingqBittorrent / *darr->Post Torrent Download Action.What is that set as?
It is set to "Download all files to host"
I just tried v2.0.61 and the issue still exists. I can post the log but it's all the same. I'm currently running v2.0.39 and downloads are being deleted as expected.
I meant this setting:
Post Download Action
That is set to No Action.
If I set it to any other option, wouldn't it take the action regardless of Sonarr handling the download? I want to make sure nothing is being removed unless it is successfully processed by Sonarr.
Hm yeah that's a bit confusing, but because you have that setting set, it overrides the delete command from Sonarr.
But when a torrent gets added from Sonarr, it forcibly sets the FinishAction to None on the torrent itself, so when the torrent is done it won't get deleted, but when Sonarr tries to delete it, it will use the default action value.
Why does it work as expected in older versions but not later updates? Was there a reason to change the behaviour?
I changed this behaviour in the next version a bit, it will again adhere to the request to delete files.