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
- login With OAuth Failed
login With OAuth Failed: when i cliick to login with any of the following (facebook, gmail or apple) am being redirected out of the app to enter my detail, afte...
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...
- Synchronous Function Execution Timed Out...
Hi Appwrite team 👋 I’m facing a synchronous function execution timeout issue on Appwrite Cloud and would appreciate some guidance. I executed this function u...