Describe the problem/error/question
The external task launcher failed
What is the error message (if any)?
2025/12/08 15:23:28 INFO Starting launcher’s health check server at port 5680
2025/12/08 15:23:28 INFO [launcher:py] Starting launcher goroutine…
2025/12/08 15:23:28 ERROR [launcher:py] Failed to execute launch command: failed to chdir into configured dir (): chdir : no such file or directory
2025/12/08 15:23:28 ERROR [launcher:js] Failed to execute launch command: failed to chdir into configured dir (): chdir : no such file or directory
2025/12/08 15:23:28 INFO [launcher:js] Starting launcher goroutine…
Information on your n8n setup
- n8n version: 1.121.3
- Running n8n via (Docker, npm, n8n cloud, desktop app): Dokploy Docker
My docker file is
services:
n8n:
build: ../files/
# image: n8nio/n8n:latest
restart: unless-stopped
container_name: n8n-main
environment:
# Configuration PostgreSQL
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PORT=5432
- DB_POSTGRESDB_DATABASE=${POSTGRES_DB}
- DB_POSTGRESDB_USER=${POSTGRES_USER}
- DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
#--- task runners (broker) ---
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=external
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
- N8N_RUNNERS_AUTH_TOKEN=${N8N_RUNNERS_AUTH_TOKEN}
- N8N_NATIVE_PYTHON_RUNNER=true
# SÉCURITÉ - Encryption (IMPORTANT)
- N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
# Configuration réseau
- N8N_HOST=${N8N_HOST}
- N8N_PORT=${N8N_PORT}
- N8N_PROTOCOL=http
- NODE_ENV=production
- WEBHOOK_URL=https://${N8N_HOST}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
- N8N_SECURE_COOKIE=false
volumes:
- n8n_data:/home/node/.n8n
depends_on:
postgres:
condition: service_healthy
task-runners:
build:
context: ../files/
dockerfile: Runner-Dockerfile
image: n8nio/runners:1.121.3
restart: unless-stopped
environment:
- N8N_RUNNERS_TASK_BROKER_URI=http://n8n-main:5679
- N8N_RUNNERS_AUTH_TOKEN=${N8N_RUNNERS_AUTH_TOKEN}
- N8N_RUNNERS_LAUNCHER_LOG_LEVEL=debug
# - N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT=15
# - N8N_RUNNERS_MAX_CONCURRENCY=5
depends_on:
- n8n
volumes:
n8n_data:
postgres_data: