Skip to content
Back

Selfhosted starter python function returns 500, starter node function works

  • 0
  • 8
  • Self Hosted
  • Functions
12 Jun, 2026, 18:49

I am running a selfhosted appwrite instance. Creating a node function and executing it works just fine but when i try to execute a python starter function, i get a "Error 500 An unexpected server error occured.".

I did not change anything about the runtimes or function env's in the .env file and its set up using the automated way (the only thing i changed was function and site domains)

Does anyone know why or how i can fix it?

TL;DR
User is experiencing a 500 error with a self-hosted starter Python function, while the starter node function is operational. The user is inquiring about an estimated timeframe for the issue to be resolved.
12 Jun, 2026, 22:21

Fixed it.

Problem 1: https://github.com/appwrite/appwrite/issues/11763 The docker compose file is simply broken and missing curcial services.

Problem 2: _APP_EXECUTOR_HOST (not sure on this, works like this for me) Apparently its set up wrong in the env file and needs to be _APP_EXECUTOR_HOST="http://openruntimes-executor/v1" There are multiple different "fixes" online, they name different hosts, like http://executor/v1, http://appwrite-executor/v1 etc.

The problem here is that the official .env var documentation doesnt say what the default should be, nor if we can figure it out ourself somehow.

Problem 3: The python starter template uses an sdk version thats not yet supportet (1.9.5) This needs to be adressed in the requirements.txt file (by hardcoding the 1.9.0 working version) or fix the template in line 22, changing context.log("Total users: " + str(response["total"])) to context.log("Total users: " + str(response.total))

<@&1319717958645452800> <@&634618551491100692>

Sorry for tagging you directly but i dont know who else to tag for this. Is this being looked into? There seems to be wrong A LOT for something that should "just work".

14 Jun, 2026, 12:26

these issues as far as i know have been fixed in the latest codebase, they are just awaiting a new self hosted release

14 Jun, 2026, 13:57

I know etas are annoying but do you have a rough timeframe as to when it might be done? Like, is it shortly deploying or are we more talking weeks/months?

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