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
- 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...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...