-
Notifications
You must be signed in to change notification settings - Fork 55
Upgrade Guide
This document provides detailed instructions for upgrading between different versions of the project.
- Always back up data dir (./storage) and configuration (./etc) before starting the upgrade process.
- Follow the instructions for the specific version you are upgrading to.
- Ensure you have a complete backup of your data and configuration.
- Update the Git version to a specific tag:
git checkout <latest tag>
or to the latest version in the main branch:
git fetch -pP && git pull
- Run the command
make update
- Optionally, in some cases, it may be necessary to run
make upgrade
- Check logs for any errors.
docker-compose logs -f
- Verify that all critical functionalities are working as expected.
Starting with version 2.0.1, we have switched from s3-emulator to MinIO for storing data uploaded via the any-sync-filenode daemon. To preserve your data, you will need to manually migrate it from s3-emulator to MinIO. For this You can use https://min.io/docs/minio/linux/reference/minio-mc/mc-mirror.html.
Starting with version 3.0.0, we have reduced mongo instances from 3 to 1. For correctly working You need reconfigure mongo cluster. After Upgrade please run:
docker compose exec mongo-1 mongosh --port 27001 --eval 'rs.reconfig({_id: rs.conf()._id, members: [{ _id: 0, host: "mongo-1:27001" }]}, {force: true});'
You need to transfer your modifications from the .env file to the .env.override file.
A new variable has been added to the .env.common file, so before restarting, you need to run make generate_env
to regenerate the .env file.
git checkout v5.<X>.<X>
make generate_env
make restart
Thank you for your desire to develop Anytype together!
❤️ This project and everyone involved in it is governed by the Code of Conduct.
🧑<200d>💻 Check out our contributing guide to learn about asking questions, creating issues, or submitting pull requests.
🫢 For security findings, please email security@anytype.io and refer to our security guide for more information.
🤝 Follow us on Github and join the Contributors Community.
Made by Any — a Swiss association 🇨 🇭
Licensed under MIT.