obsidian-folder-notes
obsidian-folder-notes copied to clipboard
Automatic creation of folder notes causes serious synchronization problems
I use a file synchronization software (not the Obsidian Sync) to synchronize my vault between my notebook(N), tablet (T) and mobile (M). When "Automatically create folder notes" is enabled, the plugin causes serious synchronization issues. It is because it creates the folder notes too "aggressively".
Scenario:
- At N, lets create a new folder with the folder note in it, Xxx/Xxx.md.
- Syncthing (ST) replicates the structure to M.
- ST first creates the folder Xxx/
- Now the Folder notes plugin steps in, it sees an empty folder, so it creates a new empty folder note in it, Xxx/Xxx.md.
- ST wants to replicate the Xxx/Xxx.md folder note, but it is already there, and a newer one. Hence ST fails with a sync-conflict.
Actually, this occurs all the time, hence I had to turn off the automatic folder notes creation. Which is a pity.
Solution: The problems would be solved if the folder notes creation wasn't so "aggressive" - if the Folder notes plugin waited a little while (a few seconds) before it creates the missing folder notes. Or if it created folder notes only for folders created in Obsidian, not externally.