Open infra-monkey opened 2 days ago
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: https://github.com/nextcloud/server/pull/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. I'll do more thorough tests tonight
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
``` Insert your webserver log here ```Nextcloud log (data/nextcloud.log)
Nextcloud log
``` Insert your Nextcloud log here ```Browser log
Browser log
``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```