mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
[GH-ISSUE #17852] issue: File type and empty text file upload issue regarding Knowledge #105414
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 @zhengchen-zzZ on GitHub (Sep 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17852
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.30
Ollama Version (if applicable)
No response
Operating System
Windows 11
Browser (if applicable)
Chrome latest version
Confirmation
README.md.Expected Behavior
In older versions of OpenWebUI (around 0.6.24):
Users could directly upload an entire project directory containing various file types (e.g., a VuePress docs directory) to the Knowledge module.
The system could automatically identify and process document-like files (such as .md, .txt, etc.), while automatically skipping unsupported file types (such as images, fonts, videos, etc.).
The upload process would not be interrupted or stuck when encountering non-text files like images; instead, it would continue to process subsequent valid document files.
The final result was that all valid articles could be successfully indexed and updated with a single upload operation, greatly improving the maintenance efficiency of multi-article projects.
Actual Behavior
In a recent new version of OpenWebUI (the specific starting version is uncertain):
When attempting to upload a complete docs directory containing image files (such as .png, .jpg, etc.), the file upload process gets stuck or stops upon encountering an image file.
Subsequent document files, even if correctly formatted and containing valid content, are no longer processed or uploaded, leading to a partial or significant number of articles not being updated.
It is necessary to manually pre-clean image or other static resources from the directory, or separate documents from resources, to complete the upload smoothly, which increases repetitive and tedious operational burden.
Related error logs appear in the console (although specific content is not provided, it implies an abnormality in the image processing link), further indicating that the system encounters an unhandled exception or blockage when processing non-document files.
Steps to Reproduce
Logs & Screenshots
Additional Information
@tjbck commented on GitHub (Sep 28, 2025):
Could you share your file with us?