
Hi , Trying to upgrade my Appwrite DO server from 1.3.8 --> 1.4.3
Steps followed:
- From DO panel launched the console
- Then ran the following command as per doc
docker run -it --rm
\ --volume /var/run/docker.sock:/var/run/docker.sock
\ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw
\ --entrypoint="upgrade"
\ appwrite/appwrite:1.4.3 - Just pressed enter for all questions asked (like server HTTP port?, appwrite hostname? etc) Not sure what to enter for those questions.
- Then it automatically ran the command "docker compose up -d --remove-orphans --remove-anon-volumes"
- Then I ran "docker ps | grep appwrite/appwrite" to check version. All containers upgraded to 1.4.3
- Then I tried to run this command: cd appwrite/ docker compose exec appwrite migrate
Error thrown at this stage: Failed to create connection: php_network_getaddresses: getaddrinfo failed: Try again
and my appwrite app also crashed and showing server error:500
Kindly advise whats the correct procedure to upgrade the Appwrite DO server. Your doc and youtube video showing generic procedures only not Digital ocean specific. It would greatly helpful for beginners like me if clear video tutorials made on this.
Kindly assist.

Can you show the output of ls
in the console?

Make sure you're in the root directory

It is showing appwrite and snap

For the last part just run
docker compose down && docker compose up -d

Then run
docker compose exec appwrite migrate
again

Ok thank you... I ll try this and update

It worked!!! Thanks a lot🙏

[SOLVED] How to upgrade Appwrite DO server...?
Recommended threads
- "Memberships privacy" setting in 1.7.4
Hi everyone, I'm experiencing an issue with a clean self-hosted installation of Appwrite version 1.7.4. I previously used version 1.6.1, and if I remember corre...
- Function 404 error - Deployment with the...
I have a function in my Appwrite Cloud (free plan) project that cannot be accessed or deleted (404 in both UI and CLI). I'm stuck at the 5 functions limit and c...
- 1.6 to 1.7 does not work
Appwrite (self-hosted) stopped working after updating from 1.6.2 that was stable. Getting the general_server_error. Mentioning I fallowed all steps for upgrad...
