Back

Update a manually installed appwrite from 1.2.0 to 1.3.1

  • 3
  • General
Ipsoka
15 Apr, 2023, 08:24

I want to upgrade to 1.3.1, how can I achieve this if I installed appwrite manually (I downloaded the docker-compose.yaml and the .env files manually and put them in a folder)?

TL;DR
To upgrade your manually installed Appwrite from version 1.2.0 to 1.3.1, follow these steps: 1. Ensure that you have git installed. 2. Download the newest docker-compose.yaml file by running the following command: `wget -O new-docker-compose.yaml https://appwrite.io/install/compose` 3. Compare the existing docker-compose.yaml with the new version using git diff: `git diff --no-index docker-compose.yaml new-docker-compose.yaml` 4. Review the changes and either add them to your current docker-compose.yaml or discard them. 5. Repeat the process for the
Ipsoka
15 Apr, 2023, 09:01

I think I found the solution, which is also pretty manual. Make sure you have git installed:

First, get the newest docker-file: wget -O new-docker-compose.yaml https://appwrite.io/install/compose

Now diff the files with git git diff --no-index docker-compose.yaml new-docker-compose.yaml

Now check the output, everything green are the changes that are coming from the new version. Go though one by one and either put them into your current docker compose or discard the changes Repeat for the .env file wget -O .new-env https://appwrite.io/install/env git diff --no-index .env .new-env

Run docker compose exec appwrite migrate inside the folder and cross your fingers 🀞

Start your containers docker compose up -d --remove-orphans

And lastly, run docker ps | grep appwrite/appwrite and check that the versions are all 1.3.1

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more