Torrents automatically deleted after paused

If you run qBittorrent in / with Docker.
Post Reply
Jarski

Torrents automatically deleted after paused

Post by Jarski »

Hi all,


So I've noticed this happening for months now. Occasionally I pause torrents so i can force the cache on my NAS to be cleared as they're stuck in my NVMe cache. When I pause the torrents in qBitTorrent to release the files, qBittorrent deletes a whole lot of them.

If I look at the log then I can clearly see in the logs that qBittorrent has actively deleted them for some reason. e.g (I have removed the complete filenames)

Code: Select all

(N) 2022-02-10T17:39:49 - '<Some.Show>.S01E02.1080p.WEB.H264-PECULATE' was removed from the transfer list and hard disk.
(N) 2022-02-10T17:39:49 - '<Some.Show>.S04E14.1080p.WEB.H264-PECULATE' was removed from the transfer list and hard disk.
(N) 2022-02-10T17:39:49 - '<Some.Show>.S01E02.1080p.WEB.H264-PECULATE' was removed from the transfer list and hard disk.
(N) 2022-02-10T17:39:49 - '<Some.Show>.S01E06.REPACK.1080p.WEB.H264-CAKES' was removed from the transfer list and hard disk.
(N) 2022-02-10T17:39:49 - '<Some.Show>.S02E02.1080p.WEB.H264-CAKES' was removed from the transfer list and hard disk.
(N) 2022-02-10T17:39:49 - '<Some.Show>.S01.1080p.AMZN.WEB-DL.DDP5.1.H.264-ERiX' was removed from the transfer list and hard disk.
(N) 2022-02-10T17:39:49 - '<Some.Show>.S01E05.Chapter.5.1080p.DSNP.WEB-DL.DDP5.1.Atmos.H.264-Street11.mkv' was removed from the transfer list and hard disk.
(W) 2022-02-10T17:39:50 - '<Some.Show>.1080p.WEB.H264-PECULATE' was removed from the transfer list but the files couldn't be deleted. Error: Directory not empty
(W) 2022-02-10T17:39:50 - '<Some.Show>.1080p.WEB.H264-CAKES' was removed from the transfer list but the files couldn't be deleted. Error: Directory not empty
(W) 2022-02-10T17:39:51 - '<Some.Show>.1080p.WEB.H264-GLHF' was removed from the transfer list but the files couldn't be deleted. Error: Directory not empty
(W) 2022-02-10T17:39:51 - '<Some.Show>.1080p.WEB.H264-CAKES' was removed from the transfer list but the files couldn't be deleted. Error: Directory not empty
(W) 2022-02-10T17:39:52 - '<Some.Show>.1080p.WEB.H264-CAKES' was removed from the transfer list but the files couldn't be deleted. Error: Directory not empty
(N) 2022-02-10T17:39:52 - '<Some.Show>.S01E03.1080p.WEB.H264-CAKES' was removed from the transfer list and hard disk.
(N) 2022-02-10T17:39:52 - '<Some.Show>.S01.1080p.NF.WEB-DL.DDP5.1.HDR.HEVC-KHN' was removed from the transfer list and hard disk.
(N) 2022-02-10T17:39:52 - '<Some.Show>.S01E01.REPACK.1080p.WEB.H264-PECULATE' was removed from the transfer list and hard disk.
(N) 2022-02-10T17:39:52 - '<Some.Show>.S03E03.1080p.WEBRip.x264-CAKES' was removed from the transfer list and hard disk.
(W) 2022-02-10T17:39:52 - '<Some.Show>.2020.S02E01.1080p.WEB.H264-CAKES' was removed from the transfer list but the files couldn't be deleted. Error: Directory not empty
(W) 2022-02-10T17:39:52 - '<Some.Show>.S02E05.1080p.WEB.H264-GLHF' was removed from the transfer list but the files couldn't be deleted. Error: Directory not empty
(N) 2022-02-10T17:39:52 - '<Some.Show>.S01E04.1080p.WEB.H264-CAKES' was removed from the transfer list and hard disk.

I haven't got anything configured in qBittorrent to take any action on them, nothing in Seeding limits.
I use Auto Remove Torrents to handle this. But the logs for that says it has taken 0 action so appears just be qBittorrent doing this by itself...
You can see in between this Autoremove doing its checks, 48 torrents just disappeared...

Code: Select all

Thu, 10 Feb 2022 04:35:01 autoremovetorrents.task INFO: Getting all the torrents...
Thu, 10 Feb 2022 04:35:01 autoremovetorrents.task INFO: Found 73 torrent(s) in the client.
Thu, 10 Feb 2022 04:35:01 autoremovetorrents.strategy INFO: Running strategy strategy1...
Thu, 10 Feb 2022 04:35:01 autoremovetorrents.strategy INFO: Total: 73 torrent(s). 0 torrent(s) can be removed.
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.main INFO: Auto Remove Torrents 1.7.1
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.main INFO: Loading configurations...
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.main INFO: Found 1 task(s) in the file.
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.task INFO: Running task 'maxseedtime_delete'...
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.task INFO: Logging in...
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.task INFO: Login successfully. The client is qBittorrent v4.4.0.
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.task INFO: WebUI API version: 2.8.4 (v2)
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.task INFO: Status reported by the client: 
        Download Speed: 0.00B/s Total: 63.47GiB
        Upload Speed: 0.00B/s   Total: 96.06GiB
        Outgoing Port Status: Open
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.task INFO: Getting all the torrents...
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.task INFO: Found 25 torrent(s) in the client.
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.strategy INFO: Running strategy strategy1...
Thu, 10 Feb 2022 04:40:02 autoremovetorrents.strategy INFO: Total: 25 torrent(s). 0 torrent(s) can be removed.
Thu, 10 Feb 2022 04:45:01 autoremovetorrents.main INFO: Auto Remove Torrents 1.7.1
Thu, 10 Feb 2022 04:45:01 autoremovetorrents.main INFO: Loading configurations...
Thu, 10 Feb 2022 04:45:01 autoremovetorrents.main INFO: Found 1 task(s) in the file.
Thu, 10 Feb 2022 04:45:01 autoremovetorrents.task INFO: Running task 'maxseedtime_delete'...
Thu, 10 Feb 2022 04:45:01 autoremovetorrents.task INFO: Logging in...
Thu, 10 Feb 2022 04:45:01 autoremovetorrents.task INFO: Login successfully. The client is qBittorrent v4.4.0.
Thu, 10 Feb 2022 04:45:01 autoremovetorrents.task INFO: WebUI API version: 2.8.4 (v2)
Thu, 10 Feb 2022 04:45:01 autoremovetorrents.task INFO: Status reported by the client: 
        Download Speed: 0.00B/s Total: 63.47GiB
        Upload Speed: 0.00B/s   Total: 96.06GiB
        Outgoing Port Status: Open

It never used to do this, but ive just noticed it in the past couple of months.
The big issue is that while I *could* just restore the BT_backup.bak, its already deleted the content for the majority of these torrents so not worth redownloading since theyve already been copied elsewhere.
Post Reply