Hello!
• Nextcloud Server version: 30.0.5-fpm
• Operating system and version: Docker image (service deployed in Kubernetes using Helm chart)
• Web server and version: Nginx Alpine
• Reverse proxy and version: No
• PHP version: 8.2.27
• Is this the first time you’ve seen this error?: Yes
• When did this problem seem to first start?: Today, 21.01.2025, after updating from version 30.0.2-fpm to 30.0.5-fpm.
• Installation method: Helm upgrade
• Are you using Cloudflare, mod_security, or similar?: No, but using S3 for file storage.
Summary of the issue you are facing
After updating from version 30.0.2-fpm to 30.0.5-fpm, files larger than 8 GB fail to upload via the UI. The upload process is interrupted, and errors are logged related to S3 storage and missing keys. These issues were not present in version 30.0.2-fpm.
Steps to replicate it (hint: details matter!)
-
Attempt to upload a file of 8 GB via the Nextcloud UI.
-
Observe the failure and the logged errors related to S3 storage.
Log entries
Nextcloud
open(https://s3-basket-/disk/urn%3Aoid741): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
at /var/www/html/lib/private/Files/ObjectStore/S3ObjectTrait.php#72
Exception
Failed to read object urn:oid:7741
Could not get object urn:oid:7741 for file uploads/web-file-upload-c2caceb/256
RuntimeException
Unable to read from stream
Could not create object urn:oid:7929 for files/RET_A64FRE_ru-ru.iso
RuntimeException
Unable to read from stream
S3Exception
Error executing “CopyObject” on “https://s3-basket/disk/urn%3Aoid1”; AWS HTTP error: Client error: PUT https:*//s3-basket/disk/urn%3Aoid%31
resulted in a 404 Not Found
response: <?xml version="1.0" encoding="UTF-8"?> NoSuchKey
The specified key does not exist.</Me (truncated…) NoSuchKey (client): The specified key does not exist. - <?xml version="1.0" encoding="UTF-8"?> NoSuchKey
The specified key does not exist. *
Exception thrown: Aws\S3\Exception\S3Exception
DoesNotExistException
Did expect one result but found none when executing: query “SELECT * FROM *PREFIX*files_versions
WHERE (file_id
= :dcValue1) AND (timestamp
= :dcValue2)”;
Exception thrown: OCP\AppFramework\Db\DoesNotExistException
Web server / Reverse Proxy
Nginx Configuration
client_max_body_size 20G;
fastcgi_buffers 64 4K;
proxy_buffering off;
proxy_request_buffering off;