I am running Appwrite self-hosted on a dedicated VM and trying to just do the Starter Function (tried with Node 16 and Node 20) after my more complicated one failed. Everything seems to be linked to github correctly and pushing a commit kicks off a deployment however they fail almost immediately. The logs for the deployment just show:
TypeScript
<head><title>405 Not Allowed</title></head>
<body>
<center><h1>405 Not Allowed</h1></center>
<hr><center>openresty</center>
</body>
</html>
/usr/src/code/src/Executor/Executor.php:97
#0 /usr/src/code/src/Appwrite/Platform/Workers/Builds.php(407): Executor\Executor->createRuntime('6692b8b5d60b64a...', '65b83427546014b...', '/storage/functi...', 'openruntimes/no...', 'v3', true, 'src/main.js', '/storage/builds...', Array, 'tar -zxf /tmp/c...')
#1 [internal function]: Appwrite\Platform\Workers\Builds->Appwrite\Platform\Workers\{closure}()
#2 {main}```
The subdomain that is linked to the function also resolves but just shows:
```Error 404
Deployment not found. Create a deployment before trying to execute a function
Type
deployment_not_found```
TL;DR
Developers are experiencing build failures when deploying functions in Appwrite self-hosted. The log shows a `405 Not Allowed` error and a `Deployment not found` error. The issue seems to be related to incorrect deployment configurations. Check the deployment settings and make sure they are properly configured in the Appwrite instance.My appwrite-worker-builds container's log shows this:
TypeScript
Worker builds started
[Job] Received Job (6692b5f6d9b7b7.19762980).
Creating build for deployment: 6692b5f5e9b9f1267c3a
[Job] (6692b5f6d9b7b7.19762980) successfully run.```
Recommended threads
- HUGE OUTRAGE IN APPWRITE, I CANNOT ACCES...
I have 2k users trying to access, sending me messages. What am I supposed to do? Please solve this asap.
- All my apps are not opening now
All my apps are not opening now 200+ apps are not opening plz fast
- Failed to generate functions SSL
```appwrite-worker-certificates | Cannot renew domain (functions.domain.com) on attempt no. 9 certificate: Failed to verify domain DNS records. appwrite-worker...