mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
issue: Container shows long Alembic migration sequence and CORS * warning on first (and possibly every) start with ghcr.io/open-webui/open-webui:main #6781
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 @sidney-neto on GitHub (Oct 27, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
ghcr.io/open-webui/open-webui:main
Ollama Version (if applicable)
n/a
Operating System
Ubuntu 24.04
Browser (if applicable)
Chrome 141
Confirmation
README.md.Expected Behavior
The OpenWebUI container should start successfully and make the web service available on port 3000.
Actual Behavior
The container starts successfully, stays healthy, and the TCP port 3000 is listening, but the web service does not open or respond in the browser.
Always shows:
CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS
USER_AGENT environment variable not set
Steps to Reproduce
Logs & Screenshots
root@ai-w02:# docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main
Unable to find image 'ghcr.io/open-webui/open-webui:main' locally
main: Pulling from open-webui/open-webui
5c32499ab806: Pull complete
923f706c7da6: Pull complete
3305e2b7fc7c: Pull complete
13973b95de7b: Pull complete
b124c04c3dda: Pull complete
4f4fb700ef54: Pull complete
93f7d71a43ad: Pull complete
77127ed2bb0c: Pull complete
5cc688decb4c: Pull complete
11ba7592cf55: Pull complete
94bdc704e2ab: Pull complete
3105e7a030e6: Pull complete
71e9b7206fa8: Pull complete
4b74cd7f42f2: Pull complete
c41c20ad99da: Pull complete
Digest: sha256:d6ab9bce3030f5b58e59144a7db9fe3012b39c94d27bc2979e98e6d6dc2161da
Status: Downloaded newer image for ghcr.io/open-webui/open-webui:main
15c87d5549f49d18f4a76b368f9e3705566753c3c9580fd0f0537bb3060cd39c
root@ai-w02:# docker logs -f open-webui
Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
Generating WEBUI_SECRET_KEY
Loading WEBUI_SECRET_KEY from .webui_secret_key
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
WARNI [open_webui.env]
WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.
INFO [open_webui.env] VECTOR_DB: chroma
INFO [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2
WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.
██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗
██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║
██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║
██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║
╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║
╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝
v0.6.34 - building the best AI user interface.
https://github.com/open-webui/open-webui
Fetching 30 files: 100%|██████████| 30/30 [00:00<00:00, 304670.99it/s]
INFO: Started server process [1]
INFO: Waiting for application startup.
2025-10-27 23:48:15.595 | INFO | open_webui.utils.logger:start_logger:162 - GLOBAL_LOG_LEVEL: INFO
2025-10-27 23:48:15.595 | INFO | open_webui.main:lifespan:561 - Installing external dependencies of functions and tools...
2025-10-27 23:48:15.601 | INFO | open_webui.utils.plugin:install_frontmatter_requirements:283 - No requirements found in frontmatter.
Additional Information
Image: ghcr.io/open-webui/open-webui:main
Host: Ubuntu 24.04.3 LTS with Docker 28.0.4
Using named volume: open-webui:/app/backend/data
It seems migrations and warnings appear on every start, even with persistent volume.
@silentoplayz commented on GitHub (Oct 28, 2025):
Nothing is actually broken here. The two messages you see are only warnings and the container is already past them and waiting for requests.
The first start of Open WebUI downloads some embedding models and can take 30-60 s on a slow link.
Once the embedding models have finished downloading, Open WebUI should be ready.
Because you mapped
-p 3000:8080, open:in the same machine’s browser.
If you are on another machine use the host’s IP, e.g.:
If the page still does not load:
curl -I http://localhost:3000– should return HTTP/1.1 200 OK.ss -tlnp | grep 3000– make sure something is listening on 0.0.0.0:3000.ufw,nftables, cloud security-group) blocks the port.If curl works but a remote browser fails, the traffic is simply being filtered outside the container; the OpenWebUI container itself is fine.
@sidney-neto commented on GitHub (Oct 28, 2025):
Hey, thanks for replying to this issue and confirming that nothing is broken.
I believe the container isn’t able to download the embedding models… Which models would those be?
Could you please clarify exactly which URLs or destination domains the container connects to during this process?
I’m setting up Open WebUI in a restricted environment with outbound traffic filtering, so I need to whitelist the endpoints.
@silentoplayz commented on GitHub (Oct 28, 2025):
Open WebUI tries to download
sentence-transformers/all-MiniLM-L6-v2as an embedding model from HuggingFace.Check out https://docs.openwebui.com/getting-started/env-configuration#offline_mode