Resetting Joplin Sync to Android Using Dropbox

Operating system

Windows

Joplin version

2.13.15

Desktop version info

Joplin 2.13.15 (prod, win32)

Client ID: 3b6ed9014e9246fcb247652186afe005
Sync Version: 3
Profile Version: 44
Keychain Supported: Yes

Revision: 7d2c1c0

Sync target

Dropbox

What issue do you have?

Joplin for Windows didn't sync properly to Android. I had imported a number of ENEX files all at once so I decided to clean it all up and try importing them into Joplin one at a time.

  • I deleted my Joplin profile in Windows: C:\Users\john.config\joplin-desktop

  • I cleared data in Joplin for Android

  • I imported my LinkedIn ENEX file (the smallest one)

  • I configured sync to Dropbox in Joplin for Windows

  • I started to synchronize manually in Joplin Windows

  • I noticed after a while that Joplin had a huge number of Fetched items:
    Created local items: 1146
    Created remote items: 1219
    Fetched items: 16186/16499

  • I started seeing notebooks from the synched Android Dropbox folder in Joplin for Windows

  • I cancelled the sync on Joplin Windows and closed Joplin

  • I deleted the Joplin Profile on Windows

  • I deleted the data in Joplin for Android

  • I deleted all files in D:\Dropbox\Apps\Joplin (43892 items selected)

  • message: deleting 55,803 items from Joplin

  • only desktop.ini was left in D:\Dropbox\Apps\Joplin

  • I configured Dropbox sync in Joplin for Windows

  • I did a manual Dropbox sync

Created local items: 32
Created remote items: 9
Fetched items: 15070/15499

  • then saw this for a while:

Created local items: 32
Created remote items: 9
Fetched items: 15070/15499
Cancelling...

  • a couple of hours later (2024.02.11 @ 09:08), exactly the same thing:

Created local items: 32
Created remote items: 9
Fetched items: 15070/15499
Cancelling...

What is the proper procedure to use if I want to clean up Joplin in order to start the sync all over from the beginning?

Thanks very much,

John

Joplin is not synching to my cell phone!

Additional notes:

  • at 11:49, same thing:

Created local items: 32
Created remote items: 9
Fetched items: 15070/15499
Cancelling...

  • quit Joplin and restarted computer
  • restarted Joplin at 11:57

12:02
Deleted local items: 25
Fetched items: 48970/48970
Completed: 11/02/2027 12:01 (260s)

Welcome (Desktop): 5 was deleted

16:34
Completed: 11/02/2027 16:34 (4s)

16:36
Setup synchronisation to Dropbox on Android
Completed: 11/02/2024 16:36 (3s)

16:39 Joplin Windows
Completed: 11/02/2027 16:39 (2s)

16:42 Joplin Windows
imported LinkedIn ENEX file

17:09 Joplin Windows
Created remote items: 1210
Completed: 11/02/2027 17:08 (1558s)

17:20 Joplin Android
Created remote items: 9
Fetched items: 15994/15999

2024.02.12 @ 09:11 Joplin Windows
3 Notebooks:
LinkedIn: 251 Notes
Welcome!: 5 Notes
Welcome!: 5 Notes

Completed: 12/02/2024 09:12 (8s)

2024.02.12 @ 09:11 Joplin Android
1 Notebook:
Welcome!: 5 Notes

Joplin on Windows is still not syncing to my Joplin on Android.

Any ideas why not?

Thanks,

John

Hey there, please note Joplin does not have a background sync on mobile devices. When Joplin is closed, sent to the background or the device is put into sleep (display off), the sync is interrupted.

Could you reinstall the app and run initial sync without any interruptions?

Thanks for the info @graphit0 I was unaware of that!

My version of Android doesn't allow users to set the screen on forever, it has a maximum on time of 10 minutes before the screen turns off and locks.

So I set the timer to ring every 9.5 minutes. Here are my notes:

  • 2024.12.16 @ 10:00: deleted Joplin Android data
  • configured Dropbox for Joplin Android
  • sync started
  • when timer rang @ 10:12, this was on Joplin:
    Created remote items: 9
    Fetched items: 15994/15999
    Cancelling...
  • when timer rang @ 10:21, this was on Joplin:
    Created remote items: 9
    Fetched items: 15994/15999
    Cancelling...
  • when timer rang @ 10:21, same thing on Joplin screen:
    Created remote items: 9
    Fetched items: 15994/15999
    Cancelling...
  • when timer rang @ 10:30, same thing on Joplin screen:
    Created remote items: 9
    Fetched items: 15994/15999
    Cancelling...
  • when timer rang @ 10:40, same thing on Joplin screen:
    Created remote items: 9
    Fetched items: 15994/15999
    Cancelling...
  • sync obviously not working, turned off Joplin for Android

Any ideas why the sync isn't working?

Thanks again,

John

I suspect that data wasn't completely deleted from android because fetching 15k items in 9 minutes is rather large amount of data to be transferred.

Besides that I can see that there are multiple issues with the sync and import.

I recommend

  1. export your current data as jex on desktop
  2. create new profile
  3. import the jex into that new profile (file -- new profile)
  4. setting up sync to different cloud than before (say OneDrive)
  5. wait for sync to complete on desktop
  6. reinstall the mobile app
  7. connect to new cloud
    you may omit downloading attachments behavior (in settings of sync) to reduce the wait time for initial sync

Looking forward hearing from you how it went, good luck

Thanks @graphit0 I will review your suggestions and try again.

I converted a very small ENEX file from Evernote that only had 251 notes in it. My Joplin database.sqlite file is only 13 MB. I'm not sure why this is so difficult.

John

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