Enable local file trigger node

Describe the problem/error/question

Local File Trigger node is disabled by default since n8n 2.0. Adding environmentvariable does not work

  - NODES_INCLUDE="[\"n8n-nodes-base.localFileTrigger\"]"

What is the correct setting of environment-variables.

Btw.: Block access to nodes | n8n Docs is in section Enable nodes that are blocked by default telling NODES_EXCLUDE: “ [ ]”

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 2.0.3
  • Database (default: SQLite): postgresql
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker Compose
  • Operating system: Proxmox Debian 12

Did you try adding exactly NODES_EXCLUDE: "[]" to your environment variables as shown in the docs?

Yes, I did. It is working. But this includes all disabled nodes. I’m lloking for a solution to include only the local-trigger-node

There aren’t many disabled nodes. It wouldn’t be wrong to add them inside NODES_EXCLUDE: "[]".

O.K. Thank you so much.

But I’m not happy with version 2.n.. There are lots of severe changes and the documentation is not the best.

addition:

NODES_EXCLUDE=“[“n8n-nodes-base.localFileTrigger”]” enables all disabled nodes as NODES_EXCLUDE=“[ ]” does.

And as mentioned: NODES_INCLUDE does nothing

A lot of work for 2026

2 Likes

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