mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
.!qB files: Not detecting completion. Force Recheck fails. #8482
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#8482
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 @a-raccoon on GitHub (Mar 23, 2019).
This bug only applies if you have the option
[x] Append .!qB extension to incomplete files.If you disrupt a torrent's download folder by moving in completed file(s) ...
Or if you move out completed file(s), restart qBittorrent or Recheck the torrent, and then move the completed file(s) back to its proper location again ...
Or if you first move a torrent's file(s) to another location via your operating system, and then you try Setting Location of the torrent to the new location of the file(s) ...
qBittorrent will never show the torrent as being complete, even when you attempt to Force a Recheck. I discovered, this is because qBittorrent is only looking for files ending in
.!qB, and is not expecting the files to be actually completed. Even when qBittorrent does know the torrent was completed and does show a completion time.Work-around: Add the
.!qBextension to your file(s) and then Force a Recheck. It will then discover the files and recognize them as completed, and then remove the.!qBextension for you.Fix Solution: Upon qBittorrent startup and for any (Force) Recheck, check first for the presence of files without
.!qB, and (failing that) then check for those same files with the.!qBextension.This solution should be agnostic to the aforementioned
[x] Append .!qB extension to incomplete filessetting, since this setting may be turned on or off during the course of a torrent's lifetime, and so.!qBfiles may or may not be present regardless.@tp0 commented on GitHub (Jun 4, 2019):
I found a developer explanation from 2015: https://github.com/qbittorrent/qBittorrent/issues/3890#issuecomment-155138761. Relates to libtorrent and apparently not as easy to fix as it sounds like.
I also reported this 3 years ago #5460 with an easy repro case.
@a-raccoon commented on GitHub (Jun 11, 2019):
This problem also presents itself when some files complete within a torrent and then there is a power outage. You will return with an Errored torrent with the status
Missing Files. You have to rename the completed files that indicate as incomplete in the Content tab, to include the.!qBextension, and then you have to Force Recheck the torrent. Twice. The first recheck will show a lower % of completeness, and the second recheck will show the accurate completeness(!!!).@tp0 commented on GitHub (Oct 31, 2020):
I can no longer repro this on 4.3.0.
Sounds like this might have been the fix in 4.3.0:
@FranciscoPombal commented on GitHub (Oct 31, 2020):
@a-raccoon Can you confirm as well?
@a-raccoon commented on GitHub (Nov 10, 2020):
I haven't migrated to 4.3 yet, so the best I could do is set up a test scenario like anyone else can. It will be a moment before updating to 4.3.x
@xavier2k6 commented on GitHub (Feb 9, 2021):
@a-raccoon Have you upgraded to 4.3.3? Is this fixed?
@ghost commented on GitHub (Jul 30, 2022):
I'm closing this as fixed as OP failed to respond in a timely manner and this issue most likely got fixed in 4.3.0 as I haven't seen any new tickets recently. However if you can still reproduce it with latest version then please comment to re-open the thread.