You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrading from 1.0.5 and 1.1.1 to 1.1.2 pre every file is a conflict #59
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.
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.
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!
@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.
@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?
Activity
dragotin commentedon Nov 6, 2012
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.
MTRichards commentedon Nov 6, 2012
I was able to recreate this just now. Will upload log files shortly.
dragotin commentedon Nov 9, 2012
A fix was pushed to dav branch of csync.
dragotin commentedon Nov 14, 2012
Tested again, fixed for 1.1.2
MTRichards commentedon Nov 14, 2012
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.
RandolfCarter commentedon Nov 16, 2012
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!
dragotin commentedon Nov 16, 2012
@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.
RandolfCarter commentedon Nov 16, 2012
@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?
dragotin commentedon Nov 21, 2012
This is fixed with the upcoming client version 1.1.2