Back

[SOLVED] How to upgrade Appwrite DO server...?

  • 0
  • Flutter
Alan Gautham
3 Oct, 2023, 15:36

Hi , Trying to upgrade my Appwrite DO server from 1.3.8 --> 1.4.3

Steps followed:

  1. From DO panel launched the console
  2. 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
  3. Just pressed enter for all questions asked (like server HTTP port?, appwrite hostname? etc) Not sure what to enter for those questions.
  4. Then it automatically ran the command "docker compose up -d --remove-orphans --remove-anon-volumes"
  5. Then I ran "docker ps | grep appwrite/appwrite" to check version. All containers upgraded to 1.4.3
  6. 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.

TL;DR
User is seeking assistance with upgrading their Appwrite DO server from version 1.3.8 to 1.4.3. They followed the steps provided in the documentation but encountered an error during the migration process. They are requesting guidance on the correct procedure to upgrade the server.
safwan
3 Oct, 2023, 16:09

Can you show the output of ls in the console?

safwan
3 Oct, 2023, 16:09

Make sure you're in the root directory

Alan Gautham
3 Oct, 2023, 16:25

It is showing appwrite and snap

Binyamin
3 Oct, 2023, 16:29

For the last part just run

TypeScript
docker compose down && docker compose up -d 
Binyamin
3 Oct, 2023, 16:29

Then run

TypeScript
docker compose exec appwrite migrate

again

Alan Gautham
3 Oct, 2023, 16:31

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

Alan Gautham
3 Oct, 2023, 16:40

It worked!!! Thanks a lot🙏

Alan Gautham
3 Oct, 2023, 16:44

[SOLVED] How to upgrade Appwrite DO server...?

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