-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: 0x800701AA and 0x80070185 resulting in error 404 and not being able to download file thru client #50601
Comments
This looks like a rather strange request. Is |
Hello, I request that file because this is the request VFS is sending to nextcloud. Edit: I just reset my PC, nextcloud log me out from the account that was having issue with that one file, sadly now it works. |
|
@kesselb then tell my if thats a invalid file ID why file don't work server return different response than when the file works, while asking server for the same INVALID FILE ID ? When file was not working: when file started to work the same curl: |
Hi, Thanks for your follow-up. It seems I misunderstood your initial report. Are you saying that for the same file, the first request for a preview fails, but a second request for the preview succeeds? You also mentioned that it’s not possible to open the file using VFS when the preview is available. That still seems like an issue for the desktop team, as a missing preview should not block downloading a local copy of the file. Regarding the fileId, we have a type hint in place to ensure it is an integer, so the preview generation should still work even if other characters are included—they're simply dropped. However, it does seem odd that something resembling an instanceid is part of the fileId. I'll reopen the issue, but with the current information, it feels a bit like finding a needle in a haystack. Please keep us updated if you uncover anything new! |
Haven't looked closely, but this reminds me of what I recently dealt with for nextcloud/android#14081 |
The issue is that the fileId exists but for unknown reason server returns It's not about wrong fileID sadly |
Bug description
Some random files are not available to query thru "index.php/core/preview?fileId=00161436ocad9kxu2atw&x=96&y=96&a=true" with results of
[]
which results in those files not being able to download using client.Apache2 log say it results in 404
192.168.51.1 - "" [31/Jan/2025:18:43:44 +0100] "GET /index.php/core/preview?fileId=00161436ocad9kxu2atw&x=96&y=96&a=true HTTP/1.1" 404 814 "-" "Mozilla/5.0 (Windows) mirall/3.15.3 (build 20250107) (Nextcloud, windows-10.0.22621 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Files is data folder, file is in database
SELECT * FROM oc_filecache WHERE fileid = '00161436ocad9kxu2atw';
return:
| 161436 | 22 | files/Prezenty dla pilotów/2025/AM010124 TAD.pdf | 6a6a0cfc59b4283f35665c032adb9071 | 161433 | AM010124 TAD.pdf | 8 | 7 | 2769270 | 1735830474 | 1735830474 | 0 | 0 | e6f59e957e31b79afb5c91b61debc343 | 27 |
I store data on mounted path via NFS
cd /mnt/nas/
find . -name "AM010124 TAD.pdf"
file is located: /mnt/nas/a.m/files/Prezenty dla pilotów/2025/AM010124 TAD.pdf
Requesting it this way:
curl -u "administrator:password" -X PROPFIND "https://cloud.FQDN.com/remote.php/dav/files/administrator/Prezenty%20dla%20pilot%C3%B3w/2025/AM010124%20TAD.pdf"
give me this results:
I tried file scan:
sudo sudo -c "php /var/www/nextcloud/occ files:scan a.m" www-data -s /bin/bash
returns:
but that didn't help
this issue was present on 29.x and is also present on 30.x
Steps to reproduce
Expected behavior
being able to download files that is on nextcloud
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
nextcloud/desktop#7747
does not help
Adding my ip to bruteforce-setting list does not help:
Your remote address was identified as "192.168.51.1" and is bypassing brute-force protection.
The text was updated successfully, but these errors were encountered: