mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-30 17:11:20 -05:00
[GH-ISSUE #20964] issue: psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "uq_chat_file_chat_file" #122655
Reference in New Issue
Block a user
Originally created by @Abdelrahman1993 on GitHub (Jan 27, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20964
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.7.2
Ollama Version (if applicable)
No response
Operating System
Docker
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
No duplicate key value violates unique constraint errors
Actual Behavior
Since I upgrade from v0.6.40 to v0.7.2, I noticed the below error triggered multiple times at DataDog error
Steps to Reproduce
Upgrade from version from v0.6.40 to v0.7.2 version
Logs & Screenshots
Additional Information
I run 2 instance of OpenWeb UI in K8s cluster with AWS ALB Loadbalancer
Using Qdrant as vector storage
Use PostgreSQL Database
@tjbck commented on GitHub (Jan 29, 2026):
Unable to reproduce, you may have to delete the chat entry with that id manually.