Skip to content
Back

Can't run functions from console in appwrite 1.9.0 self-hosted

  • 0
  • Self Hosted
  • Functions
merabtene
12 Jun, 2026, 06:56

Hello, I have an appwrite 1.9.0 self hosted, functions run correctly with client SDK or event when using the function domain *.function.mydomain, for testing purpose i created a hello world function that just prints a message. When creating an execution from the console, the execution fails with a status code "0" and there's no logs or errors. I checked the docker logs and i got no errors too.

Thanks in advance for your support.

TL;DR
Solution: Manually add the missing service "appwrite-worker-executions" in the docker-compose.yml file with the provided configuration and restart the services.
merabtene
12 Jun, 2026, 08:31

So after some research i found a similar issue with a fix : https://discord.com/channels/564160730845151244/1489440129553530980 I followed the exact steps on the manual installation doc, it seems the generated docker-compose.yml file from there is missing a service. I don't know why the documentation was not fixed until now, but for now you need to add this service manually

TypeScript
  appwrite-worker-executions:
    image: appwrite/appwrite:1.9.0
    entrypoint: worker-executions
    <<: *x-logging
    container_name: appwrite-worker-executions
    restart: unless-stopped
    networks:
      - appwrite
    depends_on:
      redis:
        condition: service_healthy
      mariadb:
        condition: service_healthy
      openruntimes-executor:
        condition: service_started
    environment:
      - _APP_ENV
      - _APP_WORKER_PER_CORE
      - _APP_OPENSSL_KEY_V1
      - _APP_DOMAIN
      - _APP_OPTIONS_FORCE_HTTPS
      - _APP_REDIS_HOST
      - _APP_REDIS_PORT
      - _APP_REDIS_USER
      - _APP_REDIS_PASS
      - _APP_DB_ADAPTER
      - _APP_DB_HOST
      - _APP_DB_PORT
      - _APP_DB_SCHEMA
      - _APP_DB_USER
      - _APP_DB_PASS
      - _APP_FUNCTIONS_TIMEOUT
      - _APP_SITES_TIMEOUT
      - _APP_COMPUTE_BUILD_TIMEOUT
      - _APP_COMPUTE_CPUS
      - _APP_COMPUTE_MEMORY
      - _APP_EXECUTOR_SECRET
      - _APP_EXECUTOR_HOST
      - _APP_USAGE_STATS
      - _APP_DOCKER_HUB_USERNAME
      - _APP_DOCKER_HUB_PASSWORD
      - _APP_LOGGING_CONFIG
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