Skip to content

Nextcloud Sync writes corrupted files when paused #10074

@eskopp

Description

@eskopp

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

Bug description

Hello Community,
I have a lot of images and PDF files in my Nextcloud. Since I pressed “Pause” during the download, it stopped syncing as expected. But the file it was in the middle of writing was corrupted. It was no longer readable. This is currently happening on all devices and operating systems. As soon as something happens—like an internet disconnection or I press pause—the current file isn’t written to completion properly. This renders the files unusable.
The Nextcloud client just keeps showing a message saying there was an error and that I should contact the admin. But I'm the admin :)

Steps to reproduce

  1. Right click on the file
  2. Click on Share Options
  3. The share dialog does not display the option to share by e-mail
    ...

Expected behavior

  1. Host a Nextcloud instance
  2. Upload a large number of files
  3. Start the download via the client.
  4. Disconnect from the internet or pause the download partway through
  5. Notice that 1–3 files are corrupted

Which files are affected by this bug

The latest from the current download

Operating system

Linux

Which version of the operating system you are running.

Arch, Fedora, Debian and Win 11

Installation method

Official Linux AppImage

Nextcloud Server version

33

Nextcloud Desktop Client version

33

Did this occur after an update or on a clean installation?

Clean desktop client installation

Are you using the Nextcloud Server Encryption module?

No

Are you using an external user-backend?

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

Nextcloud Server logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions