Upgrading Open WebUI to 0.9: when the async backend changes your plan
For most operators, upgrading to 0.9.0 is not a routine version bump. The async data layer introduced in 0.9.0 changes how the backend talks to its database, and that change is the main risk to plan for. Since 0.9.0 the backend is fully async, which turned SQLite on network storage from slow into failing. If you run an older release and your webui.db sits on NFS, CephFS, Azure Files or a network-backed Kubernetes volume, treat the upgrade as a storage change, not just a new image tag.
Two conditions make the upgrade urgent. The first is SQLite on network storage, which the async backend exposes under load. The second is SQLCipher: it is not supported since v0.9.0, and Open WebUI refuses to start with DATABASE_TYPE=sqlite+sqlcipher. If you use encrypted SQLite, you must plan a different database before the upgrade, not after the container fails to start. Confirm which of these applies to your deployment by checking your DATABASE_TYPE setting and where the database file is mounted.
The supported path is to fix the database first, then upgrade with tested backups. The documented fixes are moving to PostgreSQL or keeping webui.db on locally attached SSD or NVMe storage, and the Open WebUI scaling guide sets out the trade-offs. Take a backup you have restored in a test environment, confirm the database change works under your real load, and only then move to 0.9.0. Ask your team or partner to confirm the restore time and rollback steps before the production date is fixed.
What 0.9.0 changed and what each change means for operators
This table lists each 0.9.0 change, what it does to a running deployment, and the action an operator needs to take. Read it before pinning or upgrading, and check each row against your current storage and database setup. The main takeaway is that the async data layer makes the database location a deployment decision, not a detail.
| Change | Impact | Action needed |
|---|---|---|
| Fully async backend data layer | Database calls no longer run in the synchronous path, so storage latency and locking behave differently under concurrent users. | Review database placement and load before upgrading, and test with realistic concurrent sessions in staging. |
| SQLite on network storage (NFS, CephFS, Azure Files, network-backed Kubernetes volumes) | Deployments that were slow on these volumes before 0.9.0 can now fail outright under load. | Confirm where webui.db lives. Move it off network storage before upgrading. |
| Documented fix: PostgreSQL | PostgreSQL is the documented route for multi-instance and network-attached setups. | Plan a database migration and backup of the existing SQLite data, and confirm the migration path with your team. |
| Documented fix: webui.db on local SSD or NVMe | Keeps SQLite viable for single-replica, evaluation or small team use when the file is on locally attached storage. | Confirm the volume type with your infrastructure team and check it is not a network-backed claim in Kubernetes. |
| SQLCipher removed | Open WebUI refuses to start with DATABASE_TYPE=sqlite+sqlcipher on 0.9.0 and later. | Find any sqlite+sqlcipher setting in your configuration and choose a supported database before the upgrade. |
| Plugin methods became async | Database-backed plugin methods must be awaited, so existing tools, pipes, filters and actions may break. | Inventory custom plugins and test each one on 0.9.0 in staging before production. See the plugin migration topic. |
Which database path fits your deployment before 0.9.0
The decision starts with replica count. Multi-replica deployments need PostgreSQL, Redis and shared file storage before any upgrade work begins. Single-replica deployments then check where webui.db lives: on network storage, it moves to PostgreSQL or local SSD. Instances using sqlite+sqlcipher must plan removal first, because Open WebUI refuses to start with that setting after 0.9.0. Only a single-replica instance already on local SSD or NVMe moves straight to the upgrade, after a verified backup.
Database path decisions to clear before upgrading to 0.9.0.
Why SQLite on network storage fails after the async change
Since 0.9.0, the Open WebUI backend data layer is fully async, and that change alters how database calls behave under load. Before 0.9.0, a SQLite file on a network mount was slow but often usable, because requests queued behind a synchronous database layer. Now many concurrent calls hit the same webui.db file at once, and the locking and latency of network storage turn into failed requests and connection pool errors. The result is that a setup which limped along on NFS, CephFS, Azure Files or a network-backed Kubernetes volume can start failing after the upgrade, even though the application code path looks the same to the user.
The Open WebUI scaling guide is clear about where SQLite still fits. It is acceptable for a single replica, for evaluation, and for small teams, and only when the database file sits on locally attached SSD or NVMe storage. Multi-instance deployments need PostgreSQL, because SQLite does not handle concurrent writes from multiple processes well. Read the guide's scaling documentation before you decide, since its requirements apply to the whole deployment, not only to the upgrade.
Before you choose a fix, confirm three things in your own environment: the storage class behind the volume that holds webui.db, the mount type reported on the node or pod (for example, whether it is NFS or a block device exposed as a local disk), and how many replicas or worker processes you run. Ask your platform team or storage vendor to confirm whether the volume is network-backed, even if the name suggests local storage. If the answer is network-backed, plan a move to PostgreSQL or to local SSD or NVMe, and test that move against a copy of your data before the production upgrade.
What to prepare before the 0.9 upgrade
The 0.9.0 async data layer exposes storage and database weaknesses that older releases tolerated. The four to six items below are the preparation work that should be finished before anyone runs the new image. Each one has a clear owner, and together they decide whether the upgrade is a routine restart or a recovery exercise.
Verified backup of data and files
Take a full backup of the database, either webui.db or the PostgreSQL database, together with the uploads and file storage that knowledge bases depend on. A backup only counts once a restore has been tested on a separate host. Confirm that the backup captures the same moment as the database and the file store, because a mismatch between them leaves references to files that no longer exist. The platform operations owner should hold this task and sign off the restore test.
Inventory of database and storage
Record the database type set by DATABASE_TYPE, the location of webui.db, and the mount type behind it. Check whether that mount is local disk, NFS, CephFS, Azure Files or a network-backed Kubernetes volume, since these are the setups the 0.9.0 change turns from slow into failing. The infrastructure team should own this inventory and confirm the answer from the host or the pod spec, not from memory.
Inventory of custom plugins
List every custom tool, pipe, filter and action installed in the instance, including community plugins copied from other sources. Each entry needs its owner, its source, and whether it calls database-backed methods, because those methods became async in 0.9.0 and must be awaited. Plugins that cannot be inventoried cannot be tested, so this list should exist before the test environment is built. The application team that wrote or adopted each plugin should own its entry.
Test environment from production copy
Build a staging instance on the target 0.9 image using a copy of the production database and file store, not an empty install. Run it on the same storage type as production so that any failure under the async backend appears before go-live. Use it to run the plugin inventory, sign-in flows and a representative set of chats and uploads. The platform team should own the environment, and the application team should own the test cases.
Decision on PostgreSQL or local SSD
Choose the remedy before the upgrade window. The documented options are moving the database to PostgreSQL or relocating webui.db to locally attached SSD or NVMe storage. PostgreSQL is also the requirement for multi-instance deployments, so a multi-replica setup needs it regardless of this change. The decision carries a migration effort that should be scoped separately from the upgrade itself. The architecture owner should make the call and record the reason.
SQLCipher usage check
Confirm whether DATABASE_TYPE is set to sqlite+sqlcipher or whether any environment file or Helm value still carries that setting. Since v0.9.0, SQLCipher is not supported and Open WebUI refuses to start with that value, so an upgrade without this check fails at startup. If encryption at rest was the reason for SQLCipher, the replacement control must be designed before the upgrade. The security engineer should own this check and the replacement design.
How to sequence the upgrade to 0.9 safely
This sequence moves an Open WebUI installation to 0.9.0 in an order that keeps a known-good backup, a tested database location and a clear rollback point at every stage. Each step ends with a check you can confirm before the next one starts.
Confirm current version and database type
The platform or operations engineer records the running Open WebUI version, the image tag or pip package version, and the value of the database setting, including whether it is SQLite, SQLite with SQLCipher, or PostgreSQL. Note where the database file sits, whether on locally attached SSD or NVMe or on network storage such as NFS, CephFS, Azure Files or a network-backed Kubernetes volume. Done when the inventory is written down for every replica and environment, and any SQLCipher setting is flagged for removal in a later step.
Take and verify the pre-upgrade backup
The operator takes a full copy of the database and the uploads and knowledge file storage, and stores it outside the host being upgraded. They then restore the backup into a scratch location and confirm that users, chats and knowledge collections are readable. Done when the restore test passes and the backup location, timestamp and Open WebUI version are recorded. This backup is the rollback point for the whole sequence, so keep it until production has run cleanly on 0.9.0 for a period your team has agreed.
Move the database off network storage or to PostgreSQL
In a test environment, the platform team either moves webui.db onto locally attached SSD or NVMe storage, or migrates the data to PostgreSQL. The scaling guide documents both fixes, and PostgreSQL is required for multi-instance deployments. Done when the test instance starts against the new location, its logs show no database errors, and a sample of chats and users loads correctly. If the team stays on SQLite, confirm that the file is on local storage before going further.
Remove SQLCipher if present
If the inventory shows DATABASE_TYPE set to sqlite+sqlcipher, the operator decrypts or migrates the data into a supported database format before upgrading. Open WebUI refuses to start with that setting on 0.9.0 and later, so the upgrade cannot succeed until it is removed. Done when the configuration no longer references SQLCipher, the test instance starts with a supported database type, and the secrets used for the old encryption are archived under your normal key-management process.
Update and test custom plugins with awaited calls
The developer or platform engineer reviews every custom tool, pipe, filter and action against the 0.9.0 release notes. Database-backed methods are async and must be awaited, so calls that previously ran synchronously need updating. They then run each plugin in the test instance against representative inputs, and retire any community plugin that the team cannot review or that has no 0.9-compatible version. Done when every plugin in the inventory has a recorded test result and a named owner.
Upgrade the test instance and run functional checks
The operator deploys 0.9.0 to the test environment using the same database, storage and identity configuration planned for production, then runs the sign-in, chat, file upload, knowledge search, model connection and admin functions. Check the logs for connection pool errors and failed writes during these tests. Done when the functional checklist passes and the log review shows no new errors compared with the baseline taken in step one.
Run load checks on the async backend
Because the 0.9.0 data layer is fully async, the team runs a concurrent-user load test that mirrors expected peak use, including simultaneous chat writes and uploads. They watch for locked or failing SQLite writes, pool exhaustion and slow responses on the database volume. Ask your test provider or internal team to define the load profile and pass criteria in writing before the test starts. Done when the agreed criteria are met and results are saved with the configuration used.
Upgrade production in a maintenance window and define rollback
The operator schedules a maintenance window, announces it to users, takes a fresh backup, stops writes, upgrades production to 0.9.0 and runs the same functional checks used in the test environment. The rollback point is the pre-upgrade backup from step two, together with the previous image or package version. Pinning an older image is not enough after a schema migration, so a restore is required to return to the earlier state. Done when production passes the checks, users confirm access, and the rollback decision owner and criteria are written into the change record.
How connection pool errors appear and where to look
On a PostgreSQL-backed deployment, the failure usually looks like a slowdown that turns into errors. Users see chats or logins stall and then fail during busy periods, while the database may look healthy at other times. The usual cause is demand for database connections outrunning what the application processes can hand out. Each worker process and each replica keeps its own pool against the same PostgreSQL server, so adding capacity can multiply the connections the database must accept. Long-running queries or transactions that hold connections make the problem worse.
- Timeouts while acquiring a connection: Search the container or pod logs for errors saying a connection could not be obtained in time, and line them up with the timestamps of user-visible failures.
- Connection count on the database side: During a peak, check active connections in the PostgreSQL statistics views and compare the total with the server's configured connection ceiling.
- Multiplied pools: Multiply the per-process pool setting by the worker count and the replica count to estimate total demand. Confirm how each pool setting behaves in the documentation for your release.
- Long transactions: Look for sessions idle in a transaction and slow queries, especially during knowledge base indexing or large imports.
- Shared state for replicas: Confirm Redis is present when more than one replica runs, since missing shared state can add reconnect churn.
Check the application errors, the database connection count and the total pool capacity across all processes together before changing any setting.
Since 0.9.0 the Open WebUI data layer is fully async, so many database operations run concurrently against one SQLite file. On NFS, CephFS, Azure Files or network-backed Kubernetes volumes, file locking and latency behave differently from locally attached disks. A setup that was slow before the upgrade can now fail. The symptoms are intermittent server errors on writes such as saving chats, settings or uploads, along with log messages about locked or unavailable database files and I/O errors.
- Storage type: Run
df -Tormounton the host or inside the container to see the filesystem behind the data directory. Flag any network-backed type. - Kubernetes volume class: Check the PersistentVolumeClaim and its StorageClass, since a network-backed class can look like ordinary storage in a manifest.
- Write failures: Look for lock or I/O errors when users save data, and check whether they cluster in time or follow a specific load pattern.
- Replica count: More than one replica sharing a single SQLite file is outside the scaling guidance, so confirm the replica count before anything else.
- Documented fixes: The documented options are PostgreSQL or a
webui.dbfile on local SSD or NVMe storage. Read the Scaling Open WebUI guide before moving any data.
Before making a change, record the storage type, the replica count and the database file location, and take a backup.
This symptom appears at startup rather than under load. The container exits or restarts during start, never reports healthy, and the log states that SQLCipher is not supported. The cause is configuration carried forward from an earlier release: the environment sets DATABASE_TYPE to sqlite+sqlcipher, and since 0.9.0 the application refuses to start with that value. Upgrade tests run against fresh configuration can pass while a migrated configuration fails, so compare the two.
- Startup log: Read the first lines of the log after the upgrade for the refusal message, and record it with the image tag that produced it.
- Configuration sources: Check the Compose file,
.envfile, Helm values, Kubernetes secrets and deployment manifests forDATABASE_TYPE. Values stored in secrets are easy to miss. - Image tag: Confirm the running image is 0.9.0 or later, since the refusal applies from that release. Confirm the exact tag against the release notes.
- Existing database file: Identify where
webui.dblives and whether it was encrypted. Take a copy before any change, and do not delete or overwrite the original. - Encryption controls: Read the Hardening Open WebUI guide to see how the project now expects data protection, and plan any replacement control separately from the database type.
Change the source that sets the value, including the running container, or the next restart will reproduce the refusal.
What the plugin rewrites mean for your custom code
The main point for operators is that custom code can break even when the platform starts cleanly. With 0.9.0, database-backed methods in tools, pipes, filters and actions became async, so any call to those methods must now be awaited. Code that called them synchronously may still load, then fail or return unexpected results when a user triggers it. Community plugins and in-house code written before 0.9.0 are both exposed, and the failures often appear only on specific chat paths, which makes them easy to miss in a quick smoke test.
Start with an inventory. List every tool, pipe, filter and action installed in the instance, including ones installed by administrators who are no longer on the team, and record where each came from, who maintains it and whether it touches the database. For community plugins, check whether the upstream author has published a 0.9-compatible version. Treat any plugin without a current maintainer as code you will need to review or replace. Confirm the list against the admin interface of a staging copy of your instance, not from memory or old documentation.
Then run a test pass on a staging environment restored from a recent backup, before anything reaches production. Exercise each plugin through the paths real users take, including error handling, and watch the server logs during the run. The sibling topic on migrating Open WebUI tools and functions to 0.9 covers the detailed steps for updating and testing each plugin type, so use it as the working guide rather than improvising fixes. Budget for review time with the plugin owners, since the work is usually a combination of small code changes and decisions about which plugins to retire.
What makes a 0.9 upgrade take longer
This table lists the factors that change how much work a move to 0.9 requires, with what raises effort and what lowers it for each. Read each row against your own environment before estimating, because several drivers compound: a network-mounted SQLite file with many plugins and several replicas is the slowest combination. Confirm each answer with your team's inventory before you ask for a quote.
| Driver | What raises effort | What lowers effort |
|---|---|---|
| Database type | SQLite in use, with a PostgreSQL move needed before or during the upgrade | Already on PostgreSQL and tested against the 0.9 release |
| Storage mount type | webui.db on NFS, CephFS, Azure Files or a network-backed Kubernetes volume | webui.db on locally attached SSD or NVMe storage |
| Data volume | Large webui.db file, many chats, and a large uploads or knowledge store to back up and verify | Small database, pruned chat history and a known, tested backup size |
| Custom plugins | Many tools, pipes, filters or actions that call the database directly and must be rewritten | Few plugins, all from maintained sources, or none in use |
| SQLCipher use | Encrypted SQLite configured as sqlite+sqlcipher, which 0.9.0 does not support and which blocks startup | No SQLCipher in use, or a plan to move off it before the upgrade |
| Replicas and rolling updates | Several replicas where old and new versions may run together during a schema change | Single instance that can be stopped, backed up and started on the new version |
| Test coverage | No staging copy, no scripted checks for chat, login, uploads and plugins | Staging environment built from a production backup with documented test cases |
Questions teams ask before upgrading Open WebUI to 0.9
Will SQLite on NFS break after upgrading to Open WebUI 0.9.0?
It can, and the cause is the 0.9.0 change itself. Since 0.9.0 the backend data layer is fully async, which turned SQLite on NFS, CephFS, Azure Files or network-backed Kubernetes volumes from slow to failing under load. The documented fixes are moving to PostgreSQL or placing webui.db on locally attached SSD or NVMe storage. Check where the data directory actually mounts, because a Kubernetes volume that looks local may be network-backed. The scaling guide also requires PostgreSQL for multi-instance deployments, so confirm your replica count before choosing a fix. Test the upgrade on a copy of production data before changing the live instance. The scaling guide sets out the exact conditions.
Does SQLCipher still work in Open WebUI 0.9?
No. SQLCipher has not been supported since v0.9.0, and Open WebUI refuses to start with DATABASE_TYPE=sqlite+sqlcipher. If your current deployment depends on encrypted SQLite, the upgrade becomes a database change that needs its own plan. Take a verified backup on the current version first, then choose a supported database and move the data. Confirm the encryption requirement with your security and compliance owners, since the replacement must still satisfy it through disk encryption, database controls or whatever your auditors accept. Expect the migration to touch secrets handling and backup procedures as well. The hardening guide covers related settings for secrets and data handling.
Do custom tools, pipes and functions need changes for 0.9?
Probably, if they call database-backed methods. In 0.9.0 those methods became async, so custom tools, pipes, filters and actions must await them. Inventory every plugin, including community ones, and record its source, author and last update. Some may work unchanged, some will fail quietly, and some will need a rewrite. Review each one against the 0.9.0 release notes and test it in a staging instance with a copy of your data. Ask the plugin maintainers whether they have a 0.9 version. Budget time for the inventory itself, because teams often find more plugins in use than they expected. A dedicated migration of tools and functions is covered separately in the sibling topic on migrating them to 0.9.
How long does an Open WebUI 0.9 upgrade take, and what drives the cost?
No duration figure has been published for this upgrade, so ask for one in the written scope rather than relying on a general estimate. The main drivers are the number of replicas, the current database and storage type, whether a move to PostgreSQL and Redis is needed, how many custom plugins and integrations exist, and how much testing your change process requires. One-time work includes the assessment, the database move if required, plugin updates and the cutover. Recurring costs depend on whether you keep a retainer for upgrades and monitoring after the change. Ask any provider to split the quote into these components, state what is included in testing and rollback, and name the environments covered. DeployOpen agrees scope, deliverables and timelines in writing before work starts.
What must our team provide before an upgrade engagement starts?
Your team needs to provide access and information that the work cannot proceed without. Start with an inventory of the current deployment: version, container or Helm settings, database type and location, storage backend, replica count, reverse proxy and identity configuration. Provide a list of custom tools, functions, integrations and users who depend on them. Name the owners who approve the change, the window for downtime and the people who will test business workflows afterward. Supply access to a staging environment that resembles production, and confirm that recent backups exist and can be restored. Finally, state your compliance evidence needs, since those shape what must be recorded during the upgrade. Gaps in these inputs usually become the largest sources of delay.
Can our own platform team upgrade Open WebUI to 0.9 without a partner?
Often yes, if your team already runs stateful services and can test thoroughly. The work is manageable for a single-replica instance on local SSD that has no custom plugins. It gets harder when the instance uses network storage, runs several replicas, depends on SQLCipher, or runs many custom tools. In those cases the team must move the database, add Redis and shared file storage where the scaling guide requires them, and rework plugins. Ask yourself who will own rollback, who will test plugins, and who will sign off on the change. If the answers are unclear, an external team can take on part of the work under a written scope. Confirm the requirements with the vendor documentation for your topology before deciding.
Can we roll back an Open WebUI 0.9 upgrade after the schema changes?
Pinning an older image tag is usually not enough once a schema migration has run. The older release may not read the migrated database, so rollback normally means restoring the database and data from a backup taken before the upgrade. Take a consistent backup of the database and the file storage together, and confirm you can restore both into a clean environment. Record the exact image tags and configuration in use before the change. Test the restore procedure on staging before the production change, and time it so the outage window is known. Check the release notes for any statement about schema migrations before updating. Your rollback plan should name who decides to roll back and the point after which rollback is no longer possible.
How DeployOpen scopes and delivers an Open WebUI upgrade
DeployOpen approaches the move to Open WebUI 0.9 as a written, fixed-scope engagement that starts with your current database, storage and plugin inventory. The work covers the storage and database decision, plugin review and a tested cutover inside infrastructure you control.
How we scope
- We inventory your current version, database type, storage backend and whether webui.db sits on network storage
- We confirm whether you need PostgreSQL, a move to local SSD or another supported database path before the upgrade
- The written scope lists which custom tools, pipes, filters and actions need review, and which are out of scope
How we build
- We stand up a staging copy with a restored backup and run the upgrade there before touching production
- We check connection pool behavior and storage performance under a load profile agreed with you during scoping
- We confirm that deployments using SQLCipher are moved to a supported configuration, since the current release refuses to start with it
How we hand over
- You receive a runbook covering the pre-upgrade backup, the cutover steps, the verification checks and the rollback path
- Plugin changes are documented with the before and after code, and test results for each one are included
- Your team receives a walkthrough of the new database and storage layout and the monitoring signals to watch
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 after handover
- Ask any quote to separate one-time migration work from recurring retainer fees and to name each deliverable

