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. OpenWebUI
  3. is /data/docs the right path ?

is /data/docs the right path ?

Scheduled Pinned Locked Moved OpenWebUI
6 Posts 3 Posters 3.6k Views 3 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.
  • JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    wrote on last edited by
    #1

    I beleive the path should be: /app/data/docs instead of /data/docs

    • Scan for documents from DOCS_DIR (/data/docs)
      3ec8735a-86fb-443f-a264-d9588f3badae-image.png

    otherwise;

    • I don't understand why I can't upload documents in my instance.
    1 Reply Last reply
    1
    • nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote on last edited by
      #2

      Looking at the app source code this seems to just be a display issue: https://github.com/search?q=repo%3Aopen-webui%2Fopen-webui DOCS_DIR&type=code

      The actual path is built via DOCS_DIR = os.getenv("DOCS_DIR", f"{DATA_DIR}/docs") and DATA_DIR on Cloudron is set to /app/data

      1 Reply Last reply
      2
      • JOduMonTJ Offline
        JOduMonTJ Offline
        JOduMonT
        wrote on last edited by
        #3

        yes; at the end; the lack of User Interface FeedBack from OpenWebUI and the poor ressource of my server made me wondering if my 600mb of files where being uploading in /data/docs

        I guess it was mostly due to the treatments and OCR of PDFs
        since it took a while 😉

        now I have, almost in triple my files and mostly in /data/docs and /data/uploads
        @nebulon do you know which of these directory is the permanent one ?
        how should I simply leave those alone ...

        1 Reply Last reply
        0
        • nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #4

          To be clear /data/.. should not actually exist and is not writeable. I guess you mean /app/data/data/...?

          1 Reply Last reply
          0
          • J Offline
            J Offline
            Jack-613
            wrote on last edited by
            #5

            Please forgive my ignorance, but I am a beginner.

            I'm using Open webui in docker on a Macbook and I'm wondering how and where I can get to the /data/docs directory to store documents there and update them for my RAG via scan...

            thx

            1 Reply Last reply
            0
            • nebulonN Away
              nebulonN Away
              nebulon
              Staff
              wrote on last edited by
              #6

              @Jack-613 this is a Cloudron related forum, so if you are not using OpenWebUI on Cloudron, then you should probably ask in the upstream project instead.

              1 Reply Last reply
              0

              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