Back

[SOLVED] Kotlin runtime

  • 0
  • Self Hosted
  • Functions
muratdoglu
11 May, 2023, 09:06

Hi guys, I can't find kotlin-runtime on Functions - create function. I found some examples about it on google. What is the problem?

TL;DR
User is reporting that they cannot find the Kotlin runtime on the Functions - create function page. They have already added the required environment variable but it hasn't activated the Java option on the runtime dropdown. They are using a self-hosted Appwrite setup. A solution is not provided in this thread.
Vedsaga
11 May, 2023, 09:10

you need to enable it in Appwrite Env var

Vedsaga
11 May, 2023, 09:10

are you self hosted?

muratdoglu
11 May, 2023, 09:16

yes self hosted

muratdoglu
11 May, 2023, 09:17

thank you i am reading

muratdoglu
11 May, 2023, 10:09

@Vedsaga hi, i added - _APP_FUNCTIONS_RUNTIMES=java-18.0 and used sudo docker compose up -d the process was successful but, java option not activated on runtime dropdown

Vedsaga
11 May, 2023, 10:11

there is command to check diff between env one min sharing that can you run that see if that is relfected in diff or not...

Vedsaga
11 May, 2023, 10:11
TypeScript
// Once changes done to deploy again
1. sudo docker compose up -d
// You can verify if the changes have been successfully applied by running this command:
2. sudo docker compose exec appwrite vars
muratdoglu
11 May, 2023, 11:22

i fixed thank you @Vedsaga

D5
11 May, 2023, 13:01

[SOLVED] Kotlin 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