Back

[SOLVED] Unable to active function runtime

  • 0
  • Self Hosted
  • Functions
Monzim
17 Apr, 2023, 12:44

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 ```
Binyamin
17 Apr, 2023, 12:45

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
Monzim
17 Apr, 2023, 12:51

[SOLVED] Unable to active function runtime

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more