I am using S3 for primary object storage and am unable to upload any file larger than 100MB. If I attempt to do so via Windows or the web interface, the upload errors out and I am left with a file with the proper name but a '.part' suffix. This worked in prior versions of Nextcloud.
I am able to upload files of any size to a local linux folder I have mounted as external storage via the web interface, so I know this is only affecting my S3 storage.
Steps to reproduce
Attempt to upload a file larger than 100MB via web interface or dropping it into a synced Windows folder.
Wait.
Read error message.
Expected behavior
Files of any reasonable size should be uploaded as a complete file with no errors.
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
⚠️ This issue respects the following points: ⚠️
Bug description
I am using S3 for primary object storage and am unable to upload any file larger than 100MB. If I attempt to do so via Windows or the web interface, the upload errors out and I am left with a file with the proper name but a '.part' suffix. This worked in prior versions of Nextcloud.
I am able to upload files of any size to a local linux folder I have mounted as external storage via the web interface, so I know this is only affecting my S3 storage.
Steps to reproduce
Expected behavior
Files of any reasonable size should be uploaded as a complete file with no errors.
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
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
In config.php I have: 'uploadPartSize' => 104857600
In PHP.ini I have: upload_max_filesize = 16G post_max_size = 16G enable_post_data_reading = On
In MultipartUploader.php I have: const PART_MIN_SIZE = 5242880; const PART_MAX_SIZE = 5368709120; const PART_MAX_NUM = 10000;
In S3ConnectionTrait.php I have: $this->timeout = $params['timeout'] ?? 15; $this->uploadPartSize = $params['uploadPartSize'] ?? 104857600; $this->putSizeLimit = $params['putSizeLimit'] ?? 104857600;