How to Read/Write local disk?
-
Hi.
In n8n, often one needs to access (read/write) host filesystem (from inside n8n).
The way it's usually implemented, via Docker, is to map a volume on the host system to a directory in the n8n container fs.
Example:
- /app/data/files:/home/cloudron/filesBut i can't seem to find a way to implement this mapping.
-
Hi.
In n8n, often one needs to access (read/write) host filesystem (from inside n8n).
The way it's usually implemented, via Docker, is to map a volume on the host system to a directory in the n8n container fs.
Example:
- /app/data/files:/home/cloudron/filesBut i can't seem to find a way to implement this mapping.
@shrey said in How to Read/Write local disk?:
Hi.
In n8n, often one needs to access (read/write) host filesystem (from inside n8n).
The way it's usually implemented, via Docker, is to map a volume on the host system to a directory in the n8n container fs.
Example:
- /app/data/files:/home/cloudron/filesBut i can't seem to find a way to implement this mapping.
It seems that the entire host fs is available via direct path:
/app/... -
Hi.
In n8n, often one needs to access (read/write) host filesystem (from inside n8n).
The way it's usually implemented, via Docker, is to map a volume on the host system to a directory in the n8n container fs.
Example:
- /app/data/files:/home/cloudron/filesBut i can't seem to find a way to implement this mapping.
-
Hi.
In n8n, often one needs to access (read/write) host filesystem (from inside n8n).
The way it's usually implemented, via Docker, is to map a volume on the host system to a directory in the n8n container fs.
Example:
- /app/data/files:/home/cloudron/filesBut i can't seem to find a way to implement this mapping.
@shrey said in How to Read/Write local disk?:
Hi.
In n8n, often one needs to access (read/write) host filesystem (from inside n8n).
The way it's usually implemented, via Docker, is to map a volume on the host system to a directory in the n8n container fs.
Example:
- /app/data/files:/home/cloudron/filesBut i can't seem to find a way to implement this mapping.
It seems that the entire host fs is available via direct path:
/app/... -
@shrey You can access that filesystem in my.domain.com (your cloudron instance) and select the settings for the app in there and select the file manager or terminal.
-
S shrey has marked this topic as solved on
-
Hi @murgero .
Sorry, the query is specifically for accessing files from within
n8n(Have updated my OP).Nevertheless, found out how to go about it.
@shrey Could you post the solution? I'm also stuck with it
Tried various things but none worked, and error messages are completely useless, logs, too.

-
Figured it out.
Note: I manually created a
n8n-uploadsfolder in my case.In n8n, using the "Read/Write Files from Disk" action:
File Path and Name:/app/data/n8n-uploads/file.jpeg
/app/data/file.jpegworks out of the box, but I wanted to store all my files in the same folder.
Here is a video:
https://www.loom.com/share/5e6bccdbd19842a489cc10f90ea871d4 -
Figured it out.
Note: I manually created a
n8n-uploadsfolder in my case.In n8n, using the "Read/Write Files from Disk" action:
File Path and Name:/app/data/n8n-uploads/file.jpeg
/app/data/file.jpegworks out of the box, but I wanted to store all my files in the same folder.
Here is a video:
https://www.loom.com/share/5e6bccdbd19842a489cc10f90ea871d4@AmbroiseUnly
Great, this helps me finally
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login