obsidian-livesync icon indicating copy to clipboard operation
obsidian-livesync copied to clipboard

Strange Conflict Files

Open Creling opened this issue 2 years ago • 3 comments

Hi,

There are some strange conflict files in my vault as the following snapshot shows: image

The Code01 in the file path is the name of another device. It seems that the configuration of Code01 is synced to this device.

My problem is:

  • Why do the conflicts appear here but not in the customized sync tab?
  • How can I resolve these conflicts once and for all? I manually resolve them several times but they re-appear soon.

Creling avatar Sep 06 '23 06:09 Creling

Thank you for asking me! As you mentioned, the first piece of path (Code01) is the device name. This is the reason of device name is required to be unique among the devices. Usually, these files would not be conflicted (The device should only update its information on the device). Therefore, the UI does not show the conflicts. However, possibly the feature to handle issues about this might be useful. It will be improved. (It would be automatically resolved by a newer version).

vrtmrz avatar Sep 13 '23 09:09 vrtmrz

Since v0.19.20, Self-hosted LiveSync will resolve the conflicts of customized sync files automatically by their modified date. Could you please check the behaviour, please?

vrtmrz avatar Sep 20 '23 02:09 vrtmrz

Since v0.19.20, Self-hosted LiveSync will resolve the conflicts of customized sync files automatically by their modified date. Could you please check the behaviour, please?

Yes, it works like a charm now. As you see, the conflict files are automatically resolved.

image

Creling avatar Sep 21 '23 02:09 Creling