mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #14634] issue: Uploading Files Crashes Open-WebUI #17320
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @austin3410 on GitHub (Jun 3, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14634
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.13
Ollama Version (if applicable)
v0.9.0
Operating System
Windows Server 2022
Browser (if applicable)
Edge/Chrome
Confirmation
README.md.Expected Behavior
Uploading a directory of documents to a Knowledge through the WebUI or API should process all documents successfully.
Actual Behavior
A random amount of the documents upload successfully (normally around 20-60) but eventually, one document fails, Open-WebUI crashes WITHOUT ERROR, the Vector DB for that Knowledge gets corrupted and no other documents are able to be uploaded to it. The documents that were successfully uploaded are still present and RAG queries work as expected with those documents.
Essentially that Knowledge enters a locked state in which it works properly, but no other documents can be uploaded. Attempting to do so results in an Open-WebUI server crash.
Steps to Reproduce
Using web UI:
java -jar tika-server.jaropen-webui serveUsing the API
Logs & Screenshots
Open-WebUI logs for last two file uploads. The first is successful, the second crashes the server.
In this example I was using the Python API script.
When going through the WebUI, the logs are generally the same, minus the lines about file.content_type: None and File type None is not provided.
Either way the final behavior is the same, Open-WebUI fails to upload all the files and crashes.
Ollama Server Logs and Tika Server Logs contain no errors, they simply stop receiving requests.
Client Browser Logs:
Additional Information
Running the Python API Script below generates the same behavior.
Attempting to upload the documents through the WebUI on the Open-WebUI server itself (localhost:8080) also generates the same behavior.
API Python Script:
MY OPEN-WEBUI DOCUMENTS SETTINGS
I have no Pipelines enabled.
Let me know if there's anything else I need to provide.