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
- Having issues with login via CLI
``` ~/appwrite ξ° appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...