
Error -> Could not resolve host: appwrite-executor with status code 0
Endpoint generated -> 64f05106d0c7ca5ec194.functions.localhost

- Did you do a clean install or did you upgrade?
- If you upgraded, how did you upgrade?

First I try upgrade following the docs, and didn't work, after I tried a clean install following always the docs but nothing

how did you do a clean install? what happened during the clean install?

Because I'm in my local env, I totally removed images, volumes, containers and the generated appwrite folder, after that I used the installation command in the docs changing the version from 1.4.0 to 1.4.1

how did you remove all the docker stuff?

can you try changing the _APP_EXECUTOR_HOST
env var to proxy
?

I used the commands indicated in the docs, after that I checked that always was gone

I can try

Only I need to change the compose file, right?

no, the .env file. actually make it executor

Ah ok ok, thanks

But if I change the _APP_EXECUTOR_HOST from http://appwrite-executor/v1 to my hostname, do it work? Or I must change it to proxy?

no. it should be executor
. the host is an internal docker container. not your appwrite instance

Ok, I'm trying to change it to executor

With setting it to executor the deployment of the function is waiting indefinitely

Now I'm trying with proxy

Same setting it to proxy

Same error Could not resolve host: appwrite-executor with status code 0

Working after changing it to http://executor/v1

Thank you, now it's working!

[SOLVED] Error while trying to deploy a funtions on self-hosted
Recommended threads
- User (role: guests) missing scopes (["te...
I keep getting this error: ```AppwriteException: User (role: guests) missing scopes (["teams.read"]) at new AppwriteException (/usr/local/server/src/functio...
- Explore uploaded images directly from lo...
Is there any option to explore/dwonload uploaded files to from local machine? I connected through WinScp to my vps and to files from docker volume 'appwrite_app...
- Migrate Appwrite
I have appwrite setup in Coolify, where my dev and production both are running on coolify due to upgrade issues and multiple issues when deployed with coolify. ...
