mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
deleted torrent returns when qBittorrent restarts #5458
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#5458
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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
@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
@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:
@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.
@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.
@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.
@zeule commented on GitHub (Apr 24, 2017):
How do you launch qBt?
@zeule commented on GitHub (Apr 24, 2017):
And I suppose you've ensured that this torrent does not come from RSS auto downloader?
@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.
@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.
@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.