Steps
Check which binary data mode you set
Look for
N8N_DEFAULT_BINARY_DATA_MODEon both the main instance and every worker. In n8n 2.43.7, if it is not set andEXECUTIONS_MODE=queue, n8n stores files in the database, which every worker can read. Many older Docker guides set it tofilesystem, and that is what broke our worker.If it says filesystem, share the folder or remove it
With
filesystem, the main instance writes an uploaded file to its own disk and the worker looks for it on its disk. Our worker with its own storage folder failed withFile not foundand the webhook answeredError in workflow. Either delete the variable (database mode) or mount the same volume at the same path on main and workers (in Docker, the same volume on/home/node/.n8n, or setN8N_STORAGE_PATHto one shared folder).Restart main and workers together
The mode is read at start-up. Restart every n8n process after the change. Files from executions that already ran stay where they were written; in our test a worker set to filesystem still read a file the main instance had stored in the database.
Raise the database limit for big files
Database mode caps each file at 512 MB by default. Over the cap, the main instance logged
Failed to write binary filewithexceeds the max size limit of 1 MB set for `database` mode(we set the cap to 1 MB to test it) and the webhook answeredWorkflow Webhook Error: Workflow could not be started!. SetN8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE(in MB, up to 1024), or use S3 mode, which needs an n8n Enterprise license.Move off in-memory mode
N8N_DEFAULT_BINARY_DATA_MODE=defaultkeeps files in memory. It worked in queue mode in our run, but n8n 2.43.7 prints a warning that it will be removed in a future version. Switch to database or filesystem with a shared folder.
What we ran
On 23 October 2026 we started n8n 2.43.7 in queue mode: one main instance (n8n start), one worker (n8n worker), Redis 8.0.2 and a shared SQLite database. The workflow was a Webhook (POST, respond when the last node finishes) followed by Extract from File (CSV). We uploaded a small CSV with curl -F "data=@small.csv" http://localhost:5690/webhook/bin-in. To copy a typical Docker setup where main and worker are separate containers, the worker got its own storage folder unless the row says shared.
| Setup (main and worker) | What the webhook answered | Result |
|---|---|---|
| Nothing set (n8n picks database mode in queue mode), worker has its own folder | The 2 CSV rows | Worked; the file was stored in the binary_data table |
N8N_DEFAULT_BINARY_DATA_MODE=filesystem on both, worker has its own folder | {"message":"Error in workflow"} | Failed: Extract from File on the worker stopped with File not found |
filesystem on both, shared folder | The 2 CSV rows | Worked |
Main left on database, worker set to filesystem with its own folder | The 2 CSV rows | Worked: the worker read the file from the database, where the main instance wrote it |
Database mode with N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE=1, 2.13 MB CSV | Workflow Webhook Error: Workflow could not be started! | Failed on the main instance: Failed to write binary file "big.csv" (…) because its size of 2.13 MB exceeds the max size limit of 1 MB set for `database` mode. |
N8N_DEFAULT_BINARY_DATA_MODE=default (in memory) on both | The 2 CSV rows | Worked, with the warning In-memory binary data storage (`default` mode) will be removed in a future version. |
The failing run is the confusing one: the worker logged Worker started execution and Worker finished execution like a normal run, and nothing on the main instance looked wrong. The only clue is the execution itself, where Extract from File shows File not found. The same happens with any node that reads a file another process received, such as a Webhook or Form upload followed by Extract from File, Google Drive upload or an HTTP Request that sends the file.
Settings that worked
# main and every worker: leave the mode unset (database in queue mode)
EXECUTIONS_MODE=queue
QUEUE_BULL_REDIS_HOST=redis
N8N_ENCRYPTION_KEY=the-same-key-everywhere
# optional, in MB, default 512, max 1024
N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE=1024
# or keep filesystem mode, but give main and workers the same volume
N8N_DEFAULT_BINARY_DATA_MODE=filesystem
# docker compose: the same named volume on every n8n service
# volumes: [ "n8n_data:/home/node/.n8n" ]
Good to know
- Workers that don't start, stay idle, or can't reach Redis: see n8n queue mode Redis and worker errors.
- Binary errors that happen in any mode, like
none was foundor a Set node dropping the file: n8n binary data not found. Email attachments: n8n Email Trigger (IMAP) attachments. - Every error text from our n8n guides is in the n8n error message index.
What we didn't test
- PostgreSQL (we used SQLite, which n8n warns is not officially supported in queue mode), S3 or Azure storage (license needed), separate webhook processors, and Docker itself. The volume line above follows n8n's docs, not our runs.
- Opening binary files in the editor after a worker run, and pruning of old binary data.
Start from a working agent
FAQ
Why does my n8n worker say File not found in queue mode?
The file was received by the main instance and saved to its own disk because N8N_DEFAULT_BINARY_DATA_MODE is filesystem, and the worker runs on another disk. Remove the variable so n8n uses database mode in queue mode, or mount the same folder on main and workers.
What binary data mode does n8n use in queue mode?
In n8n 2.43.7, when N8N_DEFAULT_BINARY_DATA_MODE is not set and EXECUTIONS_MODE is queue, n8n stores binary data in the database. Outside queue mode the default is filesystem.
Does n8n filesystem binary mode work with workers?
Yes, if main and every worker see the same folder. In our run it worked with a shared folder and failed with File not found when the worker had its own.
What is the file size limit for n8n database binary mode?
512 MB per file by default. Set N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE in MB, up to 1024. Over the limit, the main instance logs 'exceeds the max size limit' and a webhook answers 'Workflow could not be started!'.
Do I need S3 for n8n queue mode?
No. Database mode works with workers without any license. S3 and Azure storage need an n8n Enterprise license.
Related guides
- n8n Webhook file upload not working? Binary data keys, 25 tests
- n8n Form Trigger not working? Form errors fixed, 10 tests
- n8n queue mode not working? Redis and worker errors, 12 tests
- n8n Execute Workflow node not working? 71 sub-workflow tests
- n8n out of memory? 9 crash tests, and the setting to raise
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes