mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-05 16:28:32 -05:00
[GH-ISSUE #18366] issue: multiple uvicorn workers do not update / refresh config from database #18572
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 @mglaubitz on GitHub (Oct 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18366
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.32
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04 Server, database postgresql, pgvector
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When a setting is changed in the administration, for example a new model name is added to an OpenAI provider OR a banner is added / deleted, the changes should be respected by all uvicorn worker instances. That means that changes should take effect even without having to restart the open-webui docker container.
Actual Behavior
The administration / config changes are saved to the database, but the uvicorn workers do not update / refresh their state of the config. It seems to be cached in some way.
So, for example, if I try do deactivate an Info banner and then refresh the page of a chat, the banner will stay there until I hit the uvicorn worker that handled the db change.
Steps to Reproduce
Logs & Screenshots
no specific log output
Additional Information
No response
@Classic298 commented on GitHub (Oct 16, 2025):
Did you configure Redis, websocket support, and all the other required aspects of multi-concurrency deployments as per the docs? Need full config here to reproduce - because for me it works fine and I cannot reproduce any of these issues with the correct settings.
@mglaubitz commented on GitHub (Oct 16, 2025):
Thx for asking - I double checked my docker-compose and found that I had indeed forgotten so set the REDIS_URL environment variable. I had followed the instructions on
https://docs.openwebui.com/tutorials/integrations/redis/
which do not mention the REDIS_URL variable. It might be a good idea to add this piece of information there.
This is now my working set of relevant environment variables:
Since we have 64 cores, I am wondering how high I should set the UVICORN_WORKERS variable
@Classic298 commented on GitHub (Oct 16, 2025):
Does it work after you set it?
Should work.
And thanks please open an issue on our docs repository so i can tackle it. Otherwise I'll lose track of it.
Uvicorn of 8 is already high
@mglaubitz commented on GitHub (Oct 16, 2025):
Yes, it worked, after I set the REDIS_URL
I will open an issue as requested. Thanks a lot for replying so quickly :)
@paul-nightforge-systems commented on GitHub (Oct 21, 2025):
Having an issue where when one of my piplines for gpt5 via responses API is running, with redis configured and proven working in the logs and redis data volume + 8 workers, requests utilizing my steamable HTTP MCP server will not complete until the stream from the responses API completes. Seems to me that the requests are block one another, I think the next one needs to wait for the first one to send its stream complete message before proceeding for some reason to update the UI, even though its already finished on the backend as shown in the logging.