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
- Error With iOS Apps
I keep getting the below errors for my flutter app. The clients are registered and have been. This wasn't an issue a few hours ago. AppwriteException: AppwriteE...
- Appwrite Auth & Function don't reveal cl...
When I execute a function or sign in with my Flutter app, Appwrite does not show my real IP: instead, it seems that Appwrite shows Fastly CDN IP address.
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...