S3 external storage: Cannot rename >5 GB files #24540
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
26-feedback
bug
feature: external storage
feature: object storage
How to use GitHub
Steps to reproduce
Expected behaviour
File should be renamed.
Actual behaviour
An error occurs and file is not renamed. Two error messages are logged (see below for details), the more important being:
Aws\S3\Exception\S3Exception: Error executing "CopyObject" [...] resulted in a
400 Bad Request
response [...] InvalidRequest (client): The specified copy source is larger than the maximum allowable size for a copy source: 5368709120 [...]Server configuration
Operating system: Ubuntu Server 20.04.1 LTS
Web server: Nginx 1.18.0
Database: PostgreSQL 12.5
PHP version: 7.4.3
Nextcloud version: 19.0.5
Updated from an older Nextcloud/ownCloud or fresh install: Originally installed at version 14 or 15
Where did you install Nextcloud from: Downloaded from nextcloud.com
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: AWS S3 object storage
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Microsoft Edge 87.0.664.52 (Official build) (64-bit), Firefox 83.0
Operating system: Windows 10
Logs
Web server error log
No errors in nginx error log.
Nextcloud log (data/nextcloud.log)
Nextcloud log
Additional information
As far as I understand, a CopyObject action is limited to files under 5 GB and should not be used here, see:
https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
Unfortunately I don't have the knowledge needed to try to fix this myself.
The text was updated successfully, but these errors were encountered: