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

Nextcloud sometimes decides 0Kb placeholder files should replace other files. #6152

Closed
Windyo opened this issue Aug 16, 2017 · 3 comments
Closed

Comments

@Windyo
Copy link

Windyo commented Aug 16, 2017

Steps to reproduce

  1. Set up a new Nextcloud instance
  2. Transfer local data (a lot of files of varying sizes is needed, as the bug only appears on select instances) to the drive that Nextcloud will be using
  3. Launch occ scan
  4. Point the Nextcloud client to the folder where the data was originally from
  5. Wait for all ongoing operations to finish, then launch a client sync.

Expected behaviour

  1. Client should find files equal, mark sync done, and finish sync operation with no file transfers.

Actual behaviour

  1. Client does not recognize equal files and procedes to download/upload them
  2. Client sometimes decides that the server version is better and overwrittes local file. About 60% of these overwritten files are 0Kb files
  3. Client then reuploads the 0Kb file, replacing the valid file on server.
  4. Data is lost.

Server configuration

Operating system:
NextCloudPi

Web server:
Raspberry Pi 3

Database:
MariaDB 10

PHP version:
PHP 7.0

Nextcloud version: (see Nextcloud admin page)
12.0.1

Updated from an older Nextcloud/ownCloud or fresh install:
Fresh

Where did you install Nextcloud from:
https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/

Are you using external storage, if yes which one: local/smb/sftp/...
no

Are you using encryption:
no

Are you using an external user-backend, if yes which one:
no

@MorrisJobke
Copy link
Member

This only happens on the client itself? On the server there is still the properly sized version?

cc @rullzer @pfiff45

@MorrisJobke MorrisJobke added the bug label Sep 4, 2017
@Windyo
Copy link
Author

Windyo commented Sep 4, 2017

Both. On files affected, client will replace both client and server with 0kb files.

@nextcloud-bot nextcloud-bot added the stale Ticket or PR with no recent activity label Jun 20, 2018
@Windyo
Copy link
Author

Windyo commented Oct 3, 2018

I'm going to close this as i can't reproduce this now and couldn't reproduce it for some time.

@Windyo Windyo closed this as completed Oct 3, 2018
@nextcloud-bot nextcloud-bot removed the stale Ticket or PR with no recent activity label Oct 3, 2018
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

3 participants