
Created a function based on the quickstart "Starter" template. Deploying the function terminated with:
Could not resolve host: appwrite-executor with status code 0
after changing the .env from _APP_EXECUTOR_HOST=http://appwrite-executor/v1 to _APP_EXECUTOR_HOST=http://executor/v1
as suggested in other posts and https://github.com/appwrite/appwrite/pull/6098/files
the build seems to work but then terminates with:
"File Not Found"
Executor Logs show: `[31m[Error] Type: Exception[0m [31m[Error] Message: File Not Found[0m [31m[Error] File: /usr/local/app/http.php[0m [31m[Error] Line: 605[0m [31m[Error] Type: Exception[0m [31m[Error] Message: Runtime not ready. Error Msg: []
Error: No such container: executor-64f06b5dd83d650d0b59-64f2fbf63e233b55acd8 [0m [31m[Error] File: /usr/local/app/http.php[0m [31m[Error] Line: 319[0m`
Note: https://discord.com/channels/564160730845151244/1147311089135132703 seems like a similar (probably the same) issue.

I have the save problem.

I am still stuck. Did anyone get 1.4.1 Quickstart Functions to work using the Dashboard/Console in a self-hosted environment and/or is this issue on the Radar for 1.4.2 ?

Clean install? I was able to get the starter to deploy with git integration on 1.4.1

Do you see the runtime if you run docker ps -a
?


I can deploy a function in manual mode uploading a tar. it gets build and executed. Just the Git-Integration + Starter Example fails with the error above.

Doesn't look like the a runtime was started. What are the executor docker logs? And maybe the worker builds container logs too

you see the executer error in my intial post.

it is from the log.


Are you running from a 1.4.1 clean install?

yes. clean install + the fix for the initial github integration we discussed (missing checkbox+.psa copy-paste).

appwrite-worker-funcions:

only 2 functions. one is deployed manually and it runs just fine. One is from the Github Integration which builds, but then fails.

you can see the running function on my custom domain: test.quadword.net

it is the same example.

node-18

I also talked with @Joshi . He has exactly the same problem. After fixing the initial GitApp integration (missing checkbox+.psa copy-paste) he gets exactly the same errors: first the "executer not found" error and the function did not even build, then after changing _APP_EXECUTOR_HOST=http://executor/v1 the function did build but fails after the build with "File not found"

ugh...sorry...open up your docker-compose.yml file and go to the appwrite-worker-builds: service. add the volumes section like:
appwrite-worker-builds:
image: appwrite/appwrite:1.4.1
entrypoint: worker-builds
<<: *x-logging
container_name: appwrite-worker-builds
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
- mariadb
volumes:
- appwrite-functions:/storage/functions:rw
- appwrite-builds:/storage/builds:rw
environment:

cc @Joshi

that's weird it works with manual upload though..


Thanks 🙂

Thanks. It works great now 👏
Recommended threads
- Failed to verify JWT. Invalid token: Exp...
Hi I am trying to call a function from my mobile app, but I am receiving "Invalid token expired." My code looks more or less like this ```ts // from my app ...
- Unable to View / Edit Bucket Files
Hi! I am unable to view / edit Bucket Files. While Previews work just fine, clicking the actual file to view or edit it produces the errors seen in the attache...
- How to remove the Sign up link after cre...
Greetings, i just installed appwrite on a VPS and created an account but now i do not want others to have access to the sign-up page. Is there any way to hide o...
