Back

How to select runtime for function?

  • 0
  • Functions
FUZZY
2 Sep, 2023, 13:03

I tried to deploy with both cli@2.0.2 and manual zip file, since cli@3.0.0 was not ready. Both of them ask for runtime configuration. I am not sure how to specify it. I did saw a runtime option in functions/settings but there were no options.

TL;DR
There is a bug with a dropdown for selecting runtime in the appwrite GitHub repository. Several users are experiencing difficulties selecting a runtime for their functions. The suggested solution is to wait for a fix to be implemented.
D5
2 Sep, 2023, 13:12

There's an env variable for that

D5
2 Sep, 2023, 13:12

In the docker-compose file

FUZZY
2 Sep, 2023, 13:41

Is it this one? Mine is currently set to _APP_FUNCTIONS_RUNTIMES=node-16.0,php-8.0,python-3.9,ruby-3.0

D5
2 Sep, 2023, 13:42

Yes

FUZZY
2 Sep, 2023, 13:43

Then why can't I select any?

Drake
3 Sep, 2023, 20:40

There's a bug with this dropdown https://github.com/appwrite/appwrite/issues/6121

FUZZY
4 Sep, 2023, 10:58

Got it, I will wait for a fix. Thanks!

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