Rank 3: Container
I try to deploy some function, it show "Building..." during minutes and freeze the entire server.
Here is the result of docker logs appwrite-worker-builds
worker.v1-builds · 295.44s · 4e97ac22
level info
project.id xxx-prod
build.type deployment
resource.id db-synchronization
resource.type functions
deployment.id 6a5f67e6c5b4152f8b34
build.timeout 900
build.runtime dart-3.5
build.version v3
build.cpus 1
build.memory 512
deployment.status failed
build.source_size 18801
build.node_modules_cache.enabled false
build.node_modules_cache.key
build.logs.finished true
build.runtime.error_type Executor\Exception
build.runtime.error_message Internal server error.
build.error.stage deployment
build.error.type Executor\Exception
build.error.message Internal server error.
build.error.file /usr/src/code/src/Executor/Executor.php
build.error.line 109
build.duration 295
Maybe it's related to some .env variables wrongly set?
_APP_FUNCTIONS_SIZE_LIMIT="30000000"
_APP_COMPUTE_SIZE_LIMIT="30000000"
_APP_FUNCTIONS_BUILD_SIZE_LIMIT="2000000000"
_APP_FUNCTIONS_TIMEOUT="900"
_APP_FUNCTIONS_BUILD_TIMEOUT="900"
_APP_COMPUTE_BUILD_TIMEOUT="900"
_APP_FUNCTIONS_CONTAINERS="10"
_APP_FUNCTIONS_CPUS="0"
_APP_COMPUTE_CPUS="0"
_APP_FUNCTIONS_MEMORY="0"
_APP_COMPUTE_MEMORY="0"
_APP_FUNCTIONS_MEMORY_SWAP="0"
_APP_FUNCTIONS_RUNTIMES="node-18.0,php-8.0,python-3.9,python-3.12,ruby-3.0,dart-2.17,dart-3.0,dart-3.5"