mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
fix(settings): ensure settings sync between multi replicas #3979
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 @U8F69 on GitHub (Feb 19, 2025).
Originally assigned to: @tjbck on GitHub.
Bug Report
Installation Method
Pod in K8S Cluster
Environment
Description
Bug Summary:
When using open-webui for multi-replica deployment, configuration changes do not take effect across different replicas, possibly due to the settings being loaded into memory. For example, after enabling internet search, querying
/api/v1/retrieval/configoccasionally still showsweb.search.enableas false. The issue is resolved after restarting all the Pods.Reproduction Details
Steps to Reproduce:
@tjbck commented on GitHub (Feb 19, 2025):
Taking a look!
@a517363523 commented on GitHub (Feb 27, 2025):
Has it been fixed? I also encountered this problem
@tkg61 commented on GitHub (Feb 28, 2025):
Not yet, still have it in 5.18
@tjbck commented on GitHub (Mar 6, 2025):
Allocating more resources into resolving this issue, aiming for 0.5.21
@tjbck commented on GitHub (Mar 8, 2025):
Addressed with
d40e696468, Proper redis configuration is required.@tkg61 commented on GitHub (Apr 2, 2025):
@tjbck Still having issues with this in 0.6.0 with redis configured. Settings are not synced between instances. i can just refresh the page and see different banners appear between the instances
@tkg61 commented on GitHub (Apr 7, 2025):
@tjbck Still having issues in .6.2 with a fresh install via the helm chart. Not sure what else to try at the moment. Let me know if i should open up another ticket
@sFritsch09 commented on GitHub (Apr 7, 2025):
Can you share a minimal values file without exposing personals to check if you have websockets turned on in your ingress for example
@Classic298 commented on GitHub (Apr 7, 2025):
@tkg61 did you also set the REDIS_URL environment variable or only the WEBHOOK_REDIS_URL ?
make sure to configure both, then it should work afaik
@tkg61 commented on GitHub (Apr 7, 2025):
Ah, that might be it, i don't see that in the configured envs. Thanks for the clarification. Will make a ticket in the helm repo to update as well.
@tkg61 commented on GitHub (Apr 7, 2025):
It works! Not sure why we have 2 URLs but it works!
Thanks for the help everyone
@Classic298 commented on GitHub (Apr 7, 2025):
Wonderful! Enjoy
@Classic298 commented on GitHub (Apr 8, 2025):
PR to improve docs to inform users that all these variables need to be set: https://github.com/open-webui/docs/pull/481