diff --git a/Rclone.md b/Rclone.md index 3b9b1ca..822ab11 100644 --- a/Rclone.md +++ b/Rclone.md @@ -130,4 +130,28 @@ Storage path during developing WeKan, for example: ./rebuild-wekan.sh rclone mount minio:wekan/files /home/wekan/repos/wekan/.meteor/local/.build-garbage-uslyxi.uokel/programs --vfs-cache-mode minimal -``` \ No newline at end of file +``` + +## Upgrading + +Newest WeKan uses MongoDB 6.0.3. + +Current working way to upgrade is: + +### Docker + +1. Create Mongodump of your database like at [Backup page](https://github.com/wekan/wekan/wiki/Backup) +2. Use newest WeKan docker-compose.yml from https://github.com/wekan/wekan with WRITABLE_PATH setup to Rclone/MinIO like above this page +3. Mongorestore to MongoDB 6.0.3 database +4. Use WeKan Admin Panel `Move all attachments to filesystem` button to move all attachments to MinIO. +5. Create Mongodump, that this time does not have any attachments, and is much smaller. +6. Mongorestore to MongoDB 6.0.3 database. +7. Start WeKan. + +### Snap + +Similar Mongodump and Mongorestore above, with these info: +- https://github.com/wekan/wekan-snap/wiki/Candidate-WeKan-Snap-Manual-Upgrade +- https://github.com/wekan/wekan/issues/4780 + +