What this thread does
The problem
Upgrade an existing Docker deployment without losing chats, breaking provider connections or mistaking migration work for a hung server.
Versions and licence, checked 2026-10-20
| Component | Verified status | Consequence |
|---|---|---|
open-webui | PyPI and GitHub v0.12.3, released 2026-10-16 | Pin ghcr.io/open-webui/open-webui:v0.12.3 for the rehearsal |
| Previous minor | v0.11.0 introduced a redesigned UI, sub-agents and changed connection handling | Recheck permissions and integrations as well as chat |
| Minor release | v0.12.0, released 2026-10-10 | Milvus hybrid-search migration needs an outage window |
| Licence | Open WebUI License; branding clause effective v0.6.6+, 2025-04-19 | This is an older licence boundary, not a new 0.12 restriction |
Sources checked 2026-10-20: PyPI, release, 0.11 release, 0.12 release, licence history explanation.
The licence text, checked 2026-10-20, allows rebranding at most 50 individual end users per rolling 30 days, with prior written permission, or with an enterprise licence expressly allowing it. Otherwise retain branding. Current releases are not BSD-only; no enterprise price was verified.
What changed that affects an upgrade
- 0.11 added per-connection passthrough parameters and OpenAI-compatible embeddings through the Ollama proxy. Review saved connections.
- 0.12 adds Milvus-native BM25 plus vector search for Milvus 2.5+, changes the model editor and fixes Ollama management requests that previously skipped headers/authentication settings. API
max_tokensnow limits Ollama replies; rerun clients that assumed it was ignored. Release notes, checked 2026-10-20. - 0.12.3 sends full instructions for selected/model-attached skills on every message when the Skills builtin is enabled. Remove model attachments used only for discoverability if they inflate prompts. Redis room channels now require PUBLISH, SUBSCRIBE, UNSUBSCRIBE and PING plus access to
&socketioand&socketio#*. OAuth refresh withclient_secret_basicnow uses Basic authentication, repairing affected model/tool connections. Patch notes, checked 2026-10-20.
Pick the migration path
| Deployment | Recommendation |
|---|---|
| One Docker container, local volume | Stop it, back up the full volume, recreate with the same mounts/settings and pinned image |
| Multiple workers or replicas | Stop every old instance; migrate with one process; start only the new version afterward |
| Milvus-backed knowledge | Back up Milvus too; allow the first-start hybrid migration to finish before health checks trigger restarts |
| Rebranded deployment | Review the licence exception before carrying custom branding forward |
Ordered Docker upgrade
1. Record the current image tag/digest, mounts, network, worker count and provider settings. Preserve the existing WEBUI_SECRET_KEY through your normal secret mechanism. Rehearse on isolated copies of every data store. 2. Stop all old workers. Back up all stores consistently; keep rehearsal storage isolated. 3. With Compose, change only the image to ghcr.io/open-webui/open-webui:v0.12.3, retain the full existing configuration, then use the commands below. For docker run, pull that tag and recreate with your original flags and volume, including -v open-webui:/app/backend/data if applicable.
docker compose stop
docker compose pull
docker compose up -d
docker logs open-webui 2>&1 | head -20
Adapt the log command to your container name. The update guide, checked 2026-10-20, supplies these pull/recreate and log checks. An older image cannot reverse migrations; restore the matching pre-upgrade backup.
4. For a fleet, ensure UVICORN_WORKERS=1 and a single migration instance. Migrations run automatically at startup. ENABLE_DB_MIGRATIONS=false on other instances controls migration ownership; it does not permit old and new versions to share a changed schema. Wait for completion before starting the fleet. Scaling and migrations, checked 2026-10-20. 5. Test login, old chats, a streamed reply, provider model discovery and a tool call/final answer. Test gateway-protected Ollama management separately. Check existing knowledge retrieval and disposable ingestion, Redis streaming on each instance, skill prompt size and sharing permissions. These are proposed tests, not results.
First start appears stuck with Milvus
The documented progress messages are Migrating N Milvus collections to native hybrid search. and Migrated N Milvus collections to native hybrid search.; N represents the collection count. Existing vectors are reused and keyword indexes are built from stored text. Monitor with docker logs -f open-webui; do not restart midway or have several instances migrate. Interruptions discard partial copies. Classic298's migration discussion, checked 2026-10-20. These are progress logs, not errors.
database is locked during model sync
Classic298's report describes an existing-model sync returning HTTP 200 with []: nested writes used separate SQLite sessions. Upgrade with the pinned-image procedure, then verify the saved model actually changes; docker logs open-webui checks for recurrence. Do not accept HTTP 200 alone as proof or delete the database. The 0.12 notes list this as fixed. Issue report and cause, official fix listing, checked 2026-10-20.
Model not found with ClientConnectorDNSError
The connection guide traces this pairing on 0.11.0 to its c-ares resolver. Upgrade; system resolution is now the default. Recreate after removing an explicit AIOHTTP_CLIENT_ASYNC_DNS_RESOLVER=true override if testing shows that opt-in breaks names. Check docker logs open-webui and saved Ollama/OpenAI URLs from the backend's network. Do not delete models or disable TLS to repair DNS. Persisted connection settings can override environment changes. Official connection guide, checked 2026-10-20.
Community evidence
Classic298's Manage Ollama report links regression tests showing that successful verification did not prove management requests sent headers. Their SQLite report above demonstrates false success. These are two concrete repository reports checked 2026-10-20, from one contributor rather than independent production confirmations.
A prompt to give your agent
Read the linked official release, migration and licence sources; do not guess flags or messages. Inventory image, mounts, workers, saved connections and vector backend without revealing credentials. Prepare a pinned upgrade and restore plan on isolated copies. Show the diff, applicable changes, acceptance checks and unknowns.
Limits
No deployment, migration, restore or provider test was run. Exact SQL migration revisions, Redis ACL messages and gateway/migration tracebacks are unverified. Evidence mostly comes from one contributor; Milvus timing lacks independent confirmation.
Started from a post by @open-webui, packaged by the editor. Original post