How do I change the sync target? More specifically, I want to change the sync target to the same service but a different account (dropbox but a different dropbox user). I also saw multiple sync targets are possible, how can I set that up.
What I’m trying to do exactly is set up a work-only account for Joplin on my work computer.
When I open the client settings (Tools > General Options) all I can do is change the service. I want to keep the same service but use a different email.
I don’t know if people think I didn’t search and that’s why no one is answering but I did and nothing clearly explains how to do this. There are some posts that seem to be vaguely related but I don’t understand what they mean whatsoever.
The main site also doesn’t explain how to do it, only how to set it up the first time (e.g.: select service then press sync). Doing that again does nothing but sync using the same Dropbox account.
And again, I tried searching the forums but I couldn’t find what I was looking for.
I don’t know, if changing the account is the same as changing the service. In one case you have to copy the data over to the new location (otherwise you lose it on the client), in the other case you don’t have to do that.
@laurent would know.
You can’t use multiple sync targets unless you use different Joplin profiles, but according to @laurent, there can’t be 2 prod instances of Joplin running at the same time.
In your case the reason people aren’t responding is probably because no one knows, it might even be impossible. This is a situation that I don’t remember ever coming up before.
The easiest option (to me) would be for you to backup all of your notes (export to jex) then uninstall Joplin and delete the config folder. When you reinstall you’ll be able to add a new target for sure.
That’s surprising. In my opinion, it’s pretty fundamental. Oh well.
So I uninstalled and deleted the last folder I could find in my AppData\Roaming folder. After I reinstalled, everything was still there and I didn’t get an option to pick a sync target. This is awfully complicated for something as standard as logging out and into another account.
Reinstalled again and restarted and now I get a “fatal error”.
Updated to this version, same problem.
Fixed. I think this is an old version. Updated to this version. Now back to trying to change the sync target and account. I think I just need to actually press sync after changing the option.
Fixed by doing the following:
Back everything up
- Uninstall and reinstall Joplin
- Change the sync target to file system so I didn’t have to worry about logging in somewhere else or making a a new account with one of those services.
- Apply and press sync at the bottom left of the main Joplin screen
3.1. This may or may not be optional but I also backed up my notes since all I was doing was separating work from personal, then deleted everything Joplin related on my initial Dropbox (Gonna have to set that up again too so try without this step first)
- Go back to Tools > General Options, change back to your desired sync target and press apply
- Press sync again at the bottom left of the main Joplin screen
- It will prompt you once again to set up the service and you will be able to use the link provided to log into a different account from the same service.
1 Like
I tried uninstalling Joplin completely on windows, but it doesn’t work. Whenever I install it shows me all my previous notes and settings. I deleted all folders which have everything to do with Joplin but it doesn’t work. Does joplin automatically read all .jex files on install ?
Maybe it’s getting the files back from the sync target. Delete all the notes in Joplin so they will also be deleted at the sync target then uninstall. What exactly are you trying to do, though?
So you've also delteted the profile info in the user's config directory?
Just checkin', since they're not in the install dir and might be missed. (And it would explain why your notes are still there.)
IIRC, I've once uninstalled and deleted everything, and neither notes nor sync config were kept.
Joplin does not read and import arbitrary .jex files.
I know it isn’t synced to the target. I am trying to completely uninstall Joplin and do a clean new install so that I can change my one drive account as there doesn’t seem to be any other way. I tried deleting all files I could find except the backup .jex file but it doesn’t seem to work.
I have tried deleting everything from the user Appdata folder and program files in windows but it seems to retain the data somewhere.
It worked, apparantly the program was using an old install directory as backup and the new installs were using that backup even though they were installed in a different location. Thank you for your help everyone.
The easiest way to do this is to login to Dropbox and revoke access to dropbox for joplin. Then go back to Joplin and synchronize and it will prompt you to login.
2 Likes
Thank you so goddamn much! Was caught in the exact same issue on Manjaro and you helped me fix it. Further to this I (somewhat obviously) worked out you can just log in to your Dropbox account through a web browser and go in to your account settings, then in to app authorisaitons and simply remove Joplin from there. Thus forcing Joplin to pickup a new auth token and you can feed it from the account you actually want to use.
Changing sync target is too limited
To me there is a broader issue here of "what if I have two Joplin directories and I want to switch between them?" In my own case, I have some notes I share/sync with someone else from a file system directory using Syncthing, and some that I do not share which I keep on my personal OneDrive. The current synchronization system makes switching between folders onerous if not outright dangerous (warnings about data being erased, back up your Joplin, etc.).
Capabilities wishlist
- Able to have multiple file system folders on a computer and be able to switch between them without risk of data loss
- Button in the Synchronization options to be able to change login credentials for a cloud sync service
- Possibly have a "sync target" button on the Notebooks navigation bar that lets you either
(a) "Open" another sync location, with the result that the current notes are "un-loaded" and the notes from that location get loaded into the app
(b) "Move" your notes not a new sync location, which copies all of the Md note files from Joplin's current sync directory to the new folder that you choose.
So you keep switching between sync targets?
Have you considered having two different Joplins set up, one for each profile, and starting the one or the other?