-
-
Couldn't load subscription status.
- Fork 4.6k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap32-feedbackbugfeature: object storage
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Duplication/copy of a non-zero sized folder with any subfolders results in a folder whose size is reported as 0 KB. All the subfolders of this new folder are also 0 KB in size, but the files are reported as correctly sized.
This problem only happens with the folders with subfolders, not with folders with only files or just files.
Object storage was used in this case with S3 (MinIO) as the provider.
configuration used:
'objectstore' => [
'class' => '\\OC\\Files\\ObjectStore\\S3',
'arguments' => [
'bucket' => 'store-nc',
'hostname' => 'minio',
'key' => 'xxx',
'secret' => 'xxx',
'port' => 9000,
'use_ssl' => false,
'use_path_style' => true,
],
],Steps to reproduce
- Upload a folder with at least one subfolder and some files
- Copy the folder in the same directory
Expected behavior
Both the original and the "original (copy)" folders have the same size, but only the original folder has the correct size reported.
Nextcloud Server version
master
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap32-feedbackbugfeature: object storage