Why pinning an old image tag may not roll back Open WebUI
If an Open WebUI upgrade has gone wrong and you want to go back, the first thing to understand is that an image tag only changes the application code. Pointing your deployment at an older tag does not undo what the newer version did to your data. Open WebUI's update documentation states that database migrations are one-way. If the newer release migrated the schema, the older version may fail to start, or start and misbehave, against the changed database. Treat a pinned old tag as the code half of a rollback, not the whole of it.
The supported path is to restore the pre-upgrade backup first, then start the pinned older version against that restored data. Do not run the old image against the migrated database and hope it works. Before you attempt this, confirm which backup you hold and what it contains. Check that it includes the database (SQLite file or PostgreSQL dump), the upload and file storage, and any vector store your knowledge bases depend on, because a database restore alone may leave files or embeddings out of step. Confirm the restore procedure with a test on a separate instance before you rely on it during an incident.
Do not promise yourself a clean revert. Restoring a backup returns you to the state at the moment the backup was taken, so anything users created, edited or uploaded after that point is lost unless you can recover it from another source. Confirm with your own team and with the release notes for your specific versions whether the newer release changed the schema at all. If it did, plan for a window of data loss and communicate it. Write the rollback steps down, including who approves the restore, before the next upgrade starts.
What changes in the releases that affect a rollback
This table walks the recent Open WebUI release line, from the July v0.11.0 release through v0.12.0 on October 10 and v0.12.3 on October 16, and shows how each kind of change affects whether an older image can read your data. Read each row as a question to answer from the release notes before you upgrade, because a schema migration is the change that turns a tag pin into a failed rollback.
| Release or change | Impact on rollback | Action needed |
|---|---|---|
| v0.11.0 (July) | Start of the line you may be rolling back from. Confirm whether it ran schema migrations on first start. | Read its release notes on the GitHub releases page and note any database change before you move past it. |
| v0.12.0 (October 10) | A release that may migrate the database. Once started, an older image may fail to read the migrated schema. | Confirm in the release notes whether a migration runs. Assume it does until you have checked. |
| v0.12.3 (October 16) | Latest patch in the line named in the facts. Patch releases can still carry migrations, so the same restore rule applies. | Check its notes for migration or breaking-change entries, then take a backup before the first start. |
| Database schema migrations | One-way in practice. Pinning an older tag does not undo tables or columns already changed. | Back up the database and volumes before updating, and plan to restore that backup for any rollback. |
| Breaking changes listed in release notes | Changes to settings, environment variables or plugin APIs can break an older image or a restored state. | Compare your environment variables and custom tools against each note between your current and target version. |
| Milvus collection copy on 0.12 (if you use Milvus) | Separate one-time vector data work on first start with Milvus 2.5 or newer, which needs free disk space for a second copy. | Confirm whether it applies to your stack and plan backups and disk before the upgrade. The Milvus upgrade topic covers the detail. |
| Browser cache after upgrade | Stale frontend assets can make a rolled-back or upgraded instance look broken even when the server is healthy. | Clear the browser cache after any update or rollback, as the Open WebUI update guidance advises. |
Backup and release-note checks before every update
Open WebUI's update guidance comes down to three habits: back up data, read the release notes for breaking changes, and clear the browser cache afterwards. Each one shapes whether a rollback is possible later. The checks below turn that guidance into a routine you can repeat for every release, with the pinned image tag and configuration recorded so the rollback target is known before anything changes.
Record the running image and config
Before any change, write down the exact image tag currently running, the image digest if your registry exposes it, the Compose file or Helm values, and the environment variables that hold secrets by name only. This record is your rollback target. A tag such as a floating major or minor label can point to a different build tomorrow, so the recorded tag and digest tell you which build to restore. Store the record next to the backup, not only on the host.
Back up data before updating
Open WebUI advises backing up data before an update. Take a backup of the database and the upload and knowledge storage together, since users, chats, files and vector data must match each other. Confirm the backup can be restored by checking its file size, its timestamp and, where possible, a test restore. A backup taken after the update starts cannot serve as a rollback point, because a schema migration may already have changed the data.
Updating Open WebUI docsRead release notes for breaking changes
Read every release between your current version and the target, not only the newest one. Look for database migrations, changed environment variables, removed settings, plugin API changes and required infrastructure changes such as a new vector store. Any note that mentions a migration means the rollback path is one-way, so plan for a restore from backup rather than a tag change alone. Record the findings in the change ticket.
Open WebUI releasesRehearse the update in a test environment
Restore the pre-update backup into a separate environment with the same image tag, configuration and database engine, then run the update there. Confirm that sign-in, chat history, uploads, knowledge bases and any custom tools or functions still work. Time the migration and note any errors. The test shows whether your plugins and integrations tolerate the new version before users depend on it.
Check custom tools and functions
Custom tools, pipes, filters and actions are not covered by the core release notes alone. Inventory each one, the Open WebUI version it was written for, and any external services it calls. Run each one against the test environment and record the results. A plugin that breaks after the update may force a rollback even when the core upgrade succeeds, so the inventory determines how much testing is needed.
Clear the browser cache afterwards
Open WebUI advises clearing the browser cache after an update, since cached front-end assets from the previous version can conflict with the new interface. Add this step to the post-update checklist and tell users to reload or clear site data if they see missing buttons, failed requests or layout errors. Confirm the step with a sign-in from a clean browser profile before closing the change.
How to roll back to the pre-upgrade backup
This sequence returns a shared Open WebUI instance to the state it held before an upgrade, using the backup taken before the update. It only works if that backup was taken and verified before the newer version started.
Confirm a verified pre-upgrade backup exists
Before touching the running system, the operator checks that a backup of the database and file storage was taken before the update and that it can be read. Confirm that the backup timestamp predates the first start of the newer image and that the file storage copy matches the database copy in time. Decision point: if no verified backup exists, stop here, because a rollback point only exists when the backup was taken and verified before the update. Done when the operator has recorded the backup location, its timestamp and the image tag that was running when it was taken.
Stop the newer instance
The operator stops every Open WebUI container or process running the upgraded version, including any additional replicas or workers, so that nothing writes to the database while it is being restored. On a multi-replica deployment, stop all replicas before continuing. Done when no Open WebUI container or process is running and no new writes are being made to the database.
Restore the database and file storage
The operator restores the database and the file storage (uploads and knowledge files) from the same pre-upgrade backup, replacing the post-upgrade data. Restoring only one of the two can leave records pointing to files that do not exist. Confirm with your own backup tooling how the restore is performed for your database engine and storage backend. Done when both restores report success and row or file counts look consistent with the backup record.
Pin the previous image tag
The operator changes the image reference in the deployment definition, such as the Compose file or Helm values, back to the exact version that ran before the upgrade, and does not use a floating tag such as latest. Pinning the old tag alone does not undo a schema migration, which is why the restore comes first. Done when the deployment definition shows the previous tag and the operator has recorded that tag in the change record.
Start the previous version
The operator starts the instance with the older image and watches the startup logs for database errors. Confirm that the older version starts without attempting to apply newer migrations against the restored data. If errors mention an unknown schema state, stop and escalate rather than retrying, since the restored data may not match the image. Done when the service reports healthy and the logs show no schema or migration errors.
Check login and data
A test user signs in through the normal path, including SSO if it is used, and the operator checks that existing chats, users, groups, model connections and knowledge files are present and open. Confirm that administrator access works. Done when a sample of records from before the upgrade loads correctly and the check is written into the incident or change record.
Clear the browser cache
Users, or the operator on managed endpoints, clear the browser cache and reload the interface so that stale frontend files from the newer version are not served. Advise users that unsaved work from the upgraded period may not be recoverable, since it was written after the backup. Done when a test browser loads the interface from the previous version and the version shown in settings matches the pinned tag.
Where the backup restore fits in the rollback decision
The decision starts when an upgrade fails or misbehaves after the new image starts. The first check is whether the newer version ran its database migration, because migrations are one-way. If the schema did not change, the operator can pin the older image tag and start it again. If the schema did change, the older image may not work, so the operator restores the pre-upgrade backup of the database and data before starting the older image. Confirm the migration state against the release notes for the version you ran.
Rollback path depends on whether the newer version migrated the database schema.
How to test the rollback before you need it
Rehearse the restore in a test environment built from a copy of production data before you ever need it in anger. A rollback you have never run is a guess, and the schema migration that makes rollback hard only shows its effects once a real restore is attempted. Build the test environment with the same image tags, database engine, storage layout and environment variables as production, then restore the pre-upgrade backup into it and confirm the older version starts cleanly against that data.
Once the older image is running, check the things users and administrators will actually notice. Confirm that the container starts without migration errors in its logs, that a test administrator and a standard user can sign in through the identity method your organization uses, and that existing chats, uploaded files and knowledge bases are present and searchable. Record how long the restore took from start to a usable login, because that figure is the downtime you should expect in a real incident. Confirm the exact timing and steps with your own environment, since they depend on database size and storage speed.
A rollback drill also tests the backup itself. Compare the locations the deployment writes to with the locations the backup covers: the database, the data directory or volume that holds uploads and vector data, any external vector database, shared file storage if you run several replicas, and the environment file or secrets that the older version needs to read. If a single path is missing from the backup job, the restored instance will start but silently lose data. Treat any gap as a finding, fix the backup scope, and run the drill again. Keep the drill record with the change ticket so the next upgrade starts from a tested procedure.
What makes a rollback take longer
This table compares the factors that stretch a rollback from a quick tag change into a full data restore, and what to check for each one. Read each row before the upgrade window opens, since most of these factors are easier to measure beforehand than during an incident. The main takeaway is that a rollback is only as fast as the restore path you have already tested.
| Driver | Why it matters | What to check |
|---|---|---|
| Data size and database type | A schema migration is one-way, so the restore copies the whole database back. SQLite files and PostgreSQL dumps take different amounts of time and tooling to restore. | Measure the current database size and the backup duration in a test restore. Confirm which database backend the deployment uses. |
| Uploads and vector store location | Uploaded files and knowledge base content live outside the database. A database restore alone can leave files or embeddings out of step with the restored records. | Confirm where uploads and the vector store are kept. Make sure the pre-upgrade backup covers both, and that the snapshot times match. |
| Custom tools or plugins that depend on the schema | Tools, functions or pipes written against the newer schema may fail on the older release. Rewriting them during an incident adds time and risk. | List every custom tool, function and pipe. Check each one's compatibility with both the old and new versions in a staging copy before upgrading. |
| Multi-replica setups | Several instances sharing one database must all be stopped before the restore, or a running replica can write into the restored data or re-run migrations. | Record the replica count and the orchestration method. Document the stop, restore and restart order, and confirm who can execute it. |
| Backup tested or untested | A backup that has never been restored may be incomplete, corrupt or missing a dependency. Discovering this during a failed upgrade turns a rollback into a recovery effort. | Run a restore of the pre-upgrade backup into a separate environment, start Open WebUI against it, and confirm that users, chats and files load. |
| Release notes and breaking changes | Release notes flag breaking changes and migrations. Without reading them, a team may not know a rollback path is one-way until after the upgrade has run. | Read the release notes for every version between the current and target release. Record which ones mention migrations or breaking changes before the update window. |
Questions teams ask before a rollback or upgrade
Can we roll back an Open WebUI upgrade by changing the image tag alone?
Only if the newer release did not change the database schema. Pinning a previous image tag is the first step of a rollback, and it is often enough for a patch that touched application code only. Database migrations are one-way, though. If the newer version migrated the schema, the older version may fail to start or misread data, so the pre-upgrade backup has to be restored alongside the older image. The deciding question is whether the release notes or the migration logs show a schema change. Confirm that against the Open WebUI update guidance before you rely on a tag change, and test the procedure on a copy of your environment first.
What does a restore need from our team?
A restore needs a verified backup taken before the upgrade, a record of the exact image tags and configuration in use before and after, and someone with rights to stop the service, replace the data and start the older version. The team also needs to know where the database, uploads and any vector store live, because a restore that brings back the database but not the matching files produces broken knowledge bases and attachments. Plan for a window in which users cannot sign in, and clear the browser cache afterwards, as the update guidance advises. Ask whoever runs the restore to write down each step so the next attempt does not depend on memory.
How long does a rollback take and what drives that time?
No duration is published for this work, so treat any figure you hear as something to confirm against your own environment. The main drivers are the size of the database and file storage, the speed of the storage the backup is restored to, how many replicas or nodes must be stopped and restarted, and whether the rollback includes a vector store that must also be restored. Time spent deciding whether a rollback is needed also counts. Teams that have rehearsed the restore on a copy usually know their window in advance. Ask any partner to state assumptions about data volume, replica count and downtime tolerance in the written scope.
Can our own team do the rollback without a partner?
Yes, if your team has administrators who can manage the container runtime, the database and file storage, and who have practiced the restore. A small single-replica deployment with a tested backup routine is often within an internal team's reach. The harder cases are multi-replica setups, where the upgrade order matters, and any deployment that uses PostgreSQL, Redis and external storage together, because a restore must bring those into step. Independent review can also help when your team has never restored this system. Decide who has the authority to make the rollback call at 2 a.m. before you need it.
What should a quote for rollback and restore work cover?
A quote should follow from a written scope, and should list what is included and excluded. Ask it to cover the pre-upgrade backup check, the rollback runbook, the restore rehearsal on a copy, the production restore window, verification that users and data work after the restore, and the handover notes. It should also state which systems are in scope, such as the database, uploads, Redis and any vector store, and what the client must provide, such as access, maintenance windows and a named approver. Recurring items, such as backup monitoring or a retainer for future upgrades, should be listed separately from one-time work.
What happens if the pre-upgrade backup is missing or incomplete?
If the backup is missing, a schema-changing upgrade can be difficult or impossible to reverse, because the older version may not run against the migrated database. In that case the recovery path is to move forward, fix the fault on the newer version, or rebuild data from other sources such as exports or identity records, which may be incomplete. This is why the backup check belongs before every update, not after a failure. Confirm that the backup includes the database and the files it refers to, that it restores into a test instance, and that someone has checked the restore log. Treat a backup that has never been restored as unproven.
What checks should we run before every Open WebUI update?
Run three checks before each update: take a backup, read the release notes for breaking changes, and record the current image tag and configuration. Open WebUI advises checking release notes for breaking changes before updating, so each update should have a written note of what changed and whether a schema migration is involved. Confirm the backup can be restored in a test environment, and schedule the update for a window when a rollback would not disrupt critical use. The public release history shows frequent versions, including v0.12.3 published on October 16, 2026, so a repeatable routine matters more than a one-off check.
Where to confirm the upgrade and release details
Before you pin a tag or start a restore, confirm the migration behavior for your exact source and target versions in the official Updating Open WebUI guide. That guide is the source for the advice to back up data, check release notes for breaking changes and clear the browser cache afterwards. Treat it as the starting point for the upgrade runbook, not as a substitute for reading the release itself.
Read the release notes for every version between your current and target release on the Open WebUI releases page on GitHub. Look for schema changes, required configuration, changed environment variables, and any note that a version is not safe to roll back. Releases arrive quickly, so do not assume that a version you read about earlier is still the one you will install. Record the exact tag you tested, the tag you plan to deploy, and the date you checked the notes, so the change record shows what was known at the time of the upgrade.
If the notes do not state whether a release runs database migrations, assume it might and plan the restore path accordingly. Ask your deployment's vendor or maintainers for written confirmation, and run the upgrade first in a staging copy built from a recent backup. The staging result tells you more about your data than any release note, because it shows whether the older image can still start against the migrated database.
How DeployOpen scopes and delivers an Open WebUI upgrade
DeployOpen treats a rollback plan as part of the upgrade itself, not a fallback added at the end. We scope the target version, the backup and the restore path together, then build and test them in an environment you control before any production change.
How we scope
- Confirm the current and target Open WebUI versions, and whether the target release changes the database schema.
- Review the release notes for breaking changes and the license terms that apply to the target version.
- Agree in writing whether the scope covers rehearsed restore, a pre-update backup check, and post-upgrade browser cache guidance.
How we build
- Document the database, file storage and vector store locations so the backup covers every stateful component.
- Rehearse a full restore from the pre-upgrade backup on a copy of the environment and record the steps taken.
- Test the older image tag against the migrated database to confirm whether pinning alone works or a restore is required.
How we hand over
- Deliver a written runbook covering backup verification, the image tag pin, restore order and the decision point for rollback.
- Provide a checklist for the pre-update routine, including release-note review, backup confirmation and cache clearing.
- Walk your operations team through a restore rehearsal so they can repeat it without DeployOpen present.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer for future Open WebUI releases.
- Ask any quote to separate one-time rehearsal and runbook work from recurring retainer support.

