-
-
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
Large files (>10MB) on S3 primary storage are lost when uploaded to group folder #48481
Comments
Not groupfolder specific, this is an S3 issue. |
I have the same issue with Nextcloud 29.0.7 on Debian 12, PHP 8.2 without Docker, using OVH Object Storage (their backend is not MinIO as far as I know). On a Nextcloud 28.0.9 with Group Folders 16.0.10 and MinIO, the issue is not present. |
@fcharlaix-opendsi would you mind opening a support ticket? If the problem occurs with 29.0.7, but not 28.0.9 then a relevant change is: #46013 A way to test that could be to comment the moveFromStorage method in ObjectStoreStorage to use, as before the patch, just the default implemention. Note this will reintroduce the issue that were fixed by it. |
@kesselb in v30.0.0 commenting out the method and restarting the container seems to fix this issue. |
Hi @infra-monkey Thanks |
@Mika-6-9 I have uploaded successfully 40+ big files since. No issue. Any particular use case to test? |
I still have a weird issue.
moving between subfolders of the same group folder works correctly. |
Thanks for your feedback, but I'm not sure this is viable for a production release. |
Not sure to understand what you mean.
Thanks for your feedback, but I'm not sure this is viable for a production release.
—
Reply to this email directly, view it on GitHub , or unsubscribe .
You are receiving this because you were mentioned. Message ID: <nextcloud/server/issues/48481/2397508653 @ github . com>
|
My setup includes: My errors (after upgrade from Nextcloud 28.0.9) include:
I'm willing to test any potential fixes with my configuration if that would help. |
I ran the test you suggested and commented out the changes from #46013. Here are my results: Large File Upload to User Root Directory (Sync): Success (as before) I'm leaving this code commented out on my server for now, since the incorrect notification is not a breaking change. |
Update: I just upgraded to Nextcloud 29.0.8 and ran most of the tests above. It is all working correctly without any manual code changes on my part. I no longer need to comment out the #46013 code! |
Seems to be fixed in 30.0.1 also. |
How to use GitHub
Steps to reproduce
Expected behaviour
Object should be present
Actual behaviour
I can see that The file is written on the backend

Nextcloud logs show
Uploading to a regular user folder works perfectly well.
Moving a large file from a user folder to a group folder looses the file also.
However, copying a large file from a user folder to a group folder works. The file is accessible from the group folder.
Files <10MB don't seem to show the same behavior.
Server configuration
Operating system:
docker container
Web server:
nginx
Database:
postgresql 15
PHP version:
8.2
Nextcloud version: (see Nextcloud admin page)
29.0.7 & 30.0.0
Group folders version:
17.0.4 & 18.0.2
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from older versions
Where did you install Nextcloud from:
Are you using external storage, if yes which one: local/s3/smb/sftp/...
primary storage is S3 minio
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/Saml/...
OAuth2
Client configuration
Browser:
Firefox/chrome/brave
Operating system:
Linux Leap or Fedora
Logs
No error during upload, but when trying to access the file I get this :
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: