mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
qBittorrent contributing to potential data loss when always resuming torrent after recheck when payload is not found #16118
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#16118
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 @slrslr on GitHub (Sep 30, 2024).
Suggestion
From time to time, You find some errored torrents because you have renamed or relocated files using your OS file manager and forgot that these files are part of some torrent.
So in qBtittorrent (I am using latest 5.0.0 AppImage Libtorrent 2) You go to the errored torrents section. Change location of the torrent payload, but you accidentally set incorrect path or the payload file is still named differently. Then you click to recheck. The file disappear from the errored section so you loose track of it and must be lucky to remember its correct name to filter it out of the long torrents list.
Second problem, for which I have created this issue is that in case the torrent payload is not found during recheck, user have to be quick enough to find the torrent and stop it before it start downloading (because qbt sets it to a downloading state), so it often (in my case IMO always) qbt starts writing the data you usually already have in a different location. Maybe qbt can set that torrent as stopped or back as errored so user have it handy for next attempt?
Instead user finds resumed or downloading torrent and makes a second attempt to set the correct path or tries to rename the payload file name/s. During this qbt relocates incomplete payload and overwrites complete files downloaded earlier! https://github.com/qbittorrent/qBittorrent/issues?q=is%3Aopen+is%3Aissue+label%3A%22Data+loss%22
Conclusion:
I see it as a smaller problem to set torrent as stopped (or back as errored) than 1) enabling data loss, 2) wasting data transfer by resuming download from zero and also 3) causing duplicity on disk.
Use case
No response
Extra info/examples/attachments
No response
@HanabishiRecca commented on GitHub (Sep 30, 2024):
Set
Settings>Downloads>Torrent stop conditiontoFiles checked.@slrslr commented on GitHub (Sep 30, 2024):
I already have it set that way. For some reason, yours described option does not work for me for this particular case. I remember though that it worked for newly added torrents.
@xavier2k6 commented on GitHub (May 25, 2025):
ANNOUNCEMENT!
For anybody coming across this "Feature Request" & would like/love to see a potential implementation in the future!
Here are some options available to you:
Please select/click the 👍 &/or ❤
reactionsin the original/opening post of this ticket.Please feel free (If you have the "skillset") to create a "Pull Request" implementing what's being requested in this ticket.
(new/existing contributors/developers are always welcome)
DO:
DO NOT:
(These will be disregarded/hidden as "spam/abuse/off-topic" etc. as they don't provide anything constructive.)