Back

[SOLVED] 1.4.0 Migrate Error

  • 0
  • Self Hosted
Krinnen
30 Aug, 2023, 17:40

While trying to run the migration I get this error: Failed to create connection: php_network_getaddresses: getaddrinfo failed: Name does not resolve and it quits the migration command.

TL;DR
[SOLVED] 1.4.0 Migrate Error A user encountered a fatal error while attempting to run a migration. Other containers were also restarting, indicating an issue. The user was asked to check the logs of one of the containers. The output of `docker compose ps` was requested. The user was asked about the upgrade process. A command was provided for the user to try. The user also shared an error message stating "Failed to create connection: php_network_getaddresses: getaddrinfo failed: Name does not resolve" which caused the migration to fail. Solution: The user fixed the issue by running the
Drake
30 Aug, 2023, 17:42

could you maybe share a screenshot?

Krinnen
30 Aug, 2023, 17:46
Drake
30 Aug, 2023, 17:47

how did you upgrade?

Krinnen
30 Aug, 2023, 17:48

docker run -it --rm ^ --volume //var/run/docker.sock:/var/run/docker.sock ^ --volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^ --entrypoint="install" ^ appwrite/appwrite:1.4.0

Drake
30 Aug, 2023, 17:48

what's the output of docker compose ps?

Krinnen
30 Aug, 2023, 17:49
Drake
30 Aug, 2023, 17:50

looks like lots of containers are not healthy as they're restarting. can you check the logs for one of them?

Krinnen
30 Aug, 2023, 17:51

one like appwrite-worker-audits?

Krinnen
30 Aug, 2023, 17:52
Krinnen
30 Aug, 2023, 17:52

The fatal error isn't really promising...

Krinnen
30 Aug, 2023, 17:55

After running: docker compose down && docker compose up -d the issue was fixed

Krinnen
30 Aug, 2023, 17:57

[Fixed] 1.4.0 Migrate Error

Drake
30 Aug, 2023, 17:58

[SOLVED] 1.4.0 Migrate Error

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