Why Open WebUI 0.9 migration starts with your custom code
If your team runs custom or community tools, functions, pipes, filters or actions on Open WebUI, the first migration task is updating that code. Open WebUI 0.9.0 moved the backend data layer from synchronous to asynchronous, so almost every database-backed model method is now async and must be awaited. Plugin code that calls those methods without await will not behave as it did before the upgrade, which makes plugin review the step that should come before any change to the running server.
Plugin code comes first because it is the part of your deployment that Open WebUI does not test for you. The core application is upgraded as a unit, but a custom Tool, Function, Pipe, Filter or Action is code your team or a third party wrote against the older internal interface. Inventory every plugin, note its author and source, and record which ones read or write users, chats, files, knowledge or settings. Those database-backed calls are the ones that need an await review, and they are the ones most likely to fail silently or only under real traffic.
Before you plan the order of work, confirm the starting version your upgrade path supports in the official Open WebUI 0.9.0 migration guide. The guide sets out what changed and what each plugin type must do, and it should be read against the exact version you run today. The license terms that apply to newer releases are covered on the license page, so keep that review separate: a plugin migration does not answer questions about branding or user counts, and those questions need their own sign-off.
What changed in 0.9.0 and what each change asks of your team
This table compares each change in Open WebUI 0.9.0 with its impact on tools, functions, pipes, filters and actions, and the work your team needs to do before upgrading. Read it top to bottom: the backend change explains the rest, and the last row is where most unexpected breakage tends to appear. The main takeaway is that custom code needs review and testing against 0.9.0 before any production upgrade.
| Change | Impact | Action needed |
|---|---|---|
| Backend data layer moves from synchronous to asynchronous | Open WebUI 0.9.0 changed its database access model, so code that assumed blocking calls to the data layer can behave differently after the upgrade. | Inventory every custom component that reads or writes Open WebUI data, and plan to update each one for the async model. |
| Almost every database-backed model method becomes async | Calls that previously returned data directly now return awaitable objects, so unawaited calls return the wrong type and can fail at runtime. | Locate each database-backed method call in your code and confirm the full method list in the migration guide before editing. |
| Tools, functions, pipes, filters and actions must await those methods | Each extension type that touches the database is affected, including components that run on chat requests, so a missed await can break a single feature or the whole request path. | Add await to each affected call, make the enclosing functions async where required, and test each extension type separately. |
| Community plugins may call methods without awaiting | Third-party plugins were not written by your team, so they may fail after upgrade even when your own code is correct. | Identify every community plugin in use, check its source or vendor update for 0.9.0 compatibility, and test it in a staging instance before upgrading production. |
| Migration guide is the reference for the complete change list | The release facts summarize the change, but the full set of affected methods is documented in the official guide, which should drive your code review. | Use the Open WebUI 0.9.0 migration guide as the checklist for your review and record which methods your code uses. |
How a plugin call reaches the database after 0.9
This illustrative diagram follows a user request as it enters Open WebUI, passes to a custom Tool or Filter, and reaches a database-backed model method. In 0.9.0 that method is async, so the plugin must await the call before it uses the result. The dashed branch shows the failure point: a call that is not awaited returns a coroutine object instead of data, and the plugin then behaves incorrectly without an obvious error. Testing should trace each database-backed call in your plugins to confirm it is awaited.
Illustrative flow of an awaited database call from a custom plugin, with the missing-await failure point marked.
Which extension types need an audit for awaited calls
Open WebUI 0.9.0 changed the backend data layer so that most database-backed model methods are async. Any extension that reads or writes through those methods must now await them, and the five extension types below each reach the database in different places. Review each type separately, because a missed await in one type can pass a quick test and fail only under real traffic.
Tools
Tools are Python callables that a model invokes to act, such as looking up records or writing notes. Database-backed calls usually appear inside the tool methods that read user settings, chat history, files or knowledge entries. Search each tool file for calls to the Open WebUI models and for any helper function that touches them, and confirm the enclosing function is declared async def and the call is awaited.
Functions
Functions are the broader extension type that can change how requests and responses are handled. Database lookups often sit in helper code that resolves user, model or configuration records before a request is processed. Check every helper that reads records, not only the main entry point, since a synchronous helper called from async code will return a coroutine instead of data.
Pipes
Pipes expose external or custom models to Open WebUI as selectable models. Their database-backed calls commonly appear when a pipe looks up model configuration, user permissions or stored credentials to decide how to route a request. Review the code path from the model list handler to the outbound call, because a missed await there can break model discovery for every user.
Filters
Filters run before a request reaches the model or after the response returns, so they touch every chat turn. Database-backed calls here usually record usage, check quotas or attach stored context to messages. Because filters execute on the hot path, an unawaited call can add latency or errors to all conversations, so test them under concurrent chat load.
Actions
Actions add buttons or menu items to messages and trigger custom behavior when a user clicks them. Database-backed calls typically write feedback, tag messages or update stored state in response to the click. Trace each action handler from the click to the final write, and confirm that writes are awaited so that a failed save is not reported to the user as success.
How to test community plugins before upgrading to 0.9
Community plugins are maintained outside the Open WebUI core project, so a plugin may still call database-backed model methods without awaiting them after the 0.9.0 change. The core team's changes do not fix those plugins for you, which means each one you rely on needs its own test before the production upgrade. Start by inventorying every custom Tool, Function, Pipe, Filter and Action in the admin panel, recording its source, author, version and whether it was written by your team or downloaded from elsewhere. Compare that list against the 0.9.0 migration guide to see which methods each plugin uses.
Build the test environment as a staging instance that matches production in two ways: the same Open WebUI version you will move to, and the same database type. If production runs PostgreSQL, testing on SQLite proves little, because the async data layer is where the failures occur. Import a copy of the production plugin set, then load each plugin one at a time so a failure can be traced to a single component. Exercise every code path that matters with representative test users: a regular user, a user in a restricted group, and an administrator. Include the paths that write to the database, such as saving settings, storing user data, or reading chat history, since those calls are the ones that changed. Confirm the test user accounts and group roles match production before you trust the results.
Watch the container or service logs during each run and search for warnings and errors that mention coroutines, awaitables or unawaited calls, since these point to a missing await. Record each plugin as passing, failing or unverified, and do not treat a plugin that merely loads as passing. Before the upgrade window opens, decide who owns the fix for each failing plugin: the original author, your own developers, or an outside partner. Agree on that owner, the acceptance test for the fix, and whether a plugin with no maintained fix will be disabled or replaced. Confirm with the plugin's maintainer whether a 0.9-compatible release exists, because an unmaintained plugin will otherwise block the upgrade.
What to prepare before changing any plugin code
Four preparation steps come before any edit to a tool, function, pipe, filter or action. Each one gives you a way to measure the 0.9.0 change and roll back if it goes wrong. Skip them and you cannot tell whether a failure came from the migration or from something that was already broken.
Verified backup of data and files
Take a backup of the Open WebUI database and file storage before any change, then restore it to a separate host to confirm it works. Plugin code is only half the state: user chats, settings and stored plugin valves live in the database, and uploads live in file storage. The scaling guide recommends PostgreSQL and shared file storage for multi-instance setups, so confirm which database and storage type you run today before you plan the test. Treat an unrestored backup as no backup.
Scaling guideInventory of every plugin
List every installed tool, function, pipe, filter and action, with where it came from, who wrote it, which version is running and who approves changes. Community plugins often arrive by copy and paste, so record the source URL or file hash. Mark each item as in use, unused or unknown, because unused items still run in some configurations and still need a decision. This list becomes the test plan for the rest of the migration.
Staging environment that mirrors production
Run a staging copy with the same database engine, storage type, reverse proxy, authentication settings and plugin set as production. Load a sanitized copy of real data so that queries hit realistic tables. A staging system on a different database or storage layer can pass tests that production will fail. Document every difference you cannot remove, since each one is a gap in your test results.
Pinned version list for each release
Record the exact image tag or package version you run now and the exact target release you plan to test. Pin both in your deployment files so that a routine pull cannot move production forward. Keep the release notes for every version between the two open, because the 0.9.0 migration guide describes what changed for plugin authors. Write down the rollback target too, since reverting a schema change needs the backup, not only an older tag.
0.9.0 migration guideUpgrade sequence for plugins and the 0.9 release
This sequence moves custom tools, functions, pipes, filters and actions onto the 0.9 async data layer without risking an unrecoverable production instance. Each step closes with a check, and two rollback points keep the upgrade reversible until plugins are confirmed working.
Inventory and classify every plugin
The operator lists each Tool, Function, Pipe, Filter and Action in use, noting its source (in-house, community or vendor), its owner and whether it calls database-backed model methods. Plugins that never touch the database are lower risk than those that read or write chats, users, files or knowledge. The owner confirms the list matches what users actually invoke. Done when every plugin has an owner, a source and a risk class, and the list is stored with the change record.
Patch and test plugins against async methods
Developers update each database-backed call so it is awaited, following the 0.9.0 migration guide, and they review community plugins for any synchronous calls they cannot change themselves. Plugins that are unmaintained or cannot be patched are flagged for replacement or removal before the upgrade. Each patched plugin is exercised in a staging instance running the 0.9 release. Done when every plugin has a passing test result or a documented decision to retire it.
Take a fresh backup and record the current version
Before any production change, the operator takes a full backup of the database and the file storage that holds uploads and knowledge, and records the exact image tag or package version now running. The backup should be restorable, so the operator confirms it can be restored to a separate environment. Done when the backup completes, a restore test has succeeded in a non-production environment, and the pre-upgrade version is written down.
Upgrade staging and run smoke tests
The staging instance is restored from the production backup and upgraded to 0.9.0. The team runs the plugin test suite, then a short smoke test that signs in, starts a chat, invokes each high-risk plugin and checks that the admin pages load. Any failure is logged with the plugin name and error text, and the fix is repeated from step two. Done when the test suite and smoke tests pass on the restored copy with no errors in the Open WebUI logs.
Schedule the production change window
The operator agrees a window with the users and business owners, communicates that chat and plugin functions will be unavailable during the upgrade, and confirms who can approve a rollback. The rollback decision, the person who makes it and the backup location are written into the change plan. The window length should come from the team's own staging measurements, not from an estimate. Done when the change plan is approved and every named person has acknowledged their role.
Upgrade production with a confirmed rollback point
Immediately before the upgrade, the operator confirms the fresh backup is intact and marks it as the rollback point. Production is then upgraded to 0.9.0 and the migrations are allowed to complete before user traffic returns. If the upgrade fails, the team restores from the pre-upgrade backup rather than only reverting the image tag, because schema changes are not undone by a tag change. Done when the service starts cleanly, the version shows 0.9.0 and the logs show no migration errors.
Verify each plugin under real use
After the first plugin has been run successfully by a real user in production, the operator records the result and marks a second rollback checkpoint. The remaining plugins are then checked in order of risk, using the same test cases as staging plus a sample of live requests where policy allows. Any plugin that fails is disabled for users until it is fixed, while the rest continue to run. Done when every plugin has a recorded production check and the owners sign off on the results.
What makes the plugin migration take longer
This table compares the factors that expand the work of moving custom and community plugins to 0.9, with the reason each one adds effort and how to keep it manageable. Read it to size your inventory and test plan before you commit to an upgrade date, since the number of plugins that touch the database and the state of their code usually matter more than the count alone.
| Driver | Why it adds effort | How to reduce it |
|---|---|---|
| Number of custom and community plugins | Each Tool, Function, Pipe, Filter and Action needs its own review, rewrite and test pass, so the inventory grows the work linearly. | List every plugin by type and owner, then retire unused ones before migration starts. |
| Plugins that call the database | Database-backed model methods became async in 0.9.0 and must be awaited, so every call site needs review, not just the function signature. | Search each plugin for data-layer calls first and group them so one pattern fix can be applied consistently. |
| Age and ownership of the code | Unmaintained plugins often rely on older internal APIs, and nobody may be ready to approve the changes, which adds rework and sign-off delays. | Mark each plugin as maintained, forked or abandoned, and decide early whether to rewrite, replace or drop it. |
| Number of users and data volume | More users and larger stored chats, files and knowledge bases widen the test scope and make regression checks slower to run. | Build a representative test dataset and a short list of critical user journeys rather than testing every workflow. |
| Number of instances or replicas tested together | Multi-replica setups must behave the same across instances, and a plugin that works on one server can fail when several share the same database and state. | Test against a staging copy with the same replica count and shared backends as production. |
| Availability of people who know the code | When the original author or an internal expert is unavailable, the team spends more time reading code and reproducing behavior before changing it. | Name a reviewer for each plugin before the work starts and document known behavior in the inventory. |
Questions teams ask before migrating Open WebUI plugins to 0.9
What does migrating custom Open WebUI tools to 0.9 cost?
The cost is mostly the engineering time to find and update every database-backed call in your Tools, Functions, Pipes, Filters and Actions, then test them. The 0.9.0 migration guide shows that almost every database-backed model method became async and must be awaited, so the work scales with how many plugins you run and how much each one touches the database. Cost rises with a large plugin inventory, undocumented code, plugins written by people who have left, and extra test cycles. Ask any partner for a quote that lists each plugin, the work to convert it, the testing effort, and whether the price is one-time or includes ongoing support.
How long does a 0.9 plugin migration take?
Duration depends on the number of plugins, how many call the data layer directly, how much custom logic they contain, and how many environments and test users you need to validate them. An inventory step comes first, because the time needed to fix a plugin is hard to judge until you know which ones reach the database. Plugins that only transform text usually need less change than those that read or write chats, users, files or settings. Ask for a timeline that sets out the inventory, conversion, staging test and production cutover as separate phases.
Can our own team migrate plugins to 0.9 without outside help?
Yes, if your team has Python engineers who can read the plugin code and the 0.9.0 migration guide, and if they can run a staging instance that matches production. The required change is well documented: find database-backed model methods and await them. The harder part is verifying behavior, especially in plugins that run inside request flows, so a team without test coverage should plan manual test cases. Engage a partner when plugin count is high, the code is poorly documented, or the team has no time to test before the scheduled upgrade.
What do we need from our staff for this work?
You need a named code owner for each plugin who can explain its intended behavior, a staging environment with a copy of your production database and configuration, and a group of test users who represent each team that relies on the plugins. Code owners confirm expected results, staging proves the upgrade works on your data, and test users catch changes in daily use. Also confirm who can approve production cutover and who can restore from backup if a plugin fails. Without these roles, the migration tends to stall at the testing stage.
What should we do with community plugins that have no recent updates?
Treat each unmaintained community plugin as a risk until it has been reviewed, tested against 0.9, and either updated or replaced. Check whether the plugin calls the database methods that became async, whether its author has published a fix, and whether it runs code with access to your users or data. Remove plugins that no one uses, and keep a list of any you retain with an owner and a review date. Plugins that cannot be made compatible should be replaced or retired before the production upgrade rather than left to fail after it.
Does the Open WebUI license change affect this upgrade?
The license question is separate from the plugin migration, but it applies to the same upgrade. Since v0.6.6, Open WebUI code is distributed under the Open WebUI License, which includes a branding protection clause. That clause forbids altering or removing branding in deployments that exceed 50 users in any rolling 30-day period, unless the operator holds an enterprise license or written contributor permission. Confirm your user count and branding plan with your licensing contact before you schedule the 0.9 upgrade, because the plugin work does not resolve it.
How is a partner quote for this migration scoped?
A quote should follow a written scope that names the plugins in the migration, the conversion and testing work for each, the staging and production environments involved, the acceptance criteria, and the deliverables such as updated code, test results and a cutover record. Most engagements are fixed-scope, so the scope and timeline are agreed in writing before work starts. Ask whether ongoing support or retesting after future Open WebUI releases is a separate retainer. DeployOpen does not publish a price list, so the quote is the basis for cost comparison.
How DeployOpen scopes and delivers a plugin migration
DeployOpen approaches the move to Open WebUI 0.9 as a scoped code and testing job: we inventory every custom tool, pipe, filter and action, convert database-backed calls to async, and test each one against a staging copy before any production upgrade. Engagements are fixed-scope, with the deliverables and timeline agreed in writing before work starts.
How we scope
- We inventory every tool, function, pipe, filter and action your users and admins rely on, including community plugins.
- The written scope lists which plugins are converted, which are retired and which are only tested as installed.
- We identify every database-backed model method each plugin calls, so each await change is traceable to a specific file.
- We confirm with you which Open WebUI version and database backend the target environment runs before work starts.
How we build
- We convert database-backed calls to async and add await wherever the 0.9.0 migration guide requires it.
- We remove or replace synchronous patterns in custom code and document each change against its original version.
- We run each converted plugin in a staging instance cloned from a recent production backup, not a fresh empty install.
- We test community plugins as installed, because a maintainer may not have released a 0.9-compatible version yet.
How we hand over
- You receive the converted source, a change log per plugin and a test record showing what passed on the target version.
- We document a pre-upgrade checklist covering backup, a staging rehearsal and the rollback point for your environment.
- Known gaps, such as plugins that still need upstream fixes, are listed with the owner and the decision you need to make.
- Your team gets a short walkthrough so future plugin changes follow the same test steps.
How we support
- Ongoing support for plugin updates across later Open WebUI releases is available as a retainer.
- A retainer can include re-testing of custom and community plugins when each new Open WebUI version is published.
- Support scope, response expectations and fees are set in the written agreement, so confirm them in your quote.
- Ask whether the retainer covers plugin fixes, retesting only, or both before you sign.

