Binary Data Upload with HTTP-Request node causes error: ENOENT: no such file or directory … .metadata’

In my n8n I have setup

N8N_DEFAULT_BINARY_DATA_MODE=filesystem

I’m getting the same error described here

@ria here suggested to use the env

N8N_BINARY_DATA_STORAGE_PATH

to specify the storage path. Could be this the root cause?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Loreto_Parisi,

Can you share more information on what you are doing and the full error message? Are you also running n8n in queue mode?

Hello, thanks for your help, the stack trace of the node was

Object.readFile (node:internal/fs/promises:1242:14) at FileSystemManager.getMetadata (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/src/BinaryData/FileSystem.manager.ts:70:26) at BinaryDataService.getMetadata (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/src/BinaryData/BinaryData.service.ts:138:10) at Object.getBinaryMetadata (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/src/NodeExecuteFunctions.ts:1054:9) at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/Google/YouTube/YouTube.node.ts:865:25) at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/src/Workflow.ts:1383:8) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/src/WorkflowExecute.ts:1080:27 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/src/WorkflowExecute.ts:1800:11

for the error

ENOENT: no such file or directory, open '/root/.n8n/binaryData/workflows/i1fCcRCeODUWcmyI/executions/2341/binary_data/74e3e671-351d-3636-148e-5cc6655812f4.metadata'

We are not using the queue mode at this time, i.e. we are not setting in our configuration the env

export EXECUTIONS_MODE=queue

at all

@Jon hello we have configured the env to use as suggested:

N8N_BINARY_DATA_STORAGE_PATH=/home/node/.n8n/binaryData/

but it does not work and we have the same error.

ENOENT: no such file or directory, open '/root/.n8n/binaryData/workflows/i1fCcRCeODUWcmyI/executions/2341/binary_data/74e3e671-351d-3636-148e-5cc6655812f4.metadata'

We use n8n 1.59.3

Hi @Loreto_Parisi

How are you running n8n? Are you using docker? What’s your config for it?

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