
Self-hosted docker Executor logs:
TypeScript
2024-08-25T08:03:27.314714728Z Pulling v4 images...
2024-08-25T08:03:27.317496929Z Warming up Node.js 21.0 environment...
2024-08-25T08:04:11.975133734Z Successfully Warmed up Node.js 21.0!
2024-08-25T08:04:11.975237512Z Image pulling finished.
2024-08-25T08:04:11.975500974Z Starting maintenance interval...
2024-08-25T08:04:11.976316028Z Maintenance interval started.
2024-08-25T08:04:11.976327550Z Starting stats interval...
2024-08-25T08:04:13.984385891Z Stats interval started.
2024-08-25T08:04:13.986122139Z Executor is ready.
2024-08-25T08:04:33.902229419Z [Error] Type: Utopia\Http\Exception
2024-08-25T08:04:33.902267993Z [Error] Message: Invalid `version` param: Value must be one of (v2, v4)
2024-08-25T08:04:33.902273103Z [Error] File: /usr/local/vendor/utopia-php/framework/src/Http/Http.php
2024-08-25T08:04:33.902276940Z [Error] Line: 944
2024-08-25T08:04:39.543027478Z [Error] Type: Exception
2024-08-25T08:04:39.544056908Z [Error] Message: Runtime not ready. Container not found.
2024-08-25T08:04:39.544384622Z [Error] File: /usr/local/app/http.php
2024-08-25T08:04:39.544402385Z [Error] Line: 354
Function log:
TypeScript
Invalid `version` param: Value must be one of (v2, v4)
/usr/src/code/src/Executor/Executor.php:97
#0 /usr/src/code/src/Appwrite/Platform/Workers/Builds.php(424): Executor\Executor->createRuntime('66cae591ba98716...', '66cab335002e3a3...', '/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}
Supposedly the image was pulled and container was warmed up, but once I deploy a function I get the above errors.
Any pointers?
Thank you!
TL;DR
Developers are encountering errors when trying to build functions, receiving 'Invalid `version` param' and 'Runtime not ready. Container not found' messages. The issue may be related to a parameter error and readiness of the runtime. Verify the `version` parameter values and ensure the container is correctly set up. Recommended threads
- Relationship problem
When I UPDATE a document that has a relationship and I pass id and all the data of the relationship it works but if i CREATE a document then it says 401 user un...
- Automatic chunking for large media does ...
Hi! Using https://github.com/appwrite/sdk-for-apple to upload images to Storage, it does not upload images larger than ~2mb. Error message: `Invalid document...
- keep getting cached data from db
I keep getting cached data from db queries. In my case I query data during build time for building a static nextjs app. sometimes (and very randomly) I get old ...
