Operating system
Linux
Joplin version
3.1.24
Sync target
Dropbox
What issue do you have?
Is it possible to delete the account information only about a sync target such as Dropbox, Onedrive, Joplin Server? For example: If one is switching to a different account or making other changes and doesn't want the desktop client trying to sync before the new data is tested/finalized and possibly try to wipeout the desktop local database.
If the account data is deleted, then it will wait until you have the new account information in place, test, and if it does connect properly begin a full upload of the desktop's local data. This would be the same behavior as if it was the first time using that particular sync target.
Seems like there must be a way do delete the account information?
I just added a wrong/mistyped path to the sync target before I switched to a different target location. Doing so Joplin reported a sync problem but did not delete local or remote data, before I could add the correct path to the new sync target.
I notice that ~/.config/joplin-desktop/settings.json
appears to contain settings for the sync target.
The below is an extract for a Joplin client using file system sync:
{
"$schema": "https://joplinapp.org/schema/settings.json",
"sync.target": 2,
"sync.2.path": "/home/vbox/workpad",
...
NOTE
I HAVE NOT seriously tested what happens if this information is edited / deleted. I did set up a client that was file system syncing and then stopped the client and deleted the "sync.
lines from ~/.config/joplin-desktop/settings.json
. After restarting Joplin the synchronisation target was then set to None. I did not test editing this file with an external server and one that stores the sync password in the Joplin database (Linux systems).
To clarify, I am just pointing this out as a possible line of enquiry and not a solution!!! 