Thank you for asking about this!
Setting up OneDrive sync on desktop
Don't do this! Joplin handles OneDrive sync internally rather than through the Windows file system — the .config
directory should only be on your C:\
drive.
On desktop, OneDrive sync can be set up by
- Installing Joplin
- Opening Joplin's settings (Tools > Options)
- Going to the "Synchronization" tab
- Clicking "OneDrive" in the sync target dropdown
- Clicking "OK"
- Pressing "Sync" and logging in to OneDrive through Joplin.
There should also be a pop-up the first time the "Sync" button is pressed that allows selecting "OneDrive" as a sync target.
It looks like other people find this method of sync confusing.
Syncing on Android
If the desktop app hasn't finished syncing, it may also prevent the Android app from doing so. With the OneDrive sync target, Joplin creates a file that acts like a lock, preventing other clients from syncing when doing so might lead to incomplete/corrupted data. As such, make sure that the desktop app has finished syncing before syncing the Android app.
Syncing the Android app for the first time can take a while, but it should also show progress above the "Syncing" button.
The 4 MB limit shouldn't be relevant anymore.