skip hash check gives error about missing files and do not download anything #13556

Closed
opened 2026-02-22 00:04:13 -05:00 by deekerman · 18 comments
Owner

Originally created by @EsmailELBoBDev2 on GitHub (Jun 20, 2022).

qBittorrent & operating system versions

qb: 4.4.3.1 x64
OS: Debian bookworm (I think it's called 12)
libtorrent-rasterbar: 2.0.6-3

What is the problem?

When I upload torrent (first time) and click to skip hash check, I get error about missing files, I try to resume but it errors out again and when I click on force resume it does say it's downloading but download/upload numbers do not actually move

Steps to reproduce

  1. Add torrent
  2. click on skip hash check
  3. click upload

Additional context

I updated from debian 11 to bookworm (related: https://github.com/qbittorrent/qBittorrent/issues/17242)

Log(s) & preferences file(s)

qBittorrent preferences:

[AutoRun]
enabled=false
program=

[BitTorrent]
Session\DefaultSavePath=/home/debian/gdrive/
Session\MaxActiveDownloads=1
Session\MaxActiveTorrents=999
Session\MaxActiveUploads=999
Session\Port=34057
Session\QueueingSystemEnabled=true
Session\TempPath=/home/debian/Downloads/
Session\TempPathEnabled=true

[LegalNotice]
Accepted=true

[Meta]
MigrationVersion=3

[Network]
Cookies=@Invalid()

[Preferences]
Advanced\RecheckOnCompletion=false
Advanced\trackerPort=9000
Connection\PortRangeMin=34057
Connection\ResolvePeerCountries=true
Downloads\SavePath=/home/debian/gdrive/
Downloads\TempPath=/home/debian/Downloads/
Downloads\TempPathEnabled=true
DynDNS\DomainName=changeme.dyndns.org
DynDNS\Enabled=false
DynDNS\Password=
DynDNS\Service=DynDNS
DynDNS\Username=
General\Locale=
MailNotification\email=
MailNotification\enabled=false
MailNotification\password=
MailNotification\req_auth=true
MailNotification\req_ssl=false
MailNotification\sender=qBittorrent_notification@example.com
MailNotification\smtp_server=smtp.changeme.com
MailNotification\username=
Queueing\MaxActiveDownloads=1
Queueing\MaxActiveTorrents=999
Queueing\MaxActiveUploads=999
Queueing\QueueingEnabled=true
WebUI\Address=*
WebUI\AlternativeUIEnabled=true
WebUI\AuthSubnetWhitelistEnabled=false
WebUI\BanDuration=3600
WebUI\CSRFProtection=true
WebUI\ClickjackingProtection=true
WebUI\CustomHTTPHeaders=
WebUI\CustomHTTPHeadersEnabled=false
WebUI\HTTPS\CertificatePath=
WebUI\HTTPS\Enabled=false
WebUI\HTTPS\KeyPath=
WebUI\HostHeaderValidation=true
WebUI\LocalHostAuth=true
WebUI\MaxAuthenticationFailCount=5
WebUI\Password_PBKDF2="@dmdCvHcQPu6fl2JAZdf84thEFHydjEtPEDszgjO6omquiXo30YuabAQ==)"
WebUI\Port=8080
WebUI\RootFolder=/home/debian/nightwalker
WebUI\SecureCookie=true
WebUI\ServerDomains=*
WebUI\SessionTimeout=3600
WebUI\UseUPnP=true
WebUI\Username=admin

[RSS]
AutoDownloader\DownloadRepacks=true
AutoDownloader\SmartEpisodeFilter=s(\\d+)e(\\d+), (\\d+)x(\\d+), "(\\d{4}[.\\-]\\d{1,2}[.\\-]\\d{1,2})", "(\\d{1,2}[.\\-]\\d{1,2}[.\\-]\\d{4})"

qBittorrent.log:


(C) 2022-06-20T16:49:45 - File sizes mismatch for torrent 'Ed Sheeran - Divide (Deluxe Edition) [24Bits - HDTracks]'. Cannot proceed further.
(C) 2022-06-20T16:49:54 - File sizes mismatch for torrent 'Ed Sheeran - Divide (Deluxe Edition) [24Bits - HDTracks]'. Cannot proceed further.
(C) 2022-06-20T16:49:56 - File sizes mismatch for torrent 'Ed Sheeran - Divide (Deluxe Edition) [24Bits - HDTracks]'. Cannot proceed further.
(I) 2022-06-20T16:52:43 - UPnP / NAT-PMP support [OFF]

Originally created by @EsmailELBoBDev2 on GitHub (Jun 20, 2022). ### qBittorrent & operating system versions qb: 4.4.3.1 x64 OS: Debian bookworm (I think it's called 12) libtorrent-rasterbar: 2.0.6-3 ### What is the problem? When I upload torrent (first time) and click to skip hash check, I get error about missing files, I try to resume but it errors out again and when I click on force resume it does say it's downloading but download/upload numbers do not actually move ### Steps to reproduce 1. Add torrent 2. click on skip hash check 3. click upload ### Additional context I updated from debian 11 to bookworm (related: https://github.com/qbittorrent/qBittorrent/issues/17242) ### Log(s) & preferences file(s) qBittorrent preferences: ``` [AutoRun] enabled=false program= [BitTorrent] Session\DefaultSavePath=/home/debian/gdrive/ Session\MaxActiveDownloads=1 Session\MaxActiveTorrents=999 Session\MaxActiveUploads=999 Session\Port=34057 Session\QueueingSystemEnabled=true Session\TempPath=/home/debian/Downloads/ Session\TempPathEnabled=true [LegalNotice] Accepted=true [Meta] MigrationVersion=3 [Network] Cookies=@Invalid() [Preferences] Advanced\RecheckOnCompletion=false Advanced\trackerPort=9000 Connection\PortRangeMin=34057 Connection\ResolvePeerCountries=true Downloads\SavePath=/home/debian/gdrive/ Downloads\TempPath=/home/debian/Downloads/ Downloads\TempPathEnabled=true DynDNS\DomainName=changeme.dyndns.org DynDNS\Enabled=false DynDNS\Password= DynDNS\Service=DynDNS DynDNS\Username= General\Locale= MailNotification\email= MailNotification\enabled=false MailNotification\password= MailNotification\req_auth=true MailNotification\req_ssl=false MailNotification\sender=qBittorrent_notification@example.com MailNotification\smtp_server=smtp.changeme.com MailNotification\username= Queueing\MaxActiveDownloads=1 Queueing\MaxActiveTorrents=999 Queueing\MaxActiveUploads=999 Queueing\QueueingEnabled=true WebUI\Address=* WebUI\AlternativeUIEnabled=true WebUI\AuthSubnetWhitelistEnabled=false WebUI\BanDuration=3600 WebUI\CSRFProtection=true WebUI\ClickjackingProtection=true WebUI\CustomHTTPHeaders= WebUI\CustomHTTPHeadersEnabled=false WebUI\HTTPS\CertificatePath= WebUI\HTTPS\Enabled=false WebUI\HTTPS\KeyPath= WebUI\HostHeaderValidation=true WebUI\LocalHostAuth=true WebUI\MaxAuthenticationFailCount=5 WebUI\Password_PBKDF2="@dmdCvHcQPu6fl2JAZdf84thEFHydjEtPEDszgjO6omquiXo30YuabAQ==)" WebUI\Port=8080 WebUI\RootFolder=/home/debian/nightwalker WebUI\SecureCookie=true WebUI\ServerDomains=* WebUI\SessionTimeout=3600 WebUI\UseUPnP=true WebUI\Username=admin [RSS] AutoDownloader\DownloadRepacks=true AutoDownloader\SmartEpisodeFilter=s(\\d+)e(\\d+), (\\d+)x(\\d+), "(\\d{4}[.\\-]\\d{1,2}[.\\-]\\d{1,2})", "(\\d{1,2}[.\\-]\\d{1,2}[.\\-]\\d{4})" ``` qBittorrent.log: ``` (C) 2022-06-20T16:49:45 - File sizes mismatch for torrent 'Ed Sheeran - Divide (Deluxe Edition) [24Bits - HDTracks]'. Cannot proceed further. (C) 2022-06-20T16:49:54 - File sizes mismatch for torrent 'Ed Sheeran - Divide (Deluxe Edition) [24Bits - HDTracks]'. Cannot proceed further. (C) 2022-06-20T16:49:56 - File sizes mismatch for torrent 'Ed Sheeran - Divide (Deluxe Edition) [24Bits - HDTracks]'. Cannot proceed further. (I) 2022-06-20T16:52:43 - UPnP / NAT-PMP support [OFF] ```
Author
Owner

@glassez commented on GitHub (Jun 21, 2022):

@qbittorrent/bug-handlers
Could someone test and confirm exact conditions of this bug?

When I upload torrent (first time) and click to skip hash check, I get error about missing files

Are you sure you correctly point torrent to existing files?
Are you sure the files you pointed torrent to do actually match the torrent?

@glassez commented on GitHub (Jun 21, 2022): @qbittorrent/bug-handlers Could someone test and confirm exact conditions of this bug? >When I upload torrent (first time) and click to skip hash check, I get error about missing files Are you sure you correctly point torrent to existing files? Are you sure the files you pointed torrent to do actually match the torrent?
Author
Owner

@thalieht commented on GitHub (Jun 21, 2022):

I can't reproduce but maybe i misunderstood the steps...

  1. click upload

Don't know where is that "upload".

@thalieht commented on GitHub (Jun 21, 2022): I can't reproduce but maybe i misunderstood the steps... >3. click upload Don't know where is that "upload".
Author
Owner

@EsmailELBoBDev2 commented on GitHub (Jun 21, 2022):

Upload torrents button
Screenshot_20220621_125907

@EsmailELBoBDev2 commented on GitHub (Jun 21, 2022): Upload torrents button ![Screenshot_20220621_125907](https://user-images.githubusercontent.com/28893833/174784093-08571bd6-bb60-43cf-ae8c-19ec5fda3ebb.png)
Author
Owner

@glassez commented on GitHub (Jun 21, 2022):

Don't know where is that "upload".

@EsmailELBoBDev2 forgot to indicate that we are talking about a WebUI 😕

@glassez commented on GitHub (Jun 21, 2022): > Don't know where is that "upload". @EsmailELBoBDev2 forgot to indicate that we are talking about a WebUI 😕
Author
Owner

@xavier2k6 commented on GitHub (Jun 21, 2022):

forgot to indicate that we are talking about a WebUI

This kind of thing was brought up before.....will need to change forms, consider it on my ToDo list.

@xavier2k6 commented on GitHub (Jun 21, 2022): >forgot to indicate that we are talking about a WebUI This kind of thing was brought up before.....will need to change `forms`, consider it on my `ToDo` list.
Author
Owner

@EsmailELBoBDev2 commented on GitHub (Jun 21, 2022):

@EsmailELBoBDev2 forgot to indicate that we are talking about a WebUI confused

my bad 😅

This kind of thing was brought up before.....will need to change forms, consider it on my ToDo list.

so it's a legit bug, glad I helped (I guess?)

@EsmailELBoBDev2 commented on GitHub (Jun 21, 2022): > @EsmailELBoBDev2 forgot to indicate that we are talking about a WebUI confused my bad :sweat_smile: > This kind of thing was brought up before.....will need to change forms, consider it on my ToDo list. so it's a legit bug, glad I helped (I guess?)
Author
Owner

@glassez commented on GitHub (Jun 21, 2022):

@EsmailELBoBDev2
Wouldn't you mind to answer the questions from https://github.com/qbittorrent/qBittorrent/issues/17248#issuecomment-1161547651?

@glassez commented on GitHub (Jun 21, 2022): @EsmailELBoBDev2 Wouldn't you mind to answer the questions from https://github.com/qbittorrent/qBittorrent/issues/17248#issuecomment-1161547651?
Author
Owner

@xavier2k6 commented on GitHub (Jun 21, 2022):

This kind of thing was brought up before.....will need to change forms, consider it on my ToDo list.

so it's a legit bug, glad I helped (I guess?)

Apologies for the confusion, no - I was replying to glassez (should have made that clear with an @ mention) about our ticket submission forms, it's unrelated to what you are experiencing.

@xavier2k6 commented on GitHub (Jun 21, 2022): >> This kind of thing was brought up before.....will need to change forms, consider it on my ToDo list. > >so it's a legit bug, glad I helped (I guess?) Apologies for the confusion, no - I was replying to glassez (should have made that clear with an @ mention) about our ticket submission forms, it's unrelated to what you are experiencing.
Author
Owner

@EsmailELBoBDev2 commented on GitHub (Jun 21, 2022):

oh sorry did not see it

Are you sure you correctly point torrent to existing files?
Are you sure the files you pointed torrent to do actually match the torrent?

No I add torrent for first time? maybe it's why but I remember did it in the old version and worked fine


Ah, it's okay @xavier2k6

@EsmailELBoBDev2 commented on GitHub (Jun 21, 2022): oh sorry did not see it > Are you sure you correctly point torrent to existing files? > Are you sure the files you pointed torrent to do actually match the torrent? No I add torrent for first time? maybe it's why but I remember did it in the old version and worked fine ___ Ah, it's okay @xavier2k6
Author
Owner

@thalieht commented on GitHub (Jun 21, 2022):

Can't reproduce from WebUI either.

@thalieht commented on GitHub (Jun 21, 2022): Can't reproduce from WebUI either.
Author
Owner

@glassez commented on GitHub (Jun 21, 2022):

No I add torrent for first time

"Skip hash check" is intended for seeding existing data.

maybe it's why but I remember did it in the old version and worked fine

IIRC, there was added some kind of protection against unscrupulous users who want to improve their rating on the tracker without really having the data being seeded. So maybe you fell under it.

@glassez commented on GitHub (Jun 21, 2022): > No I add torrent for first time "Skip hash check" is intended for seeding existing data. >maybe it's why but I remember did it in the old version and worked fine IIRC, there was added some kind of protection against unscrupulous users who want to improve their rating on the tracker without really having the data being seeded. So maybe you fell under it.
Author
Owner

@glassez commented on GitHub (Jun 21, 2022):

Can't reproduce from WebUI either.

Did you try to add torrent with "Skip hash check" enabled having no corresponding files on disk?

@glassez commented on GitHub (Jun 21, 2022): > Can't reproduce from WebUI either. Did you try to add torrent with "Skip hash check" enabled having no corresponding files on disk?
Author
Owner

@EsmailELBoBDev2 commented on GitHub (Jun 21, 2022):

IIRC, there was added some kind of protection against unscrupulous users who want to improve their rating on the tracker without really having the data being seeded. So maybe you fell under it.

I did it because my experience with other clients they used to take so long to check for torrent I added for first time so this is why I used to disable hash check

Did you try to add torrent with "Skip hash check" enabled having no corresponding files on disk?

Hmm, will try this and let you know

@EsmailELBoBDev2 commented on GitHub (Jun 21, 2022): > IIRC, there was added some kind of protection against unscrupulous users who want to improve their rating on the tracker without really having the data being seeded. So maybe you fell under it. I did it because my experience with other clients they used to take so long to check for torrent I added for first time so this is why I used to disable hash check > Did you try to add torrent with "Skip hash check" enabled having no corresponding files on disk? Hmm, will try this and let you know
Author
Owner

@glassez commented on GitHub (Jun 21, 2022):

Did you try to add torrent with "Skip hash check" enabled having no corresponding files on disk?

Hmm, will try this and let you know

This was a comment for @thalieht.
I suppose you did it so you have this issue.

I did it because my experience with other clients they used to take so long to check for torrent I added for first time so this is why I used to disable hash check

If you add torrent for the first time and you have no existing files corresponding to this torrent then there is nothing to hash check, isn't it?

@glassez commented on GitHub (Jun 21, 2022): > > Did you try to add torrent with "Skip hash check" enabled having no corresponding files on disk? > > Hmm, will try this and let you know This was a comment for @thalieht. I suppose you did it so you have this issue. > I did it because my experience with other clients they used to take so long to check for torrent I added for first time so this is why I used to disable hash check If you add torrent for the first time and you have no existing files corresponding to this torrent then there is nothing to hash check, isn't it?
Author
Owner

@thalieht commented on GitHub (Jun 21, 2022):

Did you try to add torrent with "Skip hash check" enabled having no corresponding files on disk?

Why would i do that? Anyway. yes accidentally (wrong save path) and i got error from OP.

@thalieht commented on GitHub (Jun 21, 2022): >Did you try to add torrent with "Skip hash check" enabled **having no corresponding files on disk**? Why would i do that? Anyway. yes accidentally (wrong save path) and i got error from OP.
Author
Owner

@xavier2k6 commented on GitHub (Jun 21, 2022):

having no corresponding files on disk

Recreated with main application & didn't test WebUI

4.4.3.1

21/06/2022 14:21 - File sizes mismatch for torrent 'OpenShot-v2.6.1-x86_64.exe'. Cannot proceed further.
21/06/2022 14:21 - 'OpenShot-v2.6.1-x86_64.exe' added to download list.

master

21/06/2022 14:25 - Added new torrent. Torrent: "gimp-2.10.22-setup.exe"
21/06/2022 14:25 - Failed to restore torrent. Files were probably moved or storage isn't accessible. Torrent: "gimp-2.10.22-setup.exe". Reason: "gimp-2.10.22-setup.exe fast resume rejected. file_stat(G:\gimp-2.10.22-setup.exe): mismatching file size"

@xavier2k6 commented on GitHub (Jun 21, 2022): >**having no corresponding files on disk** Recreated with main application & didn't test `WebUI` `4.4.3.1` >21/06/2022 14:21 - File sizes mismatch for torrent 'OpenShot-v2.6.1-x86_64.exe'. Cannot proceed further. 21/06/2022 14:21 - 'OpenShot-v2.6.1-x86_64.exe' added to download list. `master` >21/06/2022 14:25 - Added new torrent. Torrent: "gimp-2.10.22-setup.exe" 21/06/2022 14:25 - Failed to restore torrent. Files were probably moved or storage isn't accessible. Torrent: "gimp-2.10.22-setup.exe". Reason: "gimp-2.10.22-setup.exe fast resume rejected. file_stat(G:\gimp-2.10.22-setup.exe): mismatching file size"
Author
Owner

@ghost commented on GitHub (Jun 21, 2022):

This is an invalid issue. Skip hash check is meant for use when you have the files on disk and ask the client to trust the files without hash checking.

@ghost commented on GitHub (Jun 21, 2022): This is an invalid issue. Skip hash check is meant for use when you have the files on disk and ask the client to trust the files without hash checking.
Author
Owner

@EsmailELBoBDev2 commented on GitHub (Jun 21, 2022):

If you add torrent for the first time and you have no existing files corresponding to this torrent then there is nothing to hash check, isn't it?

I used deluge and other clients (maybe old versions too) and all used to check for long time yes

This was a comment for @thalieht.
I suppose you did it so you have this issue.

I'm started to get lost here 😂


oh okay it works with already downloaded files. You are right, I opened this issue because as I said on old version it used to work fine but now it fails so I thought maybe it's bug or something but it works

@EsmailELBoBDev2 commented on GitHub (Jun 21, 2022): > If you add torrent for the first time and you have no existing files corresponding to this torrent then there is nothing to hash check, isn't it? I used deluge and other clients (maybe old versions too) and all used to check for long time yes > This was a comment for @thalieht. I suppose you did it so you have this issue. I'm started to get lost here :joy: ___ oh okay it works with already downloaded files. You are right, I opened this issue because as I said on old version it used to work fine but now it fails so I thought maybe it's bug or something but it works
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#13556
No description provided.