Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. n8n binary path

n8n binary path

Scheduled Pinned Locked Moved Solved Support
8 Posts 5 Posters 5.6k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    simong
    wrote on last edited by simong
    #1

    Hi, what is the correct path to write or read a binary file in n8n with Cloudron?
    If I enter no path, I get a permission error: ERROR: EROFS: read-only file system, open 'sample.csv'
    If I enter the standard path I get a not found error: /home/node/.n8n/sample.csv or /app/data/.n8n/sample.csv: ERROR: ENOENT: no such file or directory, open '/app/data/.n8n/sample.csv'

    Thanks a lot

    1 Reply Last reply
    0
    • martinkbsM Offline
      martinkbsM Offline
      martinkbs
      wrote on last edited by
      #5

      Hi @simong
      Any binary file found in /app/data/ can be read or written by n8n in Cloudron

      1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        I don't think I understand your question, can you elaborate a bit what you want to achieve? What is this sample.csv and how are you trying to read or write a binary file?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          simong
          wrote on last edited by
          #3

          @nebulon I want to write a file to the local file system with the "Write Binary File" Node. But I have to specify a path to do so.

          https://share.getcloudapp.com/bLul4qWZ
          https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.writebinaryfile/

          Same question for n8n Cloud: https://community.n8n.io/t/path-for-storing-writing-binary-file-on-n8n-cloud-write-binary-file-node/7383

          1 Reply Last reply
          0
          • BrutalBirdieB Offline
            BrutalBirdieB Offline
            BrutalBirdie
            Partner
            wrote on last edited by
            #4

            @simong
            All Data which is also included in the backup is stored in /app/data/

            Like my work? Consider donating a drink. Cheers!

            1 Reply Last reply
            0
            • martinkbsM Offline
              martinkbsM Offline
              martinkbs
              wrote on last edited by
              #5

              Hi @simong
              Any binary file found in /app/data/ can be read or written by n8n in Cloudron

              1 Reply Last reply
              1
              • S Offline
                S Offline
                simong
                wrote on last edited by simong
                #6

                Thank you very much! Because of the solution in the n8n Forum I tried writing to the /app/data/.n8n/ folder, which is not writable, but I could just use /app/data/ as the path.

                BrutalBirdieB 1 Reply Last reply
                0
                • S simong has marked this topic as solved on
                • S simong

                  Thank you very much! Because of the solution in the n8n Forum I tried writing to the /app/data/.n8n/ folder, which is not writable, but I could just use /app/data/ as the path.

                  BrutalBirdieB Offline
                  BrutalBirdieB Offline
                  BrutalBirdie
                  Partner
                  wrote on last edited by
                  #7

                  @simong said in n8n binary path:

                  Thank you very much! Because of the solution in the n8n Forum I tried writing to the /app/data/.n8n/ folder, which is not writable, but I could just use /app/data/ as the path.

                  Did you check that /app/data/.n8n/ the .n8n folder exists? Because if does not n8n might not create it for you.
                  This could have also been your issue.

                  Like my work? Consider donating a drink. Cheers!

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    AmbroiseUnly
                    wrote on last edited by
                    #8

                    I ran into a similar issue today, here is my solution:

                    Note: I manually created a n8n-uploads folder 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.jpeg works out of the box, but I wanted to store all my files in the same folder.

                    image.png

                    Here is a video:
                    https://www.loom.com/share/5e6bccdbd19842a489cc10f90ea871d4

                    1 Reply Last reply
                    1

                    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
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search