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

Files become zero size when sync dropped due to network issues #1323

Closed
EukalyptusX opened this issue Jul 2, 2019 · 7 comments
Closed

Files become zero size when sync dropped due to network issues #1323

EukalyptusX opened this issue Jul 2, 2019 · 7 comments
Labels

Comments

@EukalyptusX
Copy link

EukalyptusX commented Jul 2, 2019

### Expected behaviour
After the connection to the server dropped while syncing, the files which were not downloaded correctly should be deleted and re-downloaded.

### Actual behaviour
Files, which were downloaded incompletely, become corrupt and stay empty (zero bytes). Although it says later "successful", when the sync finished.

### Steps to reproduce

  1. Sync tons of pictures.
  2. Drop the connection while syncing. (It needs to be a timeout!)
  3. Reconnect.
  4. Force sync.
  5. After finished sync ("successful sync"): See files with sizes of zero bytes on the client. (On Linux: "find . -size 0 -print")

### Client configuration
Client version: 2.5.2git
Operating system: Fedora x64 Workstation
OS language: German
Qt version used by client package (Linux only, see also Settings dialog): Qt 5.12.1
Client package (From Nextcloud or distro) (Linux only): Distro (Official Repo)

Installation path of client: /usr/bin/nextcloud

### Server configuration
Nextcloud version: 15.0.8

@EukalyptusX
Copy link
Author

Ok, I think it's related to this: Issue-7995

I just didn't saw that earlier and thought it happened due to the network issue.

@enoch85
Copy link
Member

enoch85 commented Jul 7, 2020

This is serious and should be looked at.

Just noticed the same issue for like 400 files (mostly pictures) that dates back so long that I don't have a recent backup. :(

@ferdiga
Copy link

ferdiga commented Nov 8, 2020

desktop sync tries unsuccessfully to download (sync) the file and reports "file_downloaded" in oc_activities for every try.
NC 19.0.4
the image file was taken on a Samsung Galaxy S10+ , a found the file size to be 0 Bytes, nevertheless it was somehow synced to the cloud and causes problems there.
probably an Android client issue too.

@github-actions

This comment was marked as outdated.

@github-actions github-actions bot added the stale label May 6, 2021
@enoch85
Copy link
Member

enoch85 commented May 6, 2021

Still an issue.

@github-actions github-actions bot removed the stale label May 7, 2021
@FlexW FlexW added the approved bug approved by the team label May 7, 2021
@enoch85
Copy link
Member

enoch85 commented Sep 14, 2021

Just curious, any update on this issue? Planned soon, or just approved (could happen in years).

Thanks!

@joshtrichards
Copy link
Member

Duplicate of nextcloud/server#7995

@joshtrichards joshtrichards marked this as a duplicate of nextcloud/server#7995 Aug 16, 2024
@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants