[Self-Hosted] n8n Executes Workflow on Main Container Despite OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS=true

n8n Executes Workflow on Main Container Despite OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS=true

Describe the problem/error/question

I have set this environment variable to all the container (worker, main and webhook)

OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS:
        value: "true"

but still get the execution on main container
My question is, why in run on main container and how to prevent the execution run on main container

What is the error message (if any)?

025-07-15T06:37:30.008Z | debug | Execution added {"executionId":"25704","file":"active-executions.js","function":"add"}
2025-07-15T06:37:30.012Z | info | Enqueued execution 25704 (job 6131) {"scopes":["scaling"],"executionId":"25704","jobId":"6131","file":"scaling.service.js","function":"addJob"}
2025-07-15T06:37:30.679Z | info | Execution 25704 (job 6131) finished successfully {"scopes":["scaling"],"workerId":"worker-bj5yqh6RNZd5lF5a","executionId":"25704","jobId":"6131","file":"scaling.service.js"}

Information on your n8n setup

  • n8n version: 1.94.1
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): queue
  • Running n8n via (Docker, npm, n8n cloud, desktop app): helm
  • Operating system: Rocky Linux 8.10
  1. Use a Manual Trigger node (not the “Execute Workflow” button)
  • Add a Manual Trigger node at the top of your workflow.
  • Click “Execute Workflow” on that node when testing.
  • Reason: n8n’s OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS only applies to Manual Trigger executions, not to the editor’s “Run” button.
  1. Split your processes correctly
  • Main container:
env:
  - name: EXECUTIONS_PROCESS
    value: queue
  - name: OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS
    value: "true"
  • Worker containers:
env:
  - name: EXECUTIONS_PROCESS
    value: worker
  - name: OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS
    value: "true"
  1. Redeploy your Helm / Docker stack so the main process only enqueues jobs and workers pick them up.
  2. Verify in the logs that manual-trigger jobs show up as
Enqueued execution … (job …)
Execution … finished successfully {"workerId":"worker-…"}

After that, Manual Trigger runs will be offloaded to your workers as expected.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.