Back

Tried to migrate my selfhosted appwrite installation from 1.3.7 to 1.4.3 in vain

  • 0
  • Locale
Tassos P.
10 Oct, 2023, 17:23

After installation I get this error when I run

docker compose exec appwrite migrate

Failed to create connection: php_network_getaddresses: getaddrinfo failed: Try again

TL;DR
Title: Issue with migrating selfhosted appwrite installation from 1.3.7 to 1.4.3 Message: I tried to migrate my selfhosted appwrite installation from version 1.3.7 to 1.4.3 but encountered an error. I was advised to backup the database and upgrade to version 1.3.8 first, then migrate, and finally upgrade to version 1.4.5. However, I am now getting the error "Failed to create connection: php_network_getaddresses: getaddrinfo failed: Try again" when running the command "docker compose exec
Binyamin
10 Oct, 2023, 17:32

For that all you need to do is run

TypeScript
docker compose down && docker compose up -d

Then run migration again and everything should work

Binyamin
10 Oct, 2023, 17:32

But

Binyamin
10 Oct, 2023, 17:33

It's recommend to:

  1. Upgrade to 1.3.8 first
  2. Migrate
  3. Upgrade to 1.4.5
Binyamin
10 Oct, 2023, 17:33

Also, Make sure to backup the DB

Tassos P.
10 Oct, 2023, 18:42

Thank you @Binyamin ! I ll do it and update the discussion

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