I’m trying to set up a local folder mount in n8n using Docker. I have a Windows directory (D:/n8n-data/binaryData/shared_folder) that I’ve mounted to /data/windows_shared inside the n8n container. However, I’m unsure of how to specify this folder path in n8n’s UI so that the Local File Trigger node recognizes it.
I’ve already verified that the Docker mount works correctly by running a separate Docker container that was able to access this folder. But when I specify the path in the Local File Trigger node (e.g., /data/windows_shared), n8n doesn’t seem to detect the folder. I’m looking for guidance on how to format the path in n8n or adjust my configuration so that it works.
What is the error message (if any)?
No error message, but the Local File Trigger node doesn’t detect changes in the specified directory.
Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.
```
<your workflow>
```
That implies to any JSON output you would like to share with us.
Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!
You can check the actual absolute location of the mount point inside the container in Docker itself.
For example, I copied my local folder (on Mac) to the container with the docker command
❯ docker cp /Users/ihor/n8n/data/ n8n:/data
Successfully copied 63kB to n8n:/data
Now, that folder is available there as shown in the screenshot
Hey @ihortom Thank you so much for taking your time to help me!
I’ve tried to activate the workflow, but saw no changes. I’ll upload a video here that shows, that I was sucessfully seeing data in docker and also verifying seeing new data coming in.
Here is the video showing workflow, activation, me having the correct rights, seeing the files in docker, seeing the manual change in data from the n8n docker, the non-triggering workflow despite the settings and the yaml config.
Thank you for still helping me! I am on “Version: 1.62.3” according to the container in docker, which was bundled in docker-compose within the “self-hosted-ai-starter-kit”.
Currently I have given up a bit internally I literally watched the n8n video https://youtu.be/UCTCfB4J9J4?t=49 and was stuck on step 1 XD (but of course, I choose to go self-hosted with docker, so that means I need to deal with the complexity of running it myself).
I’ve since updated the full docker compose setup, now running 1.62.6 (it was the “latest” available). The problem however persists and I am still unable to fix it : /