client icon indicating copy to clipboard operation
client copied to clipboard

Sync broken due to stopping another sync

Open PatrykRzadzinski opened this issue 12 years ago • 6 comments

Hello,

I've encountered a bug with the latest stable version of mirall. Here is how I got to it:

  1. Copy a large folder to the owncloud-synced folder, it starts syncing to server, but doesn't finish, I power the PC down before it had finished.
  2. I start another device synced to the same server. It starts downloading the new folder.
  3. On the second device I add a new file to the folder that is being synced (before sync finished).

From this moment there are 3 versions of the folder: full on PC1, partial on the server and part-of-partial+1new-file on the PC2. Regardless of what I do, it does not try to resolve this situation. What can be done?

PatrykRzadzinski avatar Feb 28 '14 14:02 PatrykRzadzinski

What version of the client? Could you provide the logs? You can use this template to report bugs: https://raw.github.com/owncloud/mirall/master/issue_template.md

ogoffart avatar Mar 07 '14 11:03 ogoffart

No problem. Unfortunately as I am changing jobs I had to release my PC2, however PC1 and Server are still mine. In any case the problematic directory is games/QW, the rest has been unchanged for a long time. Here are the details:

Server configuration

Operating system: CentOS 6.5 x64

Web server: nginx version: nginx/1.0.15 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) TLS SNI support enabled

Database: mysql Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline 5.1

PHP version: php-5.3.3-27.el6_5

ownCloud version: 1.6.0.1 from tarball (not from rhel repo)

Storage backend: ext4 filesystem

Client configuration

Client version: mirall-1.5.1

Operating system: Gentoo x64

OS language: en_US

Installation path of client: default

Logs

Server logs from the time client was restarted: https://gist.github.com/faustov/46edfdd87aea1773621d

Owncloud.log: file has last entry from few weeks ago.

Client log: https://gist.github.com/faustov/d15775fa45ee5994ae4b

PatrykRzadzinski avatar Mar 07 '14 13:03 PatrykRzadzinski

@faustov Is it still happening?

luciamaestro avatar Sep 30 '14 11:09 luciamaestro

I bet this is fixed with clients > 1.6 because the sync journal is written directly after a file was propagated. That wasn't the case before.

dragotin avatar Sep 30 '14 11:09 dragotin

So I will close it if anyone is able to reproduce please reopen it, thx.

luciamaestro avatar Sep 30 '14 11:09 luciamaestro

It did not happen again. Yes, please reopen if someone comes across this again. Thank you for fixing!

PatrykRzadzinski avatar Sep 30 '14 11:09 PatrykRzadzinski