iCloud duplicates

I had the same issue and it stopped as soon as I stopped using both iCloud and Obsidian Sync.

I do not use Obsidian Sync. I only sync my files over iCloud Drive from my Windows PC to my iPhone. In fact, Obsidian Sync is disabled:

I do not use Obsidian Sync.

Hrm, then I’m not sure. I used iCloud sync only without issues for a while.

Me too, it just started making copies recently. Maybe a Windows 11 Update?

Oh, you’re using iCloud sync on a Windows device as well as macOS. Yeah then I would say it’s suspect. Not sure how Apple does with its software on Windows.

No, I only sync between my Windows 11 Laptop and my iPhone via iCloud sync. Also, everytime I open my Vault, I get a Windows notification telling me it’s downloading the file but it never finishes and then Obsidian fails to load the file :frowning:

Still, I’d say go for the Obsidian Sync service. I know it’s another one to pay for, but I’ve found it to be rock solid amongst my devices.

1 Like

I have a similar issue and I hate to say it, but it’s probably iCloud sync. I’m syncing between MacOS 15.0.1, Windows 10, and two iOS 15 devices. It seems to be something with syncing to Windows that duplicates files occasionally. If I disable the Windows sync I don’t see the issue.

I also think it’s a iCloud on Windows problem. Do you also get a notification everytime you open obsidian which says that windows is downloading the iCloud files? Hopefully we’ll soon be able to use other services for syncing between Windows and iOS devices.

I want to specify my problems:

Problem number 1 is, that Obsidian is duplicating files somehow and I don’t know why. It doesn’t happen when writing them. It somehow happens in the background.

The other problem is, that iCloud Drive on WIndows doesn’t seem to download or synchronize files correctly. Even tough markdown files are just a few kb, it takes forever to download and open them. And no, it’s not my internet connection.

I really enjoy obsidian, when it works but these issues are really throwing me off. I am considering paying for obsidian sync but that just makes no sense, as I was searching for a software, where I can freely choose my syncing service.

I think it makes sense, though it isn’t what you want (or intended) to do.

The limitation is iOS and the problem comes from the way iCloud manages synchronisation.

You can continue having problems, hope for the best, give up iOS (possibly give up Windows, though some entirely Apple users have described iCloud issues), switch away from Obsidian, or switch to Sync. Hoping for the best may work out because surely something will change sometime. There may be an alternative I don’t know, but it is a very frustrating situation.

The usual reason for duplicated files is that a different version has appeared (often by a sync clash) and it’s a way to avoid losing data. I had thought Obsidian had moved to merging files (which has its own problems), but maybe not completely. So again, it’s really down to the sync service.

Many people have described difficulties in getting files out of iCloud too, which it would be essential to do before starting Sync, so you ought to be prepared for that if you take that route.

I have seen similar issues with the iClould sync between my PC and iphone/iPad app iCloud sync issues

I keep close look at my iCloud drive to make sure there are no duplicated files and all files are synced, otherwise I kill the iCloud task and restart iCloud drive. I also kill (swipe up) on the iphone/iPad app every time before I use it to make sure it starts from a fresh state and syncs all updated files.

I also just logged an issue with the “recent files” plugin after being able to duplicate a sync issue issues with iCloud sync · Issue #33 · tgrosinger/recent-files-obsidian · GitHub

I had the same problem with the iCloud sync. I managed to solve it by uninstalling the Microsoft store version of iCloud app… instead I installed a desktop iCloud app. It’s been working great so far, no duplicates are appearing.

1 Like

I think it’s a problem with iCloud sync, you can try this https://forum.obsidian.md/t/icloud-sync-issues/28320/22?u=bbluray

1 Like

I also have been experiencing this problem with iCloud. Running Windows 10 with the iCloud app from the App Store. One of the solutions I have found to at least allow me to close and reopen Obsidian without issues is changing the obsidian folder on iCloud to “Always remain on device”. You can do this by right clicking the obsidian folder → select “Always keep on this device”.

Whenever I edit notes, the duplicates still create themselves. However, once I delete them after taking notes they do not come back and syncing has continued to run with no problem. Knock on wood.

Not an elegant solution and still looking for a better fix.

1 Like

that is very interesting, I didn’t know there was such an option.
When I clicked it it immediately downloaded a bunch of files.
Now the status of the files shows a solid green
image
Thanks!!!

1 Like

No problem! :smiley:

Turning on this setting is more than just a makeshift solution: Obsidian needs all the vault files to be permanently on the computer, this setting ensures exactly that.
That doesn’t solve everything, though. I always used this feature and I still get duplicates (but rarely) and an insane number of workspace files (but that doesn’t cause any problem).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.