Auto-Conflict causes lost data
Thank you for taking the time to report this issue! Before filling in this form, please read: How to report an issue.
Issues with sufficient information will be prioritised.
Required
Abstract
The instance on my phone often seems to think it's modified a file which it hasn't. This results in a conflict with actual additions made on desktop, and those additions being lost.
Reproducing procedure
I have a two devices, desktop and mobile, both syncing to a couchdb server.
- Close obsidian on mobile
- On desktop, add a new paragraph to an existing file
- Let the additions sync to the server
- Open obsidian on mobile and view the file
Expected behaviour
I would expect the new additions to sync to the copy of the file on mobile. Mobile should not report a conflict as it made no changes to the file.
Actually happened
Livesync reports a conflict. In some cases it tries to auto-resolve the conflict without asking me, resulting in the additions being lost. I sometimes see the conflict dialog popup, then disappear before I can interact with it.
This doesn't happen every time. Sometimes it works as expected. It seems more common when a few hours or even a day or two pass between steps 3 and 4
Obsidian debug info
Please provide debug info for each device involved. The primary device (where the issue occurred) is required; others are strongly recommended. If your issue involves synchronisation between devices, debug info from relevant devices is very helpful. To get it: open the command palette → "Show debug info".
Device 1 (primary)SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.9.14
Operating system: #35~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 19:30:42 UTC 2 6.17.0-35-generic
Login status: logged in
Language: en-GB
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 2
Restricted mode: off
Plugins installed: 1
Plugins enabled: 1
1: Self-hosted LiveSync v0.25.78SYSTEM INFO:
Obsidian version: 1.12.7 (303)
API version: 1.12.7
Operating system: Android 13 (OnePlus DN2103)
Webview version: 149.0.7827.159
Login status: logged in
Language: en-GB
Catalyst license: none
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 2
Restricted mode: off
Plugins installed: 1
Plugins enabled: 1
1: Self-hosted LiveSync v0.25.77
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Report/Logs for both devices: https://pastebin.com/Dsu1v8HQ
Optional
Screenshots
If applicable, please add screenshots to help explain your problem.
Other information, insights and intuition
Please provide any additional context or information about the problem.
Source: vrtmrz/obsidian-livesync