qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.66k stars 3.92k forks source link

Incomplete download at 100% #7850

Open IvayloTsvetkov opened 6 years ago

IvayloTsvetkov commented 6 years ago

Please provide the following information

qBittorrent version and Operating System

Windows 10 64bit, (10.0.1xxxx) qbittorrent version 4.0.1

What is the problem

Often when i download video files (100%), i can't open them. So I have to do Force checks just to see that it's 99.9% instead of 100%. This problem wasn't present prior to 4.0.0

What is the expected behavior

It shouldn't say 100% when it's not really at 100%

Steps to reproduce

Obvious to reproduce. Download more than 1 video file until the problem occures, because the problem is inconsistent.

DevilPF commented 6 years ago

I'm experiencing the same issue (all was working in 3.3.16) - in some cases the torrent completes and removes itself (I have set Seed until ratio reaches 0.00), but the file is not complete! If I add it again a recheck it there is missing few percent, which is then downloaded again. Moreover - the file still have sometimes the .qt extension, so it really was not completed. And as bonus the External Program is NOT launched :(

SantaPoncho commented 6 years ago

I have the same problem as described here. Using: Windows 10 64 bit qbittorent v4.0.2 32 bit

When the torrent is at 100% but the files have not been downloaded for 100% I have to manually force recheck the torrent (which can take a while) so it can be set fully done.

g12345567 commented 6 years ago

I have the same problem as described here. Using: Windows 10 64 bit qbittorent v4.0.4 64 bit

Some torrents in qBittorrent reporting 100% complete yet only showing files 99.9% complete and remains active. Doing a force recheck confirms the torrent is 100% complete and moved to completed folder

blevins321 commented 6 years ago

Windows Server 2016 qBittorrent 4.0.4 64-bit.

Same problem here. It's happening more often than it is working correctly. Just added 8 torrents, and when all 8 were finished, 5 were completed as far as qBittorrent was concerned, but were still in my temporary directory. Forcing recheck moved them correctly and made the Completed download notification immediately.

Maybe related? My temporary directory is a local folder (on same C:/ path as OS on an SSD VM), and the completed Seed folder is a networked volume that is a Drivepool hosted by the VM host.

Mark-BC commented 6 years ago

[UPDATE: I don't think my using a remote file server is the issue, because even while my Down Speed is stuck at 0 KiB/s, my Up Speed is a usual number like 100KiB/s. So if I can serve torrent data, I should be able to receive torrent data.]

I am having the same problem as well, running qbittorrent 4.0.4, but there are 2 symptoms: 1) Stalling at what seems to be 100%. Pausing and resuming does not seem to help. Stopping and restarting qbittorrent usually (always?) causes these torrents to either recheck or download a last few bytes (not sure which action is happening - it is too quick) then complete successfully and switch to seeding. 2) I get downloads randomly stalling (often when they are first added to qbittorrent, but sometimes after they have downloaded some portion already). The symptom is that there are many active Seeds and many active Peers, but 0 Down Speed and Status is Stalled. Sometimes this can be fixed by pausing and resuming, but usually I have to exit qbittorrent and restart to get them to not be stalled.

Maybe this will help..... in my case I am running qbittorrent on a Mac but all my storage locations are on another Mac I am accessing via a wired Ethernet connection using SMB (standard Mac networking). In other words I have one Mac which acts as a central file server for all Macs in the house, including my qbittorrent mac. Maybe the fact my torrents and AVI files are being stored remotely is part of the problem? If there is any hiccup in storing data remotely, maybe qbittorrent is not handling the error condition well and retrying?

moeSizlak commented 6 years ago

wtf_qbt

All my torrents do this. Get to 100% on top panel but still say downloading. Several minutes later the bottom panel gets to 100% and it goes to seeding.... Or sometimes it never does and i have to force recheck.....sigh....

LaughingFox commented 6 years ago

I also suffer with this problem using: Windows 7 Pro 64 bit service pack 1 qBittorrent v4.1.1 64 bit

QBittorrent had crashed. When I restarted it, more than a hundred previously completed torrents were paused, and when resumed began rechecking themselves, showing 99.9% completed. They quickly finished, when there were seeds, but quite a few aren't being supported currently. They show a completed date earlier this year, 99.9% done and stalled with no active peers or seeds

dannyhanes commented 6 years ago

Commenting to follow. I am also having this same issue. The torrent in the main list shows as 100% complete and stalled, but the files under the content tab tend to get stuck at 99.8%.

Ubuntu Server 16.0.4 qBittorrent 4.1.1

Torrents are being downloaded to an unRAID share over SMB.

dannyhanes commented 6 years ago

Just updated to 4.1.2 and I am still having the same issue. Got home today and had 10 torrents all showing as 100%, all of them stalled, and all of them showing less than 100% when I check the "Content" tab.

zotune commented 6 years ago

I'm having this issue too. 3x had no problems. I regret updating.

jordansimas commented 6 years ago

On 4.1.2 and dealing with the same issue. Windows 8.1 64bit. Downloads report 100% but some files are at 99.9%.

aburke20 commented 6 years ago

On 4.1.2 same issue as everyone. Windows 10 Pro. Downloads report 100%, file is moved from my "unfinished" folder to the "finished" one (both on same drive) but some files are definitely not actually completed. Just right now I had one that when forced to recheck was only at 93% !!

amsokol commented 5 years ago

I have the same issue on 4.1.4

bob7878 commented 5 years ago

Sadly this issue continues on, I have v4.1.5 and at first a few random files would show 100% be stuck in the downloading state but when you look at CONTENT tab its shows usually the movie file is 99.9%. Started random but now its every single file its about to complete, so I have to force recheck.

Strangeness continues though, after force recheck they go complete and seeding but now I am finding random files that have audio out of sync, clearly missing part was still missing on a few titles and verified by redownloading these and they play fine after a couple attempts.

eski-dev commented 5 years ago

Windows 10 Pro qBittorrent v4.1.5

I'm still experiencing this issue. A force recheck will reveal that the torrent hasn't truly reached 100% though sometimes it requires multiple Download > Force Recheck cycles to totally complete the download.

os-groot commented 5 years ago

Windows 10 qBittorrent v4.1.5

Same issue affecting all my torrents, and If I don't force re-check, the video files tend to have some parts missing, causing skipping during playback

kilrau commented 5 years ago

Windows 10 x64 qBittorrent v4.1.5 x64

Same issue affecting all torrents. Torrent shows 100% and stalled. Actual file is 9X%. Enforcing re-check fixes it (if parts are missing, finishes the download, if already complete -> Stalled to Seeding). This deserves more attention!

IntrovertedFL commented 5 years ago

Same problem here :( Ubuntu 18.04 qBittorrent v4.1.5

Lesiuk commented 5 years ago

Just downloaded qbittorent to my seedbox and after adding 20 torrents 8 had this issue. Had to force recheck them to continue download 100% because few files were stuck at 99.9 and didn't want to download to 100%.

kilrau commented 5 years ago

Still the case on

ubuntu 18.04.2 qBittorrent v4.1.6

@sledgehammer999 @Chocobo1 @glassez @pmzqla

Lesiuk commented 5 years ago

Forgot to say, Raspberry PI 4 with newest debian buster release and qBittorrent 4.1.5. Like half of torrents I download are affected. Quite annoying.

Caligo82 commented 5 years ago

Same Problem on Win10x64 4.1.6

Saving to non-raid smb drive. I still can't find a pattern when it happens. Happens more often when system runs longer. Might be subjective though as powercycles don't happen too often.

mosin commented 5 years ago

Having the same issue running Ubuntu 18.04 with the PPA version. It says Seeding have to force a recheck to complete the download.

pv7721 commented 5 years ago

It just happened to me as well, Windows 10x64 version 1903 (19362.239), version 4.1.6 64 bit, just encountered a torrent that was superfast, it reached 100%, but I've seen in the past torrents stuck at 99,9% this one is stuck in Downloading at 100%, I see less than 5 MB remaining (4.9 MB to be precisely), uploading as hell... but no download for the last piece, what's the matter with it?!?

jbruchon commented 5 years ago

This is happening to me after dropping the 3.x series on a machine and using the latest available download. Same general numbers as @pv7721 where it says 100% on the summary progress bar, but a file is at 99.x% and won't truly complete. This is the case for several torrents, not just one. Recheck immediately marks as "complete." My best guess is that the 100% is genuine but that some sort of internal order of operations happens to execute differently in rare cases and that when the torrent gets marked 100%, the code that then checks the status of the individual files for 100% completion doesn't run because it's at 100% for the full torrent.

Asday commented 5 years ago

Please, if you haven't, provide your download locations in relation to the machine running qBittorrent. It looks like this might be something to do with SMB, or some implementation of it.

Also, the steps to reproduce in the OP are not useful, because many thousands of people do exactly that, and it works fine for them.

Mark-BC commented 5 years ago

Hi Asday, I previously commented I was having this problem as well (see my MarkB-C Mar 20, 2018 response) but I no longer have this problem. You may be right about the SMB issue, because I used to have qbittorrent running on one Mac, but storing the files on another system accessed via SMB. Currently I run qbittorrent and save the files on a USB-connected drive, and I have not seen the issue in a very long time (over a year). I believe I switched over because I suspected SMB (as indicated in my previous message).

jbruchon commented 5 years ago

My 100% stucks are stored on a Samba server over a UNC path. It may be that SMB triggers the error, but it's not the SMB implementation that's at fault.

Asday commented 5 years ago

Well it could be either, we wouldn't know without investigation.

I might suggest a workaround is to have qBittorrent download your files locally, then run a script to move them onto your SMB share once they're completed, if you're having this issue. If it doesn't fix the issue, then it narrows down what it could be. If it does, then it narrows down what it could be, and you have a working solution to limp by with.

pv7721 commented 5 years ago

It just happened to me as well, Windows 10x64 version 1903 (19362.239), version 4.1.6 64 bit, just encountered a torrent that was superfast, it reached 100%, but I've seen in the past torrents stuck at 99,9% this one is stuck in Downloading at 100%, I see less than 5 MB remaining (4.9 MB to be precisely), uploading as hell... but no download for the last piece, what's the matter with it?!?

In my case it was NOT on SMB, but on the local HDD of a laptop. Unfortunately the laptop was a little slow, only 4 GB RAM, initially sold with 8.1 had to upgrade to 10. I think therefore in my case the slowness was possibly comparable to the one of SMB, so writing over the network, and some operations were not done properly in order.

mosin commented 5 years ago

Mine are running through a Qemu VM with the 9p mount.

On Sat., Aug. 17, 2019, 7:32 p.m. Jody Bruchon, notifications@github.com wrote:

My 100% stucks are stored on a Samba server over a UNC path. It may be that SMB triggers the error, but it's not the SMB implementation that's at fault.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/qbittorrent/qBittorrent/issues/7850?email_source=notifications&email_token=AAZTSFHHPEYOT3OKDN66BA3QFCDBBA5CNFSM4EFDRREKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QVKIA#issuecomment-522278176, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZTSFGCPBRGP2WL3H557SLQFCDBBANCNFSM4EFDRREA .

jbruchon commented 5 years ago

You can't blame "the SMB implementation" when it's Windows 10. Maybe if it was Samba 2, but there's no reason that SMB/CIFS accessed via UNC paths on Windows should behave any differently than a local file, excluding network drops causing I/O errors (which is what happens with qBittorrent if the wireless link drops).

This is a bug in qBittorrent, not in "the SMB implementation." Full stop.

Asday commented 5 years ago

Depends what's on the remote host too.

Like I said, if that's the problem, eliminate it by downloading locally, then moving. Now that I think about it, I think qBittorrent can do that without running a script, so it can still seed from it.

gperrio commented 5 years ago

Win 10 x64 and qBittorrent 4.1.7 I had this issue on around 50% of my torrents. Had to force check to finish them properly (which gets old very quickly on 40+ Go torrents). I also had download speed problems so I raised the cache from 64 Mo to 4096 Mo. It fixed my download speed problems and I have not seen the "100% but not finished" problem ever since.

CyrusNajmabadi commented 4 years ago

Happens to me with about one in twenty torrents. Doing a recheck of that torrent fixes things.

zomgs commented 4 years ago

Experiencing the same behavior. File is 100%, but QBittorrent indicates a piece is missing. Recheck fixes it. On Server 2012.

scottvirus commented 4 years ago

WoW, 2 years and it is still a bug... Having the same issues. But for really large downloads (multiple files) I need to re-check it multiple times. I run it to download for my Plex server. Files are being saved over SMB. When the video is being played, it crashes or quits playback. Rechecking the torrent for a single file usually fixes it. But whole series with 24 files, usually means more than one Re-check.

imasuridondai commented 4 years ago

4.2.3 Clipboard-1

glassez commented 4 years ago

Can you confirm the affected file is really incomplit at this point? Maybe it's just shown as incomplete due to some bug?

recoder99 commented 4 years ago

this bug still exist qbittorrent 4.2.3

vpreyer commented 4 years ago

Same here, 4.2.3 confirmed. This is a serious issue, plagueing the app for years, is it just deliberately ignored?

glassez commented 4 years ago

This is a serious issue, plagueing the app for years

For years? Never encountered it. And apparently none of the contributors either. And no reliable "steps to reproduce" are provided here. That's probably why it can't be fixed.

vpreyer commented 4 years ago

OK, we just made it up. Never mind this thread and a bunch of similar ones. I didn't make any steps to come to it, and if i knew what configuration and environment settings lead to this issue i wouldn't bother commenting, i'd just fix it. Apparently a great many users manage to reproduce it, whether they want it or not (mostly not).

zecanard commented 4 years ago

Plenty of regular users have never experienced it either, and I’ve been using qBittorrent for 6 years. Saying “confirmed, fix it” isn’t sufficient, contrary to popular belief.

jbruchon commented 4 years ago

I believe that this problem went away for me when I TURNED OFF "recheck torrents upon completion." There is something between the torrent download completing and the rechecking that causes this, if I recall correctly.

FranciscoPombal commented 4 years ago

OK, we just made it up. Never mind this thread and a bunch of similar ones. I didn't make any steps to come to it, and if i knew what configuration and environment settings lead to this issue i wouldn't bother commenting, i'd just fix it. Apparently a great many users manage to reproduce it, whether they want it or not (mostly not).

No need to be so combative. People here really want to help those who are affected by this problem, but it is not possible to fix an issue (or even determine whether or not the issue is related to qBIttorrent and not some external factor) without clear steps/environment to reproduce it.

ericgcollyer commented 4 years ago

I'm experiencing the same issue. In my case, I've got qbitorrent installed on an Ubuntu 16.04 machine. The torrents are being downloaded to a FreeNAS server connected via SMB. The files I'm downloading are quite large (30+GB).

gr3ger commented 4 years ago

If it helps anyone, what I did to fix this was to:

  1. Stop all torrents
  2. Rename the files in the torrent to have shorter names (they were very long)
  3. force recheck all affected torrents.

After that it worked as it should. I can't say if it was the renaming or the stop+recheck that fixed it though. But worth a shot.

vincent-163 commented 4 years ago

I encounter such problems especially when downloading lots of torrents at the same time. I set the number of connections to very high, effectively disabling any queueing/bandwidth/connection-limiting mechanism. Whenever I encounter such problems, the problem can always fixed by rechecking the torrent, but it was slow. Restarting qBittorrent doesn't help, and after restarting all torrents stall at 100% without making progress. Recently I found an alternative method. I toggled the list of files to download or changed their priority, and then all stalled torrents suddenly start downloading until they become "Seeding" which should mean that they are fully downloaded.

mortenanakin commented 4 years ago

Same problem here!