Obsidian Sync stuck in syncing loop (re-uploading the same files)

Obsidian Sync gets stuck in a loop very often.

I am still trying to figure out what’s exactly causing that.

Current Workaround/Solution

  1. When the sync loop starts, disconnect and reconnect your vault:
    Settings > Sync > Disconnect
  2. Reconnect and accept Merging changes
  3. Wait for sync to complete: Server pushed of your notes until Fully synced

Source : Discord - @bofa in #obsidian-sync > DoomHammer’s Sync woes

This solution takes some time, and I fear losing notes in the process.

Step to reproduce

At this point, it seems to be linked notes that open automatically on Obsidian launch as it restores the last sessions with tabs.

Environment

Debug info: Obsidian Debug info - 2024-04-03 - Pastebin.com

I am using and syncing my Obsidian vault on multiple devices.
By the way, when I open Obsidian on mobile, logs here are completely fine. It would not be stuck in a loop contrary to desktop at the same time.

Example

2024-04-02 10:21 - Uploading file physique-chimie-biochimie/Acides minéraux.md
2024-04-02 10:21 - Upload complete physique-chimie-biochimie/Acides minéraux.md
2024-04-02 10:21 - Uploading file physique-chimie-biochimie/Acides minéraux.md
2024-04-02 10:21 - Upload complete physique-chimie-biochimie/Acides minéraux.md
2024-04-02 10:22 - Uploading file physique-chimie-biochimie/Acides minéraux.md
2024-04-02 10:22 - Upload complete physique-chimie-biochimie/Acides minéraux.md
2024-04-02 10:22 - Uploading file physique-chimie-biochimie/Acides minéraux.md
2024-04-02 10:22 - Upload complete physique-chimie-biochimie/Acides minéraux.md

Full Sync logs for this example: Obsidian Sync logs - Pastebin.com

3 Likes

Not sure if relevant but there’s a thread on Discord about a Sync loop problem. I was under the impression it was at least partly fixed for the people who were experiencing it, but I could be wrong (it’s a long thread, unfortunately). Discord

You can also email [email protected] for direct help.

OK thanks @CawlinTeffid!
I’ve updated my initial post after checking the Discord thread.

I have the same problem now on my Android phone (my MacBooks work fine). I’ve tried reconnecting but it still ended up in the same loop …

My phone can receive the changes from my MacBook but is unable to upload new notes because it’s stuck in a loop trying to upload the same files over and over again.

As an update, it still happens frequently (several times a week) on my two laptops, but strangely enough, never on my Android from what I can remember.