Skip to content

Upgrading from 1.0.5 and 1.1.1 to 1.1.2 pre every file is a conflict #59

Closed

Description

@MTRichards

When upgrading from 1.0.5 to 1.1.1, every files becomes a conflict.

Install the 1.0.5 client and use it for a while (sync 1 time). Then uninstall it and re-install ownCloud 1.1.1. Link it to the same server. The files are still the same on both sides and "synced", but for some reason, this time they are all seen as conflicts and I get a lot of conflict files.

Using 4.5.1a and upgrading, windows client.

Activity

  1. dragotin commented on Nov 6, 2012

    @dragotin
    Contributor

    Can you reproduce that? If so, please create two logfiles: One of the first run with the 1.0.5 client and one of the second run from 1.1.1.

  2. MTRichards commented on Nov 6, 2012

    @MTRichards
    Author

    I was able to recreate this just now. Will upload log files shortly.

  3. dragotin commented on Nov 9, 2012

    @dragotin
    Contributor

    A fix was pushed to dav branch of csync.

  4. dragotin commented on Nov 14, 2012

    @dragotin
    Contributor

    Tested again, fixed for 1.1.2

  5. MTRichards commented on Nov 14, 2012

    @MTRichards
    Author

    I have been able to reproduce this, but it is not all that easy to do so.
    Symptom: Every file on the server turns into a conflict file when syncing the 1.1.2 client on Windows 7, after upgrading from the 1.0.5 or 1.1.1 client. Then files are synced to the desktop and there are a lot of conflict files on the desktop and the server.

    Steps:
    Take a sync client 1.1.1 (or 1.0.5) that was working on Windows. Uninstall this but leave the data directory intact. Then install ownCloud 1.1.2, link the directory using the default clientsync, and voila - lots of conflict files.

    It appears to us that the cause is this: there is a temporary database inside AppData/Local/ownCloud . If this file is kept (in other words, select "don't delete data folder" when you uninstall 1.0.5 or 1.1.1), when you install and run 1.1.2 it will create every file as a conflict file. If, however, you delete the directory (AppData/Local/ownCloud) on Windows, then the sync happens successfully with no conflict files.

    ownCloud 4.5.2, 1.1.2pre on Windows 7.

  6. RandolfCarter commented on Nov 16, 2012

    @RandolfCarter

    Shouldn't there be at least a file comparison before any conflict files are created? Currently the client seems to assume to know better whether there are any differences, instead of simply looking at the file contents... even if it requires more computation time, this would be much better than creating abundant conflict files!

  7. dragotin commented on Nov 16, 2012

    @dragotin
    Contributor

    @RandolfCarter The question is how you define "two files are identically". You seem to define it through only its content, but it is also valid to consider the content AND the files metadata such as times.

  8. RandolfCarter commented on Nov 16, 2012

    @RandolfCarter

    @dragotin In my opinion, most of the metadata (and especially the times) are more or less irrelevant for determining if two files are different. They might be taken into consideration as helpers to detect whether there were any changes, but should not be used for the final decision whether there is a difference or not.
    Because having the correct metadata is not something most users care about: When the file content is the same, what does it matter which file has a more recent modified or created timestamp?

  9. dragotin commented on Nov 21, 2012

    @dragotin
    Contributor

    This is fixed with the upcoming client version 1.1.2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions