Using Obsidian via Syncthing across Android, Linux, and Windows
Expected result
The app to load rapidly and elicit no sync conflicts.
Actual result
I get a lot of ‘.obsidian/workspace-conflict’ files, which I am guessing contributes to the slow app load times and the app performing an Index Refresh every time it opens due to apparent file changes.
I think the problem might be file permission and timestamp changes between operating systems. But I’m totally guessing there, I’m not sure.
I’ve used Obsidian with Syncthing across multiple platforms without conflicts or slow load times, so I know it’s possible.
Thanks. Yeah, I’ll have to try that. I used to exclude it, then for about a year it worked fine having everything synced. (That way my workspace is synced, I can go from phone to desktop and the open note is the same). Not sure what changed - maybe it’s on my end!
Don’t let Syncthing watch the file system, so uncheck the following:
Scannen
Auf Änderungen achten
Benachrichtigungen des Dateisystems nutzen, um Änderungen zu erkennen. Das Überwachen von Änderungen entdeckt die meisten Änderungen ohne regelmäßiges Scannen.
hmm same here, I have Syncthing running all of my files, including Obsidian, between phone and two PCs. I am not sure what is going on, but every time I modify a file SyncTrayzor pops up a sync conflict. I don’t remember this being an issue until recently.
Btw this is not just for the workspace folders. I exclude explicitly as such
\.obsidian
\.obsidian.desktop
\.obsidian.mobile
But there is still conflicts for any Obsidian file I edit. Pretty frustrating as no other Syncthing folders/files have this issue, only the Obsidian vault folders/files. There has to be something that was changed in the 1.0 update…
I think my issues are only caused by my phone. Changing notes on desktop does not cause .obsidian folder conflicts. I recently reformatted my phone, and Obsidian is running faster, so I’m tempted to see if I can continue to sync the .obsidian folder.
If you are having sync conflicts appear with ALL your notes on all systems, that’s confusing. I wonder if reinstalling Obsidian on all devices, or reinitiating a syncthing relationship between all devices, would fix it.
I finally just removed my vault and started fresh. The app starts instantly now on all platforms. I am bringing my notes into this new vault a few at a time from my old vault’s folder.
I ended up just subscribing to Obsidian Sync. Not saying everyone needs to go do that, but it works really well, and I love being able to sync my notes abroad without having to VPN back to my home server. The convenience is nice, and I got tired of fighting Syncthing (I still use it to sync my pictures and music to and from my server)
I figure even after buying the $25 Support license, I use this app so much and it is such an important part of my life, that it was worth supporting this small company pumping out such a fantastic piece of software. It feels good to do my part to financially encourage them to keep going and I benefit from it too
(?d) is a special pattern in Syncthing to indicate that these patterns should be deleted from the local filesystem if they are deleted remotely. If you do not want this behavior, you can omit (?d).
.obsidian will ignore the .obsidian directory.
.obsidian.desktop will ignore the .obsidian.desktop file.
.obsidian.mobile will ignore the .obsidian.mobile file.
This will ensure that the specified files and directories are ignored by Syncthing within ANY folder. So for example if you have multiple vaults it won’t sync these folders and files within them in ALL Vaults you have added into your Sync Folder.
Wanted to say thanks, Did this and indeed the speed improve dramatically from around 8 and sometimes 12 seconds to less than 3. Although, unfortunately the speed decreased again recently. I don’t see any syncthing conflicts. I wonder what is the reason, maybe it’s cause the internet is not 24/7 on?