The “default location for new notes” and “default location for new attachments “ both change back to “Vault folder“ on my PC every couple of seconds.
I’ve searched the forum on solutions, I turned community plugins to restricted mode and doesn’t seem to fix it. Also have turned off sync, file recovery, and templater.
My obsidian is currently backed up on icloud and I access the vault through icloud. What could be causing this issue? Any fixes?
What I’m trying to do
I’m trying to have the “default location for new notes” be “same folder as current” and default location for new attachments “Attachments”
Things I have tried
I turned community plugins to restricted mode and doesn’t seem to fix it. Also have turned off sync, file recovery, and templater.
Is the device Windows or a mac?
Also, if you create a new test vault (in your user folder, on the desktop, anywhere outside of iCloud Drive is fine) does the same happen in that vault?
Thank you for suggesting. I tested with a new vault outside from the iCloud Drive and that would not happen. The issue only happens on a PC (windows), but accessing the same Obsidian vault via my macbook would not lead to the same issue.
Does this suggest that it is an issue of the iCloud drive?
Yes. Unfortunately, iCloud on Windows is know to cause issues. In the Obsidian Discord forum when you say those works you’ll get an response of
iCloud on Windows is known to cause file duplication and corruption issues. We highly suggest avoiding using this combination.
1 Like
I’ll just add, if you remove the vault from iCloud and it keeps happening, you might have to go into your .obsidian settings folder and see if any conflicted/duplicated files need to be cleaned up before the settings can write properly again. (Maybe not. That happened to me in Dropbox a few years ago with workspaces.)
1 Like
Also I just read this part. If you are using iCloud on any platform, don’t also mix it with Obsidian Sync. Two syncing tools (any two) will fight each other and be highly likely to cause issues.
1 Like
Also if you moved the vault into the Documents folder on Windows it might be affected by OneDrive. You can check your settings, or move it elsewhere in the C drive to be sure. (Obsidian needs its files to exist on disk, and by default OneDrive may move them to the cloud unless you tell it not to, which can cause settings to revert.)
1 Like
Thank you for the tip! How do I tell what is a conflicted/duplicated file? Would all files named as “xx (1)“ and “xx (2)“ be conflicted files?