mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
Cannot Search Chat History due to PostgreSQL not accepting null values of \u0000 #3564
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 @mobilestack on GitHub (Feb 4, 2025).
Installation Method
Docker with main tag, and Postgres docker as database
Environment
Open WebUI Version: 0.5.7
Ollama (if applicable): not used
Operating System: Ubuntu 22.04.5 LTS
Browser (if applicable): Chrome 132.0.6834.160
Confirmation:
Expected Behavior:
When searching history result, matched items should appear
Actual Behavior:
Cannot see searched result, with the indicator spinning and waiting.
Description
Bug Summary:
During search, the underlying SQL cannot execute correctly for \u0000.
Reproduction Details
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
Logs and Screenshots
Browser Console Logs:
Docker Container Logs:
Error from docker logs of Postgres, showing a search attempt failed.
showing something like
I do have found \u0000 in my chatting history.
Screenshots/Screen Recordings (if applicable):
Additional Information
I think there might be a module to filter input to Postgres database. But not sure whether it is available.
I could contribute to this part if needed.