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
- Current User is Not authorized
recreating same Thread
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...