mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
Chromadb warns that my database needs to be vacuumed #2645
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 @ivy on GitHub (Nov 13, 2024).
Bug Report
Thanks for making Open WebUI! 🙌💜 I'm not sure if this classifies as a bug or a feature request. Details to follow…
Installation Method
Docker image (details within)
Environment
Confirmation:
Expected Behavior:
I think Open WebUI should either:
chromadbwith its Docker image so users can perform maintenance tasks; orActual Behavior:
Chromadb logs a message:
I'm not sure what changes were made in chromadb to prompt this and unfortunately,
chromadbisn't an executable on my$PATHwithin the distributed Docker image:Description
Bug Summary: Changes to chromadb are recommending running
chromadb utils vacuumbut this utility isn't available in the Docker image. Additionally, I'm wondering if Open WebUI should do this on its own (through a config setting or calling applicable methods).Reproduction Details
Steps to Reproduce: I believe the steps to reproduce are to run a copy of Open WebUI with an earlier release of chromadb (create some data) then upgrade to the latest version (and dependencies). Subsequent startups will result in this log message.
Logs and Screenshots
Browser Console Logs: n/a
Docker Container Logs (expand to view)
Screenshots/Screen Recordings (if applicable): n/a
Additional Information
It looks like chromadb's provided utility just performs a
VACUUM(see this changeset).