[Bug]: Reading 2 GB file from a public link share ends over and over after 1 GB #32731
Closed
5 of 8 tasks
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
feature: object storage
needs info
Bug description
While trying to read a 2GB file in shared directory (via public link) the transfer breaks after 1 GB (over and over). The source file is located in object storage (Swift). The source file is not corrupted, can be downloaded from the Swift storage.
When I impersonate the user sharing the directory and navigate to the source folder and download the 2GB file from it - the same happens.
Steps to reproduce
wget
Expected behavior
File should be downloaded correctly.
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.3
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
No response
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
Additional info
To me it seems:
readfilePart()
inlib/private/legacy/OC_Files.php
and tries to locate the file on local disk instead in the object storenull
file descriptor and negative lengthSide note - i keep NC to 22.2.5 as this is still generaly working version, any future version have broken
php-opencloud
(see nextcloud/3rdparty#710)The text was updated successfully, but these errors were encountered: