Stuck in synchronization loop (Android) - eviltoast

Got a new phone (Pixel 4, DivestOS) & trying to sync my notes via Joplin Cloud. It grabbed older notes ok, but seems to be stuck in an infinite syncing loop & never gets notes from the last ~6 months…

Here’s what I’ve done

  • Downloaded Joplin from F-Droid -> logged in to Joplin Cloud -> Added encryption master password -> synced. Result: old notes are there, new notes are not, infinite sync loop
  • Uninstalled Joplin
  • Reinstalled Joplin from F-Droid -> logged in to Joplin Cloud -> synced (older notes come in, newer notes do not) -> Added encryption master password -> synced. Nothing new arrives but I get an infinite sync loop

My notes are all present on desktop. I don’t know what to do next! Advice is greatly appreciated!

Joplin app version

Joplin Mobile 3.1.2 (prod, android)

Client ID: ######### Sync Version: 3 Profile Version: 47 Keychain Supported: No

Revision: 8d8cca06e

Android API level: 33 WebView version: 127.0.6533.103 WebView package: us.spotco.mulch_wv FTS enabled: 1 Hermes enabled: 1

  • Painfinity@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 months ago

    Three things I’d try:

    1. Mobile client > Configuration > Tools > Sync Status > If there are errors, press on “Retry all” (unlikely, see n.2).
    2. If your desktop works correctly, have you tried re-uploading your notes? For that, make sure your desktop is fully synced (and I’d backup your notes if you haven’t already automatically). Then go to Tools > Options > Synchronization > Show Advanced Settings > Re-upload local data to sync target.
    3. If you want to try something else, you could try using an older build of Joplin on F-Droid and see if it works there.

    P.s. I think you should input an encryption master password only after having done a full sync on the device and then entering it in the orange prompt that appears. So your problem might stem from a badly configured E2EE. In that case, if the things above don’t work, I’d suggest turning off E2EE, synching all your notes to your devices and then turning it back on. Hang in there!

    Edit: Three things :)

    • GrappleHat@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Thanks a lot for the help. I tried it all but no luck. I also realized that Fdroid uses a pre-release version of Joplin - so I downgraded to the latest on the GitHub and then repeated all of these tests/suggestions but still no change.

      I’ve reached out to the devs via a GitHub issue. Hope that helps. Thanks again!!!

      • Painfinity@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        That sounds very tedious, but in some way every failed solution narrows down the list of possibile causes :P

        Do keep us updated, if you want. And you might help the peeps on GitHub by trying out different mobile devices or sync methods, if you really really really want to do something in the meantime. It does seem to be neither your Joplin version nor your encryption setup!

  • GrappleHat@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    Update for anyone who might be experiencing this issue:

    I finally found a workaround “hacky” solution. I exported all of my notes to a backup file on desktop, sent it to my phone, put my phone in airplane mode, imported the backup, deleted all of the duplicate notes which resulted (because the phone was partway synced), turned off airplane mode, synced, then switched to desktop and synced.

    In the syncing process a lot of notes were unnecessarily deleted and replaced with exact copies. So it wasn’t elegant, but it got the job done. Everything seems to be working now (I think)