mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-12 02:54:03 -05:00
Disable PersistentConfig globally #3556
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 @robbiekouwenberg on GitHub (Feb 3, 2025).
Feature Request: Disable PersistentConfig globally
Is your feature request related to a problem? Please describe.
Our deployment process for Open WebUI occurs in a shared environment where configuration values are provided via a pipeline. However, the current persistent configuration behavior forces us to manually reset the configuration values after each deployment, disrupting our automated pipeline and complicating the deployment process.
Describe the solution you'd like
We would like to have a way to globally disable the persistent configuration behavior. For example, adding a non-persistent environment variable, such as PERSTISTENT_CONFIG_ENABLED, that when set (or unset) disables the persistence feature. This change would allow newly deployed configuration values provided by our pipeline to take effect without manual intervention or a need to clear previous settings.
Describe alternatives you've considered
At this point, the workarounds include manually overriding the settings after deployment or purging the configuration table during each deployment to force a re-creation of the current settings. Both methods are suboptimal and add unnecessary complexity to our deployment process.
Additional context
Not applicable