[GH-ISSUE #15571] issue: Error uploading files to the knowledge base #104600

Closed
opened 2026-05-18 02:17:59 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @sluan500 on GitHub (Jul 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15571

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.15

Ollama Version (if applicable)

v0.9.3

Operating System

Linux redhat

Browser (if applicable)

Chrome

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

Uploading a directory of documents to a Knowledge through the WebUI or API should process all documents successfully.

Actual Behavior

When procceding to workspace > knowledge and uploading the files, the upload fails with a 400 error. The files uploaded are .txt

Steps to Reproduce

  1. Start with a clean Red hat enterprise
  2. Install docker
  3. Install Ollama v0.9.3
  4. Install Open WebUI 0.6.15 via docker
  5. Navigate to Workspace>knowledge in http://localhost:11434
  6. Upload file .txt

Logs & Screenshots

Image Image

Additional Information

MY OPEN-WEBUI SETTINGS

Image Image Image
Originally created by @sluan500 on GitHub (Jul 7, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/15571 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.15 ### Ollama Version (if applicable) v0.9.3 ### Operating System Linux redhat ### Browser (if applicable) Chrome ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior Uploading a directory of documents to a Knowledge through the WebUI or API should process all documents successfully. ### Actual Behavior When procceding to workspace > knowledge and uploading the files, the upload fails with a 400 error. The files uploaded are .txt ### Steps to Reproduce 1. Start with a clean Red hat enterprise 2. Install docker 3. Install Ollama v0.9.3 4. Install Open WebUI 0.6.15 via docker 5. Navigate to Workspace>knowledge in http://localhost:11434 6. Upload file .txt ### Logs & Screenshots <img width="1920" height="579" alt="Image" src="https://github.com/user-attachments/assets/7d61dc90-33e9-4eab-a084-656bd9bd2451" /> <img width="565" height="456" alt="Image" src="https://github.com/user-attachments/assets/c971456b-d1d7-43b3-8a37-f4ad82e3c5e0" /> ### Additional Information MY OPEN-WEBUI SETTINGS <img width="1358" height="576" alt="Image" src="https://github.com/user-attachments/assets/d3b47033-6e0e-4a13-a551-b71f8d925081" /> <img width="1352" height="967" alt="Image" src="https://github.com/user-attachments/assets/8bc9aec2-10e4-425a-9057-03d1f02b7772" /> <img width="1356" height="958" alt="Image" src="https://github.com/user-attachments/assets/9b75c468-6a9d-4d9c-8cb0-5756d13fdae7" />
GiteaMirror added the bug label 2026-05-18 02:17:59 -05:00
Author
Owner

@guenhter commented on GitHub (Jul 9, 2025):

Hi,

is your instance started in OFFLINE_MODE=true.
If so, you don't have a local embedding and therefore the insertion is not working. https://docs.openwebui.com/tutorials/offline-mode/

<!-- gh-comment-id:3051067454 --> @guenhter commented on GitHub (Jul 9, 2025): Hi, is your instance started in `OFFLINE_MODE=true`. If so, you don't have a local embedding and therefore the insertion is not working. https://docs.openwebui.com/tutorials/offline-mode/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#104600