I'm trying to manual deployment on my locally self-hosted but when I'm trying to deploy function maualy it through an error(build log):
File Not Found
/usr/src/code/src/Executor/Executor.php:97
#0 /usr/src/code/src/Appwrite/Platform/Workers/Builds.php(407): Executor\Executor->createRuntime('60810519c59fd93...', '66cgb88002df2f4...', '/storage/functi...', 'openruntimes/py...', 'v3', true, 'src/main.py', '/storage/builds...', Array, 'tar -zxf /tmp/c...')
#1 [internal function]: Appwrite\Platform\Workers\Builds->Appwrite\Platform\Workers\{closure}()
#2 {main}
openruntimes-executor (docker log [exactly when this error occurs]):
2024-06-29 18:28:29 Stats interval started.
2024-06-29 18:28:29 Executor is ready.
2024-06-29 18:28:52 [Error] Type: Exception
2024-06-29 18:28:52 [Error] Message: File Not Found
2024-06-29 18:28:52 [Error] File: /usr/local/app/http.php
2024-06-29 18:28:52 [Error] Line: 613
2024-06-29 18:28:56 [Error] Type: Exception
2024-06-29 18:28:56 [Error] Message: Runtime not ready. Container not found.
2024-06-29 18:28:56 [Error] File: /usr/local/app/http.php
2024-06-29 18:28:56 [Error] Line: 328
this started after i have done migrations from apwrite cloud to locally
this error was also coming when i installed first time then i delete all images and containers of appwritet and re installed appwrite docker and it started manual deploying perfectly and then i migrate the database from cloud this error started again... yea i have done docker composer down and up
Delete the function and recreate it locally. Migration did probably not copy the functions builds over
Recommended threads
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...