Sync doesn't finish and can't be canceled on Linux desktop

Operating system

Linux

Joplin version

2.4.23

Desktop version info

Joplin 2.14.23 (prod, linux)

Client ID: 917ff4ebc6794e378445982881393606
Sync Version: 3
Profile Version: 46
Keychain Supported: No

Revision: 7b6a19a

Backup: 1.4.0

Ubuntu 22.04

Sync target

Dropbox

What issue do you have?


Update, 13:33: Sync completed with message:
Completed: 09/26/24 13:30 (5438s)
Last error: Error: Cannot acquire exclusive lock because the following clients have a sync lock on the target: (2 #bd8826695d18439eb10483c3cc1a965e)

The client referenced is the mobile application I have on my Android phone. Checked its logs and found similar message ~10 days ago referring to the desktop app.

Have I misconfigured for the two installations to be running into a deadlock condition?


As described, first noticed Joplin not completing sync yesterday after pasting a screenshot into a note for the first time. Did so, saw sync start and then never stopped. Came back, saw it still syncing so deleted the link to image from note to hopefully allow it to finish, to no benefit. Reopen again this AM, starts syncing but doesn't finish. Canceling doesn't actually cancel either--just hangs.

Not seeing any errors in the dev logs either (dev tools > Console).

Moving to top

Joplin >= v3.1.4 should allow disabling sync locks in settings, which might fix this particular issue. The 3.1.x versions of Joplin are currently in pre-release.

Instructions for disabling sync locks

(In Joplin 3.1.16/desktop):

  1. Open settings
  2. Open the "Synchronization" tab.
  3. Click "Show advanced settings".
  4. Uncheck "Enable sync locks".
  5. Click "OK".
  6. Restart Joplin using File > Quit.

Screen recording:

2 Likes

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