Skip to content
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

[Bug]: AWS-S3 > moving data between shares of different accounts > data corruption #7689

Open
5 of 8 tasks
mrAceT opened this issue Dec 20, 2024 · 1 comment
Open
5 of 8 tasks

Comments

@mrAceT
Copy link

mrAceT commented Dec 20, 2024

⚠️ Before submitting, please verify the following: ⚠️

Bug description

I have an uptodate nextcloud setup (30.0.4) running AWS S3 as main data storage.

Moving a file in my Windows shared folder results in data corruption!

Steps to reproduce

  1. Set up a maiden Nextcloud setup with AWS-S3 as main storage
  2. Create two users
  3. Create a shared folder in User 'B' for user 'A'
  4. use the windows desktop app to create a cloud drive, using user 'A'
  5. place a file somewhere (NOT in the share)
  6. move the file to the shared folder

Mayhem!

There is a a 'urn:oid:...' for the new user, but the file is of zero size.
In the web interface I do see the image preview of the file.
[update]But downloading is impossible[/update]

So I am expecting a "owner transfer" is attempted, but failed somehow. In the AWS-S3 structure that would be ideal, using the same urn:oid would be the nicest way to do this.. but something is clearly going wrong!

This bug makes moving files in AWS-S3 from and to shares extremely dangerous!

Expected behavior

just move the file!

Which files are affected by this bug

files being moved from and to a shared folder

Operating system

Windows

Which version of the operating system you are running.

Windows 10

Package

Official Linux AppImage

Nextcloud Server version

30.0.4 (also in 29, and I'm quite sure this happened to me in 28 also)

Nextcloud Desktop Client version

3.15.2

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Additional info

No response

@mrAceT mrAceT changed the title [Bug]: moving data between shares on different accounts [Bug]: AWS-S3 > moving data between shares of different accounts > data corruption Dec 20, 2024
@mrAceT
Copy link
Author

mrAceT commented Dec 20, 2024

I tried restarting the desktop app in Windows, no luck
I tried updating from 29 to 30, no luck

Luckily I still had a backup of the corrupted files and removed the files (only possible in the web interface), emptied the trash and added the files again to the folder in windows, from a local (non nextcloud) folder. Did a sync again and everything was working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant