iCloud sync issues

To check upload status quickly, you can look for the iCloud icon in the taskbar (right side of taskbar), and click on it. It gives you an idea of whether it’s uploading or has updated. I also checked the number of files on iCloud.com for what files are actually on iCloud (vs what just exists in the Windows folder) → as a indicator of whether syncing was actually progressing.

Also trying the installer from the Apple website and from preliminary tests with a new vault all the problems seem to be fixed! Vis a vis seemingly random file duplication and reverting of files to older versions while editing.
However, what I’ve found is that there will be file duplication if the vault isn’t fully synced before opening in Obsidian. When it seemed like the upload was stalling (still the same number of files displayed on iCloud.com over a few minutes), I restarted the computer and within a few minutes my vault (~1.6k notes) was fully synced.
I haven’t experienced any problems since! But as it’s only been an hour or two, will report back if there’s more problems.

I believe I have found the cause of the problem!
According to my observation, the synchronization period of iCloud on windows is much longer than expected (10 minutes+). It will only attempt to synchronize after the file has been modified on the windows side, and at that time, a conflict has occurred.
The solution is simple, you can try to create a temporary file and delete it when you open obsidian, this will trigger the iCloud sync, and then you can take your notes. (This function can be considered to write a plug-in implementation)
Hope useful.

2 Likes

I don’t know what you mean, could you explain it more clearly?

Wow. That’s very detailed. Much appreciated!

Luckily after 1 or 2 days, the whole process is working great for me on this win7/8 version.

I do need to check the status on iCloud icon with roughly how many files are syncing, although we can check the exact upload status of every file on the win10 from the Microsoft store.

I haven’t came across the problem you’re facing, maybe try @bbluray method?

1 Like

Does the version downloaded from Apple’s website has the same functionality as the windows version ? Or to put it differently are they somewhat the same or is there are a lot of discrepancy? Asking, because I do use the bookmarks and passwords sync from icloud.

This method works very well,I installed the non-Microsoft version of iCloud on Windows10.
Never seen again the create multiple copies instead of updating the the original copy.
Many thanks to you

1 Like

I have the regular version of iCloud, non-Microsoft store, and always get duplicates but last 3 days their amount is insane: 20+ copies in a few minutes and the file I’m writing in is continuously wiping out of last few words or sentences and I must stay focused to ctrl-Z this immediately to save my data

2 Likes

I would do that but the “desktop” (windows 7) version forces your computer to download your entire iCloud Drive storage. I have more in the cloud than I have room on my PC. Only the Windows app gives the option to disable/enable specific iCloud drive folders.

I don’t know what you mean, could you explain it more clearly?

Hi, just registered on this forum.

I’ve been using Obsidian (with Icloud) for at least a year. The past months I have started getting sync/duplicate issues which have just escalated. Right now it is close to unusable. Just had a short session and saw a bunch of copies being created.

Will consider trying to install the non-Microsoft store app but has to say it feels like a temporary workaround since the old app might become abandoned by apple.

2 Likes

Also having similar issues, moving files between folders seems to trigger the problem with iCloud creating duplicates and I am often getting a reindexing of the vault at startup.

1 Like

I moved one of my Obsidian vaults from iCloud to a local laptop folder because it has already become unbearable: 40 duplicates of one file in a very short time and I must stare at the cursor closely, not remove my eyes from the text because it is constantly wiping out.

But I need synchronization with other devices, I love to use the mobile app excluding the moment that every time I open it I have to wait while all plugins are being downloaded. And I have many of them. So the startup time is extremely long on the mobile: the app is unusable because of it.
Is there any chance to fix this?

There’s another problem with iCloud I’ve noticed: every time I open the iOS mobile app, it redownloads ~10 specific files and 2-3 files that I’ve recently worked on so their update time is corrupted. I also can see how files counter is increasing during this redownloading. All notes are updated by the mobile app on the same time.

I try to keep my notes in a particular order; rely on dates and time when I’ve been working on my notes. So I need to have this working properly.

I tried to find any consistent pattern in modifications of those ~10 files: language, size, file names and emojis in them: nothing. Though unexpected updates of recent files are also unwanted.

I also tried to find any changes in files content: also nothing.

I’ll create a bug report with screenshots later.

Does anyone know what it could be?

3 Likes

I’m also experiencing the same thing, recently. This issue is affecting my productivity.

The issues I observed (and workarounds):

  • some files don’t sync (in sync pending indefinitely)
    • change the content of the file and save
  • some files duplicate (with (1), (2), ...)
    • delete them
    • if they are pending and refuse to be deleted, restart iCloud and try again (works sometimes only)
  • the entire vault was duplicated once
    • Deleted from and re-added to iCloud the vault. It took a while to recover, as I didn’t want to lose anything in my vault.

I’m not sure if this is happening from a bug in Obsidian or iCloud. But for sure this is quite distracting.

7 Likes

I am not sure this fixes the whole problem, but make sure that you have the option “Always keep on this device” checked when right-clicking the obsidian vault in the file explorer, if you are using Windows.

that didn’t fix the issue for me, duplicates still show up randomly

I wish it could be on iPhone: it doesn’t have such option now.

I turned it on for my vault on Windows 10 but it doesn’t help with any of issues I described above.

After I turned on the “always keep” I did a cleanup of all the files that still were stuck in the “synchronizing” status and also all the files that had no status (status indication in windows explorer).
By cleanup I mean that I renamed or copied all the .md files that were stuck to some other status (ex. added a _ to the file name) and checked that they got a filled green checkbox status. Removed any file with weird status. Then I renamed them back to their original names. Now it has run nicely for a few hours at least, fingers crossed…
image

Any update on how to fix this?
Basically, I have the same issue:

  1. during writing, some last characters are wiped out from time to time and I strongly think this is connected to synchronisation issues. During the wipe out it says “file has been modified externally” indicating that through the sync there was a duplicate created.
  2. When closing and re-opening the Obsidian app on Windows, I see many duplicates in the vault. I need to delete them in the iCloud Drive folder structure in Windows Explorer.

If there is no help, I guess I need to copy the vault locally and work without iCloud snyc

1 Like

From the discussion in this thread, Obsidian’s iCloud sync is just straight-up unreliable and shouldn’t be used.

It apparently ate most of my D&D notes just today. I’m moving everything out of Obsidian into something actually reliable ASAP.

1 Like

I’ve just worked on a note and got an error message (don’t recall the message). Instead of getting a blank note with a duplicate being created I just lost a few words. It seemed like it automatically recovered the note from the file recovery?!
I continued with my note and it synced to my iPad just fine.
That’s on v0.13.27