I recently setup an Appwrite server, installed with Docker. I am using the Appwrite CLI to init and then deploy a test function (no modifications to the function). The build/deploy fails every time, after about 9 minutes. In the .env
file I have updated _APP_FUNCTIONS_RUNTIMES=node-16.0,php-8.0,python-3.9,ruby-3.0,swift-5.9
to add Swift 5.9 runtime, and _APP_FUNCTIONS_BUILD_TIMEOUT=9000
to see if it is a timeout issue. In the Appwrite console build logs, I see this error:
/usr/src/code/src/Executor/Executor.php:97
#0 /usr/src/code/src/Appwrite/Platform/Workers/Builds.php(407): Executor\Executor->createRuntime('66b2d2e11d3eb89...', '66b2cbf70020ec7...', '/storage/functi...', 'openruntimes/sw...', 'v3', true, 'Sources/index.s...', '/storage/builds...', Array, 'tar -zxf /tmp/c...')
#1 [internal function]: Appwrite\Platform\Workers\Builds->Appwrite\Platform\Workers\{closure}()
#2 {main}```
I have had no luck getting a function to build/deploy since running into this error. Any suggestions?
I originally ran into this same error on a different project after migrating from Appwrite 1.4.9 to 1.5.7. After the migration, the functions still executed as expected, but the same functions would no longer build/deploy. It was at this point I decided to try creating a fresh project to see if I could reproduce the error.
In the openruntimes-executor
logs I'm seeing this error: [Error] File: /usr/local/app/http.php
(screenshot above).
Recommended threads
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...