console
console copied to clipboard
🐛 Bug Report: Can't select runtime (python, phd, node) in self-hosted appwrite function template
👟 Reproduction steps
Hey all. I'm hosting my own appwrite server and I've succesfully connected my appwrite to my github app. However, for some function templates such as generate pdf, I can't select runtime for deployment. For the starter template, I was able to choose different runtime type
👍 Expected behavior
It should be able to select several runtime types
👎 Actual Behavior
Can't select runtime (python, phd, node) in self-hosted appwrite function template
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Linux
🧱 Your Environment
I use appwrite 1.4.13.
👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
https://github.com/appwrite/console/assets/63137043/8658677f-fc64-465d-a33f-752a26f6c0f8
This happens because the only supported runtime for the function on your appwrite
instance is node-18.0
and also due to this which doesn't seem to set a visible default runtime item.
Hey Appwrite Team, Can I be assigned to work on this?
Thanks for the reply. Actually the function Generate PDF from Appwrite template supports multiple runtime types.
Yes, but this happens when the runtime installed on your appwrite
instance is only one of the supported ones. Dropdown is shown when you have more than one supported runtime.
Assigning @ItzNotABug , his findings seem relevant. Thanks both for participating in the issue, can' wait to review the PR 🥳