within docker the Files folder has this “drwxrwxrwx” next to the mode.
i want to save within the Files folder
file.png - Node executed successfully
/home/node/.n8n/Files/file.png - this says is not writable
home/node/.n8n/Files/file.png - The file or directory does not exist
/Files/file.png The file or directory does not exist
What is the error message (if any)?
Problem in node ‘Read/Write Files from Disk‘
The file “/home/node/.n8n/Files/file.png” is not writable.
Please share your workflow
Share the output returned by the last node
Problem in node ‘Read/Write Files from Disk‘
The file “/home/node/.n8n/Files/file.png” is not writable.
This could cause conflicts, because Docker will mount the first one .n8n and then override its subfolder .n8n/Files with a second mount. Depending on how Docker initializes mounts, the inner mount can shadow the outer one, or vice versa.
I suggest to simply remove the second volume for D:\Files\sourcecode\n8nv1\n8n_data\Files
If the directory do not exists, you can simply create one using the command node.
if i just use the filename it will save in the node folder, but i want it in the Files folder, so i can access it from my local computer and have another automated process within window to do something with it.
It would be much easier if you would create a seperate volume in docker and then mount a local directory on /Files
docker volume create n8n-data or in your case for the yml (
volumes:
n8n-data:
and mount that -v n8n-data:/home/node/.n8n
and after that mount your local directory (and preferably on a total different path which doesn’t mess up the previous mount -v D:\Files\sourcecode\n8nv1\n8n_data\Files:/Files)
Hi i would still change your /home/node/.n8n to the n8n_data. normally you don’t have a use to access that data over there. and it will avoid from wrong deletion