Can't do a clean re-install on Android, using Joplin Cloud

Hello,

I synchronize with Dropbox. Up to now, I've been using Joplin on desktop, iPad and Android. So, three devices.

When I had to get a new Android phone, Joplin sync stopped working on that device. I gave up and uninstalled.

I am now trying Joplin Cloud, and when I try installing Joplin on Android again, it is still trying to redo the "failing" sync it was doing before. I can't seem to find any dead folders lying around in Android. Meaning: the old, "wrong" folders and tags, reappear in Android, although they haven't existed in the other two devices in ages.

On the iPad, when switching to Joplin Cloud, it is still doing the "Updated Remote Items" at least, though I'm not sure that is a good sign or not.

What am I missing? What is the correct workflow when switching between sync storage targets? What is the procedure to ensure a clean install in Android? I have uninstalled and restarted, to no avail.
[SCROLL AND READ BEFORE POSTING]

For bug reports, please post them on GitHub - Issues · laurent22/joplin · GitHub
If you post a bug report here, we cannot track it and there's a chance it won't be looked at and fixed.

For other support queries please indicate:

  • The version you are using. LATEST VERSION is not a version number!
    Desktop Windows:
    Joplin 2.0.11 (prod, win32)
    Client ID: f36898bba6e94718bdaac85f1cbb3862
    Sync Version: 2
    Profile Version: 39
    Keychain Supported: Yes
    Revision: 981b1d845
  • If it is a sync issue, please let us know what you are syncing with. Joplin Cloud
  • If you report a problem with upgrading, please let us know both versions (from/to).
  • If you report a problem with the editor, please tell us which editor you are using (WYSIWYG/Markdown).
  • The operating system you are using.
    Windows 10, Android 11, iPad OS 14.6
    If you can also please provide a log, as described here: https://joplinapp.org/debugging
  • can't upload the log.txt, it's too big

Posts that do not at least state the version number and operating system will not be answered.

I don't really understand most of your issues unfortunately. It could make sense to just uninstall on all your mobile devices and then start fresh from the desktop app.

I suspect this is Android's built-in backup that restores the previous state. I'm starting to think enabling it was a big mistake.

Try deleting the app data without reinstalling - this should revert Joplin to the initial state with welcome notes and no sync.

I didn't realise the backup feature would do that. Hmm, what do we need this feature for by the way? The Joplin data on the device is essentially just cache that can be rebuilt from the sync target, so I'm not sure saving it makes sense. Should we disable this?

...yes!

Deleting the app data solved the problem! My Android device is now synced to my desktop, after a very long time in the wilderness.

And the sync through Joplin cloud went extremely fast, compared to Dropbox, for what it's worth.

Issue solved, as far as Android is concerned. Worth putting that in the welcome guides?

And why uninstalling Joplin on Android preserves this data?

Thanks!

PS: is this the "best" way to switch synchronization targets? Wipe the app on the other device, reinstall and synchronize?

23 Jun 2021, 18:06 by cozic@discoursemail.com:

1 Like

No, normally you can just switch the sync target in the config and it works, but in your case it seems there was something wrong with the backup, so it's best to start clean.

Because Android backs it up and restores on reinstall, apparently.

I'll submit a PR.

Ideally it would make sense to back up if there was a way to only back up settings for example. But I don't think there is, so disabling it altogether makes more sense.

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