mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #12975] issue: Database setup fails when requiring a non-default schema #32302
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 @matthew-kusz on GitHub (Apr 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12975
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.5
Ollama Version (if applicable)
No response
Operating System
RHEL 9.5
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
I expect the tables to be created without issue.
Actual Behavior
When running open-webui and setting up a postgreql database that requires a non-default schema I am running into an error even after setting the DATABASE_SCHEMA env variable:
Steps to Reproduce
Run open-webui with a postgresql db that requires a non-default schema.
Logs & Screenshots
Additional Information
It looks like it's related to this line which doesn't include a non-default schema if needed.