joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Very slow syncing to iOS

Open robe070 opened this issue 11 months ago • 3 comments

Operating system

iOS

Joplin version

12.13.10

Desktop version info

No response

Current behaviour

The synchronisation on iOS has been running for more than 4 weeks. Sync status report seems to suggest that attachments are still to complete. And the number of notes downloaded grows whilst refreshing Sync Status.

I have encryption on. And the notebook list is incomplete and the structure of the notebook list is not the same as the desktop. It seems to have not caught up yet.

If I leave Joplin as the foreground app, say on the Sync Status page, progress occurs.

Is it only handling attachments at low priority, or only when I'm using the app, or what?

There is no option in iOS Joplin settings for background operation. IMG_1189 IMG_1190

Expected behaviour

No response

Logs

No response

robe070 avatar Mar 04 '24 04:03 robe070

What does the sync status say in the sidebar? Could you provide a screenshot?

With the "always" option it should keep downloading everything in the background, but if a resource is particularly large it might get stuck on it and maybe every time the app is closed it's interrupting that download.

Also are there any errors in the log? https://joplinapp.org/debugging

laurent22 avatar Mar 04 '24 11:03 laurent22

I've tracked down the issue to NOT downloading anything unless Joplin is the foreground app. As soon as the screen is locked, the downloading stops. I was sure that in my initial testing, which may have been more than 6 months ago, that downloading did continue in the background. Definitely not now. (I used Dropbox before. (I'm using Joplin server now) Maybe the Dropbox connection, as its a local file system, stays active in Auto-Lock?)

I've set the Auto-Lock to NEVER and it has been running now constantly for 8 hours and has far surpassed the progress of all the previous 4 weeks combined (I was on holiday and so I didn't look into what was happening)

The decryption also slows everything down a lot.

And not running in the background is far less of an issue if the Cloud connection is external to Joplin. Like if Dropbox was used. Because Dropbox updates in the background.

robe070 avatar Mar 05 '24 00:03 robe070

24 hours after disabling Auto-Lock and keeping Joplin in the foreground, syncing has completed. Decryption still continuing, which also does not occur unless Joplin is in this state.

A request to add background update to the iOS app.

robe070 avatar Mar 05 '24 22:03 robe070

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Apr 05 '24 16:04 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, feel free to create a new issue with up-to-date information.

github-actions[bot] avatar Apr 13 '24 16:04 github-actions[bot]