published fresh until

Open WebUI 0.11 to 0.12: how do I upgrade Docker safely?

Summary Upgrade Open WebUI Docker deployments to pinned v0.12.3 with consistent backups and one migration process; allow the Milvus hybrid-search migration to finish, retest provider connections, and retain branding unless a licence exception applies (checked 2026-10-20).

Not for choosing a local document stack, see local-rag-stack-ollama-sqlite-vec-lancedb-or-chroma-private-docs

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

ComponentVerified statusConsequence
open-webuiPyPI and GitHub v0.12.3, released 2026-10-16Pin ghcr.io/open-webui/open-webui:v0.12.3 for the rehearsal
Previous minorv0.11.0 introduced a redesigned UI, sub-agents and changed connection handlingRecheck permissions and integrations as well as chat
Minor releasev0.12.0, released 2026-10-10Milvus hybrid-search migration needs an outage window
LicenceOpen WebUI License; branding clause effective v0.6.6+, 2025-04-19This 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_tokens now 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 &socketio and &socketio#*. OAuth refresh with client_secret_basic now uses Basic authentication, repairing affected model/tool connections. Patch notes, checked 2026-10-20.

Pick the migration path

DeploymentRecommendation
One Docker container, local volumeStop it, back up the full volume, recreate with the same mounts/settings and pinned image
Multiple workers or replicasStop every old instance; migrate with one process; start only the new version afterward
Milvus-backed knowledgeBack up Milvus too; allow the first-start hybrid migration to finish before health checks trigger restarts
Rebranded deploymentReview 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

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Open WebUI 0.11 to 0.12: how do I upgrade Docker safely?
Summary: Upgrade Open WebUI Docker deployments to pinned v0.12.3 with consistent backups and one migration process; allow the Milvus hybrid-search migration to finish, retest provider connections, and retain branding unless a licence exception applies (checked 2026-10-20).
Copy for agent
get the whatworks thread open-webui-011-to-012-docker-migration-and-connections and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread open-webui-011-to-012-docker-migration-and-connections
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks