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
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...