Updated Rclone (markdown)

Lauri Ojansivu 2022-12-28 12:13:25 +02:00
parent f7ccd5b27c
commit 6ac3f7b0b5

@ -1,3 +1,25 @@
# 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 below 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
# Introduction
With Rclone https://rclone.org , it's possible to use many cloud filesystems, like AWS S3, MinIO https://min.io , etc.
@ -131,27 +153,3 @@ Storage path during developing WeKan, for example:
rclone mount minio:wekan/files /home/wekan/repos/wekan/.meteor/local/.build-garbage-uslyxi.uokel/programs --vfs-cache-mode minimal
```
## 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