[GH-ISSUE #12600] issue:The knowledge base is invalid, and the log warning indicates that there is an issue with chromadb during query_vector. The specific content of the log is: chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Nu… #16653

Closed
opened 2026-04-19 22:32:40 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @eioaaa on GitHub (Apr 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12600

Check Existing Issues

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

Installation Method

Other

Open WebUI Version

0.6.0

Ollama Version (if applicable)

No response

Operating System

ubuntun

Browser (if applicable)

No response

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 listed steps to reproduce the bug in detail.

Expected Behavior

When conducting Q&A, the large model should retrieve knowledge base files from my knowledge space, and then answer questions based on the content of the knowledge base.

Actual Behavior

During the process of answering, the knowledge base could not be retrieved, which means that all the knowledge bases I uploaded previously have become ineffective. For comparison, I re-uploaded a knowledge base file, and this new file can be retrieved.

Steps to Reproduce

1.Upload the knowledge base
2.Ask questions to the large model
3.The large model searches the knowledge base to answer the questions (at this point, the issue of not being 4.able to retrieve the knowledge base arises)

Logs & Screenshots

Additional Information

No response

Originally created by @eioaaa on GitHub (Apr 8, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12600 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Other ### Open WebUI Version 0.6.0 ### Ollama Version (if applicable) _No response_ ### Operating System ubuntun ### Browser (if applicable) _No response_ ### 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 listed steps to reproduce the bug in detail. ### Expected Behavior When conducting Q&A, the large model should retrieve knowledge base files from my knowledge space, and then answer questions based on the content of the knowledge base. ### Actual Behavior During the process of answering, the knowledge base could not be retrieved, which means that all the knowledge bases I uploaded previously have become ineffective. For comparison, I re-uploaded a knowledge base file, and this new file can be retrieved. ### Steps to Reproduce 1.Upload the knowledge base 2.Ask questions to the large model 3.The large model searches the knowledge base to answer the questions (at this point, the issue of not being 4.able to retrieve the knowledge base arises) ### Logs & Screenshots <!-- Failed to upload "chromadb_error.jpg" --> ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-19 22:32:40 -05:00
Author
Owner

@eioaaa commented on GitHub (Apr 8, 2025):

Additionally, I cannot find my chromadb file. I want to check if there is any content in this file. Could you please tell me where I should look for this file?

<!-- gh-comment-id:2785759748 --> @eioaaa commented on GitHub (Apr 8, 2025): Additionally, I cannot find my chromadb file. I want to check if there is any content in this file. Could you please tell me where I should look for this file?
Author
Owner

@mahenning commented on GitHub (Apr 8, 2025):

You can find the chromadb folder in backend/data/vector_db in your open-webui folder structure. The vector_db flder is your chromadb. In a docker container the data folder should be mounted to a volume.

Did you change the embedding model, or changed the embedding parameters like chunk size etc? The fact that it is working with a re-upload and that no vectors can be retrieved wtih hte old knowledge idicate that.

<!-- gh-comment-id:2786259811 --> @mahenning commented on GitHub (Apr 8, 2025): You can find the chromadb folder in `backend/data/vector_db` in your open-webui folder structure. The `vector_db` flder is your chromadb. In a docker container the data folder should be mounted to a volume. Did you change the embedding model, or changed the embedding parameters like chunk size etc? The fact that it is working with a re-upload and that no vectors can be retrieved wtih hte old knowledge idicate that.
Author
Owner

@eioaaa commented on GitHub (Apr 8, 2025):

I was deployed in Apptainer and I had not changed the embedding model and its parameters, so I was a little confused as to why the knowledge base was suddenly implemented

<!-- gh-comment-id:2786340535 --> @eioaaa commented on GitHub (Apr 8, 2025): I was deployed in Apptainer and I had not changed the embedding model and its parameters, so I was a little confused as to why the knowledge base was suddenly implemented
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16653