Re-Running i get
[Error] Timestamp: 2023-10-10T02:16:02+00:00
[Error] Method:
[Error] URL: /favicon.png
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Execution error:
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 156``` in the logs
What version of Appwrite?
You added a function domain?
How did you execute the function?
And what's your function code?
1.4.4
Yes
Both by clicking the execute in console, and making a request to the custom domain
I have tried multiple of the examples templates (the PDF generator, the starter function, and a custom) and all had the same results
how exactly are you deploying the code?
Through the UI, I choose one of the templates have it create a new git repository (or add to existing)
double check your compose file is correct: https://github.com/appwrite/appwrite/blob/1.4.5/app/views/install/compose.phtml
I'll upgrade to 1.4.5 and serve my compose if it's still broken
Redeployed 1.4.5 and now getting a new error:
Could not resolve host: appwrite-executor with status code 0\nError Code: 0
Please dm me your .env file
sent
Can you try recreating the containers?
docker compose down
docker compose up -d --remove-orphans
I have done so, no change
What are the docker logs for the openruntimes-executor container?
What's docker ps -a
show?
@Zeke(Jafesu) DM me the logs instead please?
Looks like the issue was my docker login. Clear that now executions are working. It's not liking my code now, but that I can figure out
Thanks for the help
[SOLVED] Unable to deploy functions: File not Found
Recommended threads
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...