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
- TOO_MANY_REDIRECTS after temporarily ena...
I am losing my mind over this, I enabled this setting because I was having issues with sites not making links with https. I enabled it, ran into issues, so I di...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...
- Triggers and call function in function p...
Hello, Today we are experiencing several issues with Appwrite Cloud. Functions triggered by events, or functions called from another function, are taking an e...