n8n Binary File Size Limit Issue
katerynatir-n8n
HOBBYOP

a month ago

Hi,

I'm running a self-hosted n8n instance on Railway and encountering an issue with downloading large files (video recordings from Google Meet).

The Problem:

When trying to download a 533 MB video file through n8n, I receive this error:

Failed to write binary file because its size of 533.14 MB exceeds the max size limit of 512 MB set for `database` mode.

What I've Tried:

I added the environment variable N8N_BINARY_DATA_DATABASE_MAX_FILE_SIZE=1073741824 (1 GB) to both my n8n main service and Worker service, then redeployed both services. However, the limit still appears to be 512 MB.

My Setup:

  • n8n version: 2.4.8 (Self Hosted)

  • Binary data mode: database

  • Platform: Railway

Questions:

  1. Is there a platform-level restriction on Railway that overrides this environment variable?

  2. Are there any additional steps required to apply this configuration change?

$10 Bounty

0 Replies

Loading...