Onedrive Sync Stuck / hangs

Operating system

macOS

Joplin version

3.1.20

Desktop version info

Joplin for Desktop

Copyright © 2016-2024 Laurent Cozic
Joplin 3.1.20 (prod, darwin)

Client ID: 85bd61eaf4e4402f9438709fc3d881db
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: 8199362

Backup: 1.4.2
Inline tags: 1.3.0

Sync target

OneDrive

Editor

Markdown Editor

What issue do you have?

Every once in a while, sync hangs on my desktop and just keep trying to sync. Clicking cancel does not help. Only solution is to kill Joplin and start again.

The main issue is that sometimes I don't notice, so I end up not syncing notes for days and can have conflicts.

Anyone has an idea how to solve it? Also is there a more reliable sync target?

This post might be related. If so, this issue may be fixed by this pull request.

For now, disabling sync locks may help (settings > synchronization > advanced > un-check "enable sync locks").