mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[GH-ISSUE #14076] issue: Persistent Data Remnants in Docker Volume After Deleting Knowledge Base Files in Open-WebUI #136858
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 @mokieli on GitHub (May 20, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14076
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.10
Ollama Version (if applicable)
No response
Operating System
Windows11
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When a file collection is deleted from the knowledge base via the WebUI, all associated files — including both the original text files in the uploads folder and the parsed data in the vector_db folder — should be completely removed from the Docker volume. Additionally, executing "Reset Upload Directory," "Reset Vector Storage/Knowledge," and "Rebuild Knowledge Base Vectors" should fully clear any residual vector data and free up storage space.
Actual Behavior
After deleting a file collection from the knowledge base via the WebUI, the uploads folder and vector_db folder inside the Docker volume still retain the original text files imported into the knowledge base and the parsed data files. Moreover, the parsed data files in vector_db take up a significant amount of storage space. Performing 'Reset Upload Directory', 'Reset Vector Storage/Knowledge', and 'Rebuild Knowledge Base Vectors' in the Admin Settings under the Document section does not remove the residual data in vector_db; only the contents of the uploads folder are cleared.
Steps to Reproduce
uploadsfolder within the volume and verify that the original file has been removed.vector_dbfolder and observe that the parsed vector data files related to the deleted file still remain and occupy significant storage space.Logs & Screenshots
Additional Information
No response