The next version of Joplin Server (not yet released) will introduce a feature to share a notebook with other Joplin users on the same server. Implementing this correctly was tricky and unfortunately required a major architectural change in the way data is stored, and it means if you try to migrate from a version 1.x it won't work at all. Creating an automatic migration from v1 to v2 would have been error prone, with the risk of losing data, so instead the migration will have to be manual.
It's not too complicated but it does require re-uploading your data to the server. Here are the steps:
- Sync all your notes, from all devices
- From the desktop client, synchronise again to make sure you have your complete dataset
- Export as JEX for backup
- Upgrade the Docker image to v2
- Upgrade the desktop client to v2
- From the desktop client, go to Config > Synchronisation > Advanced, and click "Re-upload local data to sync target"
- Synchronise and wait for it to complete.
Optionally, on the server, you might want to drop the "files" table to save space. Before, all Joplin data was in this table, but now it's in the "items" table, and the "files" table is no longer used so it's safe to drop it. It's not done automatically so that in case of a problem you can still get your data back from this table.
If you have any question, let me know. Note that this manual migration is exceptional and for future upgrades we'll be back to automatic migrations.