deleted torrent returns when qBittorrent restarts #5458

Closed
opened 2026-02-21 17:51:56 -05:00 by deekerman · 11 comments
Owner

Originally created by @silk186 on GitHub (Apr 21, 2017).

qBittorrent version and Operating System:

3.3.10 and Win10-64

What is the problem:

One of my torrents won't go away. Every time qBittorrent starts it shows the same torrent trying to download. Everytime I delete the torrent and it disappears from the client until the next restart. It is in a paused state and shows 0% progress. It says it was created on 2016-03-06. The torrent can't be completed because it is no longer available, listed as unregistered torrent.

What is the expected behavior:

Deleted torrents should stay deleted.

Steps to reproduce:

restart qBittorrent

Originally created by @silk186 on GitHub (Apr 21, 2017). ### qBittorrent version and Operating System: 3.3.10 and Win10-64 ### What is the problem: One of my torrents won't go away. Every time qBittorrent starts it shows the same torrent trying to download. Everytime I delete the torrent and it disappears from the client until the next restart. It is in a paused state and shows 0% progress. It says it was created on 2016-03-06. The torrent can't be completed because it is no longer available, listed as unregistered torrent. ### What is the expected behavior: Deleted torrents should stay deleted. ### Steps to reproduce: restart qBittorrent
Author
Owner

@zeule commented on GitHub (Apr 21, 2017):

Check whether the .fastresume and .torrent files get deleted. Filesystem path can be looked up in the FAQ

@zeule commented on GitHub (Apr 21, 2017): Check whether the .fastresume and .torrent files get deleted. Filesystem path can be looked up in the [FAQ](https://github.com/qbittorrent/qBittorrent/wiki/Frequently-Asked-Questions#Where_does_qBittorrent_save_its_settings)
Author
Owner

@silk186 commented on GitHub (Apr 24, 2017):

I did not find any .torrent file for that torrent.
The fast resume deletes with the torrent and re-appears when I restart qBittorrent.
The fast resume file is the same name as the torrent hash, and is found in %LOCALAPPDATA%\qBittorrent\BT_backup

@silk186 commented on GitHub (Apr 24, 2017): I did not find any .torrent file for that torrent. The fast resume deletes with the torrent and re-appears when I restart qBittorrent. The fast resume file is the same name as the torrent hash, and is found in %LOCALAPPDATA%\qBittorrent\BT_backup
Author
Owner

@zeule commented on GitHub (Apr 24, 2017):

The .fastresume file re-appears? I can't imagine how qBt can recreate it for a given torrent. Could you check the file creation and modification dates, please? Could you do the following, please:

  1. Remove the torrent from the program.
  2. Test that there is no corresponding file in BT_backup
  3. Write down current time.
  4. Close qBt. Make sure that the process ended (using task manager).
  5. Write down current time again.
  6. Launch qBt
  7. Check that file and its modification/creation date.
@zeule commented on GitHub (Apr 24, 2017): The .fastresume file re-appears? I can't imagine how qBt can recreate it for a given torrent. Could you check the file creation and modification dates, please? Could you do the following, please: 1. Remove the torrent from the program. 2. Test that there is no corresponding file in BT_backup 3. Write down current time. 4. Close qBt. Make sure that the process ended (using task manager). 5. Write down current time again. 6. Launch qBt 7. Check that file and its modification/creation date.
Author
Owner

@silk186 commented on GitHub (Apr 24, 2017):

Yes, it is pretty strange.
I search for the torrent by the file name and couldn't find anything.
Only through searching for the hash name in BT_backup

In qBt, under general information for the torrent:
created on: 2016-03-06
added on: 2017-04-24 with current time.

The fast resume file shows it was just created.

@silk186 commented on GitHub (Apr 24, 2017): Yes, it is pretty strange. I search for the torrent by the file name and couldn't find anything. Only through searching for the hash name in BT_backup In qBt, under general information for the torrent: created on: 2016-03-06 added on: 2017-04-24 with current time. The fast resume file shows it was just created.
Author
Owner

@zeule commented on GitHub (Apr 24, 2017):

All files in BT_backup are named after torrent hash.
"Just created" is not enough, I want to know whether is was created before shutdown or after restart. Please, do exactly what I've asked for.

@zeule commented on GitHub (Apr 24, 2017): All files in BT_backup are named after torrent hash. "Just created" is not enough, I want to know whether is was created before shutdown or after restart. Please, do exactly what I've asked for.
Author
Owner

@silk186 commented on GitHub (Apr 24, 2017):

fast resume: ‎April ‎24, ‎2017, ‏‎7:01:07 PM
in qBt: April ‎24, ‎2017, ‏‎6:40 PM
torrent deleted and qBt shut down at 7:15
stating qBt at 7:17
torrent added on April ‎24, ‎2017, 7:17 PM
can't find the fast resume now
so, the fast resume file stopped coming back, but torrent still comes back in qBt.

@silk186 commented on GitHub (Apr 24, 2017): fast resume: ‎April ‎24, ‎2017, ‏‎7:01:07 PM in qBt: April ‎24, ‎2017, ‏‎6:40 PM torrent deleted and qBt shut down at 7:15 stating qBt at 7:17 torrent added on April ‎24, ‎2017, 7:17 PM can't find the fast resume now so, the fast resume file stopped coming back, but torrent still comes back in qBt.
Author
Owner

@zeule commented on GitHub (Apr 24, 2017):

How do you launch qBt?

@zeule commented on GitHub (Apr 24, 2017): How do you launch qBt?
Author
Owner

@zeule commented on GitHub (Apr 24, 2017):

And I suppose you've ensured that this torrent does not come from RSS auto downloader?

@zeule commented on GitHub (Apr 24, 2017): And I suppose you've ensured that this torrent does not come from RSS auto downloader?
Author
Owner

@silk186 commented on GitHub (Apr 25, 2017):

qBt starts with windows or when I click the exe
I disabled RSS automatic downloader... still come back.

@silk186 commented on GitHub (Apr 25, 2017): qBt starts with windows or when I click the exe I disabled RSS automatic downloader... still come back.
Author
Owner

@Kaspej commented on GitHub (Mar 4, 2018):

I have the same bug,
qBittorrent v4.0.4
Linux odroid-jessie 3.10.107 #1 SMP PREEMPT Wed Sep 13 18:48:10 CEST 2017 armv7l GNU/Linux
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"

Test procedure:

~/.local/share/data/qBittorrent/BT_backup$ date
Sun Mar 4 15:10:08 UTC 2018
~/.local/share/data/qBittorrent/BT_backup$ stat c0c92c0b070773dacceeb5481780707174858d22.fastresume
File: c0c92c0b070773dacceeb5481780707174858d22.fastresume
Size: 4210 Blocks: 10 IO Block: 1024 regular file
Device: b302h/45826d Inode: 200018 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ user) Gid: ( 1000/ user)
Access: 2018-03-04 15:01:46.328855222 +0000
Modify: 2018-03-04 15:01:46.328855222 +0000
Change: 2018-03-04 15:01:46.338855284 +0000
Birth: -
~/.local/share/data/qBittorrent/BT_backup$ stat c0c92c0b070773dacceeb5481780707174858d22.fastresume
stat: cannot stat 'c0c92c0b070773dacceeb5481780707174858d22.fastresume': No such file or directory
~/.local/share/data/qBittorrent/BT_backup$ date
Sun Mar 4 15:11:23 UTC 2018
~/.local/share/data/qBittorrent/BT_backup$ ps aux | grep qbittorrent
user 2776 0.0 0.0 3760 548 pts/0 S+ 15:13 0:00 grep qbittorrent
~/.local/share/data/qBittorrent/BT_backup$ date
Sun Mar 4 15:14:04 UTC 2018
~/.local/share/data/qBittorrent/BT_backup$ stat c0c92c0b070773dacceeb5481780707174858d22.fastresume
stat: cannot stat 'c0c92c0b070773dacceeb5481780707174858d22.fastresume': No such file or directory
~/.local/share/data/qBittorrent/BT_backup$ date
Sun Mar 4 15:19:15 UTC 2018
~/.local/share/data/qBittorrent/BT_backup$ stat c0c92c0b070773dacceeb5481780707174858d22.fastresume
File: c0c92c0b070773dacceeb5481780707174858d22.fastresume
Size: 4207 Blocks: 10 IO Block: 1024 regular file
Device: b302h/45826d Inode: 200258 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ user) Gid: ( 1000/ user)
Access: 2018-03-04 15:17:18.474434948 +0000
Modify: 2018-03-04 15:17:18.474434948 +0000
Change: 2018-03-04 15:17:18.484435007 +0000
Birth: -

So the magic is happening after 3 seconds from start qbittorrent(the file is recreated).
In Web UI that torrent is visible right after starting qbittorrent.

@Kaspej commented on GitHub (Mar 4, 2018): I have the same bug, qBittorrent v4.0.4 Linux odroid-jessie 3.10.107 #1 SMP PREEMPT Wed Sep 13 18:48:10 CEST 2017 armv7l GNU/Linux PRETTY_NAME="Debian GNU/Linux 9 (stretch)" Test procedure: ~/.local/share/data/qBittorrent/BT_backup$ date Sun Mar 4 15:10:08 UTC 2018 ~/.local/share/data/qBittorrent/BT_backup$ stat c0c92c0b070773dacceeb5481780707174858d22.fastresume File: c0c92c0b070773dacceeb5481780707174858d22.fastresume Size: 4210 Blocks: 10 IO Block: 1024 regular file Device: b302h/45826d Inode: 200018 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ user) Gid: ( 1000/ user) Access: 2018-03-04 15:01:46.328855222 +0000 Modify: 2018-03-04 15:01:46.328855222 +0000 Change: 2018-03-04 15:01:46.338855284 +0000 Birth: - ~/.local/share/data/qBittorrent/BT_backup$ stat c0c92c0b070773dacceeb5481780707174858d22.fastresume stat: cannot stat 'c0c92c0b070773dacceeb5481780707174858d22.fastresume': No such file or directory ~/.local/share/data/qBittorrent/BT_backup$ date Sun Mar 4 15:11:23 UTC 2018 ~/.local/share/data/qBittorrent/BT_backup$ ps aux | grep qbittorrent user 2776 0.0 0.0 3760 548 pts/0 S+ 15:13 0:00 grep qbittorrent ~/.local/share/data/qBittorrent/BT_backup$ date Sun Mar 4 15:14:04 UTC 2018 ~/.local/share/data/qBittorrent/BT_backup$ stat c0c92c0b070773dacceeb5481780707174858d22.fastresume stat: cannot stat 'c0c92c0b070773dacceeb5481780707174858d22.fastresume': No such file or directory ~/.local/share/data/qBittorrent/BT_backup$ date Sun Mar 4 15:19:15 UTC 2018 ~/.local/share/data/qBittorrent/BT_backup$ stat c0c92c0b070773dacceeb5481780707174858d22.fastresume File: c0c92c0b070773dacceeb5481780707174858d22.fastresume Size: 4207 Blocks: 10 IO Block: 1024 regular file Device: b302h/45826d Inode: 200258 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ user) Gid: ( 1000/ user) Access: 2018-03-04 15:17:18.474434948 +0000 Modify: 2018-03-04 15:17:18.474434948 +0000 Change: 2018-03-04 15:17:18.484435007 +0000 Birth: - So the magic is happening after 3 seconds from start qbittorrent(the file is recreated). In Web UI that torrent is visible right after starting qbittorrent.
Author
Owner

@ngosang commented on GitHub (Sep 16, 2018):

We are closing all issues related to old qBittorrent versions (qBittorrent < 4.1.0).
Please, update to last release and, if the bug/error/crash is still present, open another issue.
Thank you.

@ngosang commented on GitHub (Sep 16, 2018): We are closing all issues related to old qBittorrent versions (qBittorrent < 4.1.0). Please, update to last release and, if the bug/error/crash is still present, open another issue. Thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#5458
No description provided.