after creating new appwrite instance unable to active dart-2.17, node-18.0 runtime. Tried to restart and reboot but not solve the issue
TypeScript
_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes
_APP_FUNCTIONS_ENVS=dart-2.17,node-18.0
_APP_FUNCTIONS_INACTIVE_THRESHOLD=60
TL;DR
The user was unable to activate the `dart-2.17` and `node-18.0` runtime on their newly created Appwrite instance. They tried restarting and rebooting, but it didn't solve the issue.
The solution is to update the variable `_APP_FUNCTIONS_ENVS` to `_APP_FUNCTIONS_RUNTIMES`. Here is the correct configuration:
```ini
_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes
_APP_FUNCTIONS_RUNTIMES=dart-2.17,node-18.0
_APP_FUNCTIONS_INACTIVE_THRESHOLD=60
```Setting the variable _APP_FUNCTIONS_ENVS is deprecated
Use _APP_FUNCTIONS_RUNTIMES instead.
TypeScript
_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes
_APP_FUNCTIONS_RUNTIMES=dart-2.17,node-18.0
_APP_FUNCTIONS_INACTIVE_THRESHOLD=60
[SOLVED] Unable to active function runtime
Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- SSL certificate generation failed even t...
Hello, I have an Appwrite Site for which I added a custom domain. However, even though the domain is verified, the SSL certificate generation is failing. It is ...
- [Self-hosted] Realtime crashes with "Mis...