Back

[SOLVED] Could not resolve host: appwrite-executor with status code 0

  • 0
  • Functions
rohan
8 Sep, 2023, 22:55

Hi, i just created a new function and deployed it but im getting this error Could not resolve host: appwrite-executor with status code 0

TL;DR
A user had the error "Could not resolve host: appwrite-executor with status code 0" when trying to deploy a new function. They solved it by manually removing repeated volumes in the docker-compose file. They also recommended using the upgrade command instead of manually upgrading. The solution suggested was to do a `docker pull appwrite/appwrite:1.4.2` and then use the upgrade command.
Drake
8 Sep, 2023, 23:19

What version of Appwrite?

rohan
8 Sep, 2023, 23:44

1.4.2

Drake
8 Sep, 2023, 23:48

would you please share your docker-compose.yml file?

rohan
8 Sep, 2023, 23:50

here it is

Drake
8 Sep, 2023, 23:54

it seems you may have manually tried to upgrade? As such, you're missing things from here and some things are incorrect such as the openruntimes-executor hostname.

Drake
8 Sep, 2023, 23:55

i highly recommend using the upgrade command to make sure your compose file is updated correctly

rohan
8 Sep, 2023, 23:55

ohh yes i did manually upgrade

rohan
8 Sep, 2023, 23:58

i will do it

rohan
9 Sep, 2023, 00:05

@Steven im getting this error on

TypeScript
 yaml: unmarshal errors:
  line 353: mapping key "volumes" already defined at line 347
rohan
9 Sep, 2023, 00:09

idk why but the volumes were repeated in appwrite-worker-builds

Drake
9 Sep, 2023, 00:15

how did you upgrade?

rohan
9 Sep, 2023, 00:15

using the upgrade command

Drake
9 Sep, 2023, 00:15

please try a docker pull appwrite/appwrite:1.4.2 and try again

rohan
9 Sep, 2023, 00:17

volumes were repeated in appwrite-worker-builds inside docker compose file... i removed it manually its working now

Drake
9 Sep, 2023, 00:23

[SOLVED] Could not resolve host: appwrite-executor with status code 0

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