To upgrade your Appwrite server from an older version, you should use the Appwrite migration tool after you have installed the new version. The migration tool will adjust your Appwrite data to the new version's structure to make sure your Appwrite data is compatible with any internal changes.
The first step is to install the latest version of Appwrite. Head to the directory where you first installed Appwrite. This is where you will find the appwrite directory and the appwrite/docker-compose.yml file. Make sure you are at the same level as the appwrite directory and then execute the following command
This will pull the docker-compose.yml file for the new version and perform the installation. Once the setup completes, verify that you have the latest version of Appwrite.
Verify that the STATUS doesn't have any errors and all the appwrite/appwrite containers have version : 0.10.4
We can now start the migration. Navigate to the appwrite directory where your docker-compose.yml is present and run the following command
Once the migration process has completed successfully, you're all set to use the latest version of Appwrite!