Skip to content

Conflict files abound after removing then adding same directory #18

Closed

Description

@MTRichards

The sync client no longer crashes after upgrading to 1.1.1, but we have stumbled upon a pretty serious problem.

This is basically how to reproduce the problem:

  1. You set up a sync folder to sync your local "My documents" folder to a folder named "remote_documents" on ownCloud.
  2. The sync finishes successfully and all is well.
  3. You remove the sync folder again.
  4. You decide that you want to start syncing the folder again, so you add a sync folder that starts syncing "My documents" with "remote_documents" on ownCloud again.
  5. After running for a bit, your local "My documents" will become littered with conflict files.

Is this happening by design? The conflict files look identical to those on the ownCloud server.

In addition to this, I also discovered that one of the synced files had become corrupt. In the synced folder I had these files after doing the reproduction steps describe above:
owncloud-1.1.1-setup.exe (6648 kB)
owncloud-1.1.1-setup_conflict-20121023-151712.exe (7655 kB)

You can see that the file size is different. owncloud-1.1.1-setup.exe had become corrupt, and the one with conflict in its name was working. I have no idea how this happened. Maybe one of the files weren't downloaded correctly.

I think it's a bit scary that the client doesn't warn the user about these things. Also, which file is the "original" file? Is it the conflict file, or is it the file with the original file name?

Activity

  1. ghost assigned on Oct 23, 2012
  2. RandolfCarter commented on Oct 25, 2012

    @RandolfCarter

    This (or a pretty similar) issue has been reported and discussed numerous times on the community forum already (http://forum.owncloud.org/viewtopic.php?f=3&t=2223, http://forum.owncloud.org/viewtopic.php?f=3&t=2552, http://forum.owncloud.org/viewtopic.php?f=14&t=3265, http://forum.owncloud.org/viewtopic.php?f=3&t=4582).
    Also, there is an open issue on the old bugtracker (http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1172)

    It isn't only happening in this special situation described above - from the bug description I gather that it happens as soon as you have a sufficiently large shared directory.

    This seems to be a very serious issue - is it being worked on? Such an issue is definitely a showstopper.

    I can very well understand the guy from the last mentioned forum thread saying that this could be a reason for them stopping owncloud implementation in their company...

  3. danimo commented on Oct 25, 2012

    @danimo
    Contributor

    Yes, and it should have been dealt with in 1.1.1. I am currently trying to reproduce it.

  4. danimo commented on Oct 25, 2012

    @danimo
    Contributor

    Sorry, last comment (now removed) ended up in the wrong place, please ignore.

  5. kalinjul commented on Oct 27, 2012

    @kalinjul

    Just tried to reproduce with 1.1.1.
    After the steps mentioned by danimo, i have indeed a conflict file, but only on the ownCloud server, not on the synced client dir. Don't know if that's intended behaviour...

    It's not corrupt however, but that could be another issue.

    Btw, this was with 4 jpgs in a folder.

  6. RandolfCarter commented on Oct 29, 2012

    @RandolfCarter

    Also got conflict files after installing 1.1.1, where there definitely was no conflict at all - server and client had exactly the same version - but the file was opened on client side, maybe this can cause the conflicts? Thankfully, after deleting the conflict files on the client, they also went away on the server (as it should be); with client 1.0.3 it only worked when conflict files were deleted on the server, on client they would just reappear...

  7. AndreFabris commented on Nov 8, 2012

    @AndreFabris

    In my current testing, I have Admin who shares a folder with two users. All running the latest software server is on 4.5.1a and clients on 1.1.1.

    Admin shares the folder with 5 sub folders all with some files in them 111MB in total.
    On the Server there are no conflicts
    Admin has no conflicts
    User 1 has no conflicts (Mac client)
    User 2 has conflicts in 2 out of 5 folders (one folder has two files, both duplicated, the other one 94 files all duplicated)
    User 2 logs in to the browser and there are no conflict files.
    It has to be a bug in the sync client on User 2's machine (Windows client)

    The files are exact copies of each other same in size.

    Any workarounds how to prevent this

  8. BenHagan commented on Nov 15, 2012

    @BenHagan

    I was able to reproduce the issue on 1.1.1 originally reported by @MTRichards in producing a ton of _conflict files by deleting the sync in the OwnCloud client, then re-creating it on the same folders. The _conflict files and the originals are all exactly the same.

    @danimo Were you able to re-create this? Is there any debugging information we can give you that might help?

    Luckily I'm still in testing mode with OwnCloud and don't have very many files synced, but if I did, effectively doubling the amount of storage used could be very bad. Not to mention the pain of having to go through them and delete all the conflict files.

    I'm wondering if the root cause of this could be related to Issue #59.

  9. MTRichards commented on Dec 11, 2012

    @MTRichards
    Author

    This bug appears resolved in ownCloud 1.2.0 pre, Dec 11 version.

  10. BenHagan commented on Dec 11, 2012

    @BenHagan

    I'm on 1.1.3 and the issue seems to be fixed.

  11. dragotin commented on Jan 5, 2013

    @dragotin
    Contributor

    Thanks for verification.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions