Joplin Cloud sync fails on mobile

Operating system

iOS

Joplin version

13.1.6

Sync target

Joplin Cloud

What issue do you have?

For the past couple of months, Joplin on my iPhone and iPad haven't been able sync properly, even though the desktop version does sync. They get stuck indefinitely on "Updated remote items: 1" and it's not even possible to cancel the sync process without force quitting the app. I've disabled sync locks on all devices.

Is there a way to fix this without losing any unsynced notes on my mobile devices?

Is there any sort of support channel for Joplin Cloud customers or is this forum it? I posted something about this issue previously and didn't get much of a response.

Hey, thanks for reaching out about the sync issue on your iOS devices. To better understand the problem and find a solution, it would help to see some logs.

Here's how to get them: Configuration -- Tools -- Logs -- Share

mobile-log.log (211.7 KB)

This one's from my iPhone.

Seems like synchronizer is trying to update repeatedly this item: c5336133ac204b96bcb09fdf8c933546. It's probably a note, I suggest searching for it this way id:c5336133ac204b96bcb09fdf8c933546

Of course, it's unclear what might be wrong with it, but let's temporarily copy its content to a different note and deleting the original one -- from the trash bin as well

Afterwards let's check the result and logs again

1 Like

Nothing shows up on any of my devices when I search for id:c5336133ac204b96bcb09fdf8c933546.

[UPDATE: if I leave out the id:, I get one note. I deleted it on my laptop and synced, but my mobile devices remain stuck on this:

Here's a new log file from my iPhone, in case there are any further clues:
mobile-log.log (235.0 KB)

Thanks for your help.

:thinking:
Now I suspect this was an attachment so naturally I suggest installing Joplin Batch plugin on the device you've found the item and trying to clear it through the plugin.

You can run it on mobile by going inside any note and tapping context menu

Deleting the problematic PDF attachment and syncing on my iPhone moved the needle a bit, in that a "Conflicted attachments" folder appeared, with the PDF in it. I deleted that and emptied the trash, which seemed to fix it for a bit, but now sync is stuck on this:

Here's another log (let me know if there's no point in sending these): mobile-log.log (324.8 KB)

[UPDATE: I cleaned all unused resources using Joplin Batch, but my iPhone still won't finish syncing. It's stuck on Created remote items: 2 and Deleted remote items: 9.]

1 Like

I'm running out of ideas here but that's how would I proceed in your situation

  • Deleting repeatedly faulty items stated in the logs

here are the relevant lines

Synchronizer: Sync: createRemote: remote does not exist, and local is new and has never been synced: Resource: (Local 53dc2a9a0ffa4a408b88532343f8fe89)

11-17T12:29:33: Synchronizer: Sync: createRemote: remote does not exist, and local is new and has never been synced: Folder: (Local 1ea901982dc94e65a1ce21b6389095c3)

Can be searched as "createRemote"

  • Disabling all the plugins

  • Disabling the encryption

  • Reinstalling the app

    • You can put the unsynced notes into a separate folder and export your profile.
      • Sort all notes by updated date
      • Put important ones into separate folder -- to make it easier to import later
      • Configuration -- Import&Export
    • if you decide to go with it, make sure that first sync is complete FAQ | Joplin

I may have misunderstood what you meant by 'Can be searched as "createRemote"' but neither createRemote nor those uuids yield anything, so I have no idea which notes are unsynced. Thanks for your help, in any case. Incidentally, is there no official support for Joplin Cloud? Given that it's a paid service, you'd expect there to be some way to contact the devs to get help.

[EDIT: I guess this is it :slight_smile: My mistake.]

guess my idea of finding faulty items didn't really work, oh well


Can it be that all your notes actually did synced and in the end, sync gets stuck only visually? i.e. there's nothing actually to be lost given during app reinstallation?