When an Open WebUI migration makes sense and who usually runs it
A move onto Open WebUI usually makes sense when a team on a hosted chat assistant, or on a single-container Open WebUI install, needs multi-user scale, self-hosting, or control over identity. In most cases the work is done in-house by a platform or IT team that already runs containers and a database, with a partner brought in when the target design has to be settled quickly or when security and compliance reviewers need evidence. The deciding factor is usually whether your team has someone who can own the database, identity and storage decisions after go-live.
The most common triggers are a move from SQLite to PostgreSQL, the need to run several replicas, and data residency requirements that keep conversations and uploaded documents inside your own cloud account or data center. The scaling guide says PostgreSQL is required for multi-instance deployments, and SQLite is only acceptable for a single replica with the database file on locally attached SSD or NVMe storage. If your current install has no Redis or shared file storage, a multi-replica target will also need those, so confirm the target topology before you pick a migration path.
Plan the migration around your existing data rather than a fresh install. Chats, users, groups, settings, knowledge bases and uploaded files all have to be carried across, and the knowledge base is the part most likely to need reimporting or reindexing when the vector store changes. Ask the people who will do the work to inventory what exists, who owns each dataset, and which users and models must still work on day one. The Open WebUI features documentation lists the identity and provisioning options you will need to map users into the new instance.
What an Open WebUI migration project includes
A migration moves users, chats, settings and knowledge bases from a hosted assistant or an earlier single-container install onto a self-hosted Open WebUI platform. The six work packages below run in sequence, and each one ends in a deliverable the client keeps, so the next package starts from a known state.
Source inventory
The project starts by listing what exists today: user accounts, chat volume, custom models or prompts, uploaded documents, knowledge bases, API keys and the model providers in use. For an earlier install, this includes confirming whether the data sits in SQLite and where the database file and uploads are stored. The deliverable is an inventory and a list of data that cannot be exported cleanly, such as hosted-service data that needs a manual export step.
Target architecture
This package sets the target design: PostgreSQL as the database, the vector store, shared file storage, Redis if more than one replica runs, identity integration and the deployment method. The scaling guide makes PostgreSQL and an external vector database mandatory for multi-instance setups, so those choices are made here, not after cutover. The deliverable is an architecture document with a decision record for each component.
Scaling guideData migration
Accounts, chats, settings and knowledge bases move in separate steps, because each has its own failure modes. The SQLite to PostgreSQL move and the knowledge base reimport are the largest risks, and reimported documents must be re-indexed in the target vector store. The deliverable is a migration runbook and a reconciliation report comparing user counts, chat counts and knowledge base file counts between source and target.
Identity and user provisioning
This package connects the target to the identity provider using OIDC or LDAP, then decides how users and groups are created: by SSO login, by SCIM 2.0 provisioning, or by a controlled import. Role and group mappings are set so migrated users land with the same access they had before. The deliverable is a provisioning design, a group-to-role mapping table and a test list of sign-in cases, including users who have not logged in since the move.
Cutover and rollback
Cutover sets the date the old system goes read-only, runs a final data sync, switches DNS or client endpoints and validates the new platform. A rollback path must exist before cutover: without Redis, sign-out does not revoke tokens, so session handling during the switch needs explicit planning. The deliverable is a cutover checklist and a rollback procedure that has been tested in a non-production copy.
Handover
Handover transfers the running system to the team that will operate it. It covers configuration records, secrets locations, backup and restore steps, upgrade notes and the support model after go-live. Questions to settle before handover include who owns provider keys, who approves new users and how the 50-user branding clause applies at the organization's size. The deliverable is an operations handbook and a recorded walkthrough for the operators.
Open WebUI LicenseData moves through extraction and reimport before cutover, with rollback kept open until users are verified
The flow starts at the source, either a hosted assistant export or the data volume of a single-container install with its SQLite file. Extraction and transformation produce user, chat and knowledge records that are imported into PostgreSQL, while uploads move to shared file storage and knowledge is reindexed into an external vector database. Identity enters through OIDC, LDAP or SCIM before users sign in on the new stack. Check that the source stays intact until cutover is confirmed, because rollback depends on it.
Source records move through transformation into the new stack, with identity entering before cutover.
What drives Open WebUI migration effort and cost
This table lists the factors that change how much work a migration to Open WebUI takes, why each one matters, and how to keep it manageable. Read it before asking for a quote, because each row is a question the partner will need answered in the written scope.
| Driver | Why it changes the work | How to keep it down |
|---|---|---|
| Users and chat history | Every migrated user, group and chat history record must be mapped and checked, and the database move scales with the volume of stored chats. | Archive or export chats older than the retention period before cutover and migrate only active accounts. |
| Knowledge base files | Volume, file formats and extraction quality determine how much reimport, reindexing and validation is needed in the vector store. | Scope knowledge bases to active teams, remove duplicates and confirm which formats the target extraction settings handle. |
| Model provider connections | Each connection needs its own endpoint, credential handling, model list and permission mapping, and each one must be retested after cutover. | Consolidate to approved providers and document one connection per provider with named owners for keys. |
| Identity source complexity | Moving from local accounts to OIDC, LDAP or SCIM-based provisioning means mapping users, groups and roles from sources that may disagree. | Standardize on one identity provider before migration and clean up stale accounts and duplicate groups first. |
| Number of environments | Development, staging and production each need their own database, configuration and secrets, and each needs a tested restore path. | Keep environments built from the same deployment definitions and limit the number of copies that hold real user data. |
| Compliance evidence requirements | Assessors may ask for access records, data handling decisions, backup restore tests and change records, which adds documentation and test work. | Confirm the evidence list with your assessor before scoping and collect it during the migration rather than afterward. |
| Edition in use | Moving from the free license to an enterprise license changes branding obligations and support options, which can add scope if branding is changed during migration. | Decide the edition and any branding changes before migration starts. Enterprise pricing is quoted by Open WebUI sales against an expected seat count. |
| Source install type | A hosted assistant export, a single-container install with SQLite, and a prior PostgreSQL setup each need different extraction and validation steps. | Document the source platform's export options and test a sample migration on a copy of the data before scheduling cutover. |
Migration phases from inventory to cutover
This sequence moves users and data from a hosted assistant or an earlier single-container install onto a self-hosted Open WebUI stack without losing knowledge bases, accounts or history. Each phase closes with a written output that the next phase depends on, so cutover is a decision made on evidence rather than a single night of copying.
Inventory the current system and its users
Record what the existing setup holds: user accounts and roles, groups, chat history that must carry over, uploaded files, knowledge bases, model connections, API keys in use, and any custom prompts or tools. For an earlier single-container install, confirm where the SQLite database file and upload directory live and whether they sit on local or network storage. For a hosted assistant, check what the vendor's export actually includes, since not every conversation or file type may be exportable. The output is a signed-off inventory with an owner for each item and a list of what will be migrated, rebuilt or retired. Confirm export limits with the current vendor in writing before assuming a full copy is possible.
Fix the target design and open decisions
Decide the target topology before building anything: single replica or several, PostgreSQL as the primary database, Redis for shared state, an external vector database if retrieval is in scope, shared file storage, and the identity method (OIDC, LDAP or local accounts). The scaling guide requires PostgreSQL and Redis for multi-instance deployments and warns that the default ChromaDB will crash in multi-process setups, so those choices shape everything after. Also decide the license position if the user count will exceed 50 users in any rolling 30-day period, because the branding clause applies at that threshold. The output is a design record that names each component, its owner and the reason for each choice.
Build the new stack in a non-production environment
Deploy the chosen install method (Docker Compose, Helm on Kubernetes, or pip install) into a staging environment that mirrors production networking, storage and identity settings. Connect the model providers, configure PostgreSQL, Redis and shared storage, and set the sign-up and access policies before any real user logs in. Keep the old system running untouched so comparisons remain possible. The output is a working staging instance with documented configuration, a tested backup and restore path, and a list of settings that differ from defaults. Version selection should follow the project's release notes at the time of build, and the team should confirm the pinned version against the current GitHub releases page.
Rehearse the data move and reconcile results
Run the full data move at least once against a copy of the source data, not the live system. Import accounts, groups and history, then reimport the knowledge base files and rebuild embeddings in the new vector store, because vectors do not move as plain files between stores. Compare counts of users, groups, conversations, files and knowledge collections, and sample records for content and permissions. Log every mismatch with its cause. Repeat the rehearsal until the mismatch list is empty or every remaining item has an accepted workaround. The output is a reconciliation report and a timed runbook that the cutover team can follow step by step. Rehearsal duration depends on data volume and embedding throughput, so measure it here rather than estimating it in advance.
Provision users and run a pilot group
Connect identity so users sign in through the chosen method, map groups to roles, and confirm that per-resource permissions on migrated knowledge bases match the source system. Provision a pilot group of real users who accept that they are testing, and collect feedback on sign-in, model access, retrieval quality and missing history. Confirm that tokens and sessions behave as expected, including sign-out, since without Redis tokens remain valid until they expire, by default after 4 weeks. The output is a pilot sign-off covering access, data fidelity and any open defects, with each defect assigned and either fixed or accepted by the owner.
Cut over production with a rollback point
Freeze writes to the old system or announce a read-only window, run the final incremental data move using the rehearsed runbook, repeat the reconciliation checks against production, and then switch users to the new address. Keep the old system and its data intact as a rollback point with a defined decision owner and a stated condition for rolling back. Confirm backups of the new stack have run before opening access broadly. The output is a completed cutover record with timestamps, reconciliation results and the rollback criteria that remain in force.
Stabilize and retire the old system
Watch error rates, sign-in failures, slow responses and user-reported gaps through an agreed stabilization period whose length depends on user count, team change tolerance and how many issues the pilot surfaced. Confirm that scheduled backups restore cleanly into a test environment, and that the operations team can perform upgrades and rollbacks without relying on the migration team. Only after the owner signs off on stability should the old system be archived, with its data retained under the organization's retention policy and its credentials and API keys revoked. The output is a retirement record that names what was archived, where, and for how long it will be kept.
Moving the SQLite database to PostgreSQL without losing accounts or chats
The move to PostgreSQL is required once you run more than one Open WebUI instance. The scaling guide states that SQLite does not handle concurrent writes from multiple processes well, so replicas or multiple workers sharing one database file risk write contention and lost data. Before you schedule the work, check whether you need it at all. The scaling guide accepts SQLite for a single replica, evaluation or a small team, but only when the database file sits on locally attached SSD or NVMe storage rather than network storage. If your current install meets that profile and you do not plan to scale out, staying on SQLite may be the lower-risk choice. Confirm the storage type with your platform team rather than assuming it from the server label.
If you do migrate, plan a write freeze or a scheduled window so no new accounts, chats or settings change during the export. Stop the application, take a backup of the SQLite file, and copy it to a separate location. Create the PostgreSQL database, export data from SQLite, and load it into PostgreSQL using the import method documented for your exact Open WebUI version, since the schema and tooling can change between releases. Confirm those steps against the release notes and docs for the version you run before touching production. After loading, compare row counts for the main tables, including users, chats and knowledge-related records, and spot-check sample accounts, group memberships and a few conversations by logging in as test users.
Keep the original SQLite file untouched and read-only until the new instance passes acceptance by the people who use it. Do not delete it when cutover completes. Record who signs off, what counts were compared and what sample records were checked, so the cutover has evidence if a user later reports missing chats. Expect knowledge base files and vector data to need separate handling, because the database move alone does not relocate uploaded files or the vector store. Ask your implementation partner or internal team to write the rollback path (pointing the application back at the SQLite file) before the window opens.
How the migration differs by starting point
Moving from a hosted chat assistant is mostly a data-ownership exercise. The vendor's export produces user records, conversation history and uploaded files in its own format, and none of them map directly onto Open WebUI's database. Someone has to decide which conversations are worth carrying over, who is allowed to have their history imported, and how files and their metadata are reattached to the right accounts. Consent matters here because chat history often contains personal data and confidential work that users never expected to leave the vendor.
- Export scope: confirm exactly what the vendor's export includes, such as account profiles, chats, shared links, custom instructions and attachments, and what it leaves out.
- Identity mapping: decide how exported accounts map to your identity provider and to Open WebUI groups before any user is created.
- Consent and retention: agree which users may import history and which records should be dropped or archived under your retention rules.
- Format conversion: budget time for scripting the conversion of exported conversations and files into a form Open WebUI can ingest, and test it on a small sample.
- Model mapping: note which hosted models the old chats referenced and which approved models replace them.
Before starting, confirm with legal and the data owners which exported content may move into your environment and who signs off on it.
Moving from an earlier single-container install is mostly a state-transfer exercise. The data lives in a volume that holds a SQLite database, uploaded files and vector data, so the work is to copy that state carefully and move the database to PostgreSQL if the target is multi-instance. Version alignment is the other half: the target release has to be able to read the old schema, and the migration should be rehearsed against a copy before any cutover. The scaling guide makes PostgreSQL a requirement for multi-instance deployments because SQLite does not handle concurrent writes from multiple processes well.
- Source version: record the exact version the old container runs and check its release notes against the target before choosing a path.
- Volume copy: stop writes, take a consistent copy of the data volume and confirm file counts and sizes match.
- Database move: plan the SQLite to PostgreSQL transfer and test it on a copy, including user records, chats and permissions.
- Vector store: decide whether existing embeddings are reused or rebuilt, since the default ChromaDB is not suited to multi-process setups.
- Rollback path: keep the old container and its volume intact until users have confirmed their data.
Confirm the target version and the rehearsal plan with your platform team before scheduling a cutover window.
Moving into an air-gapped or private cloud environment changes how every dependency arrives. Packages, container images and models cannot be pulled from public sources at install time, so they have to be staged in advance through offline installers or internal registries. Identity lookups also cannot reach external services, so SSO and provisioning must point at directories inside the network. The migration plan therefore starts with an inventory of everything the platform pulls at runtime, and the verification step confirms that nothing silently tries to reach the outside.
- Artifact staging: build an inventory of images, Python packages, models and embedding assets, and mirror each one into an internal registry or offline bundle.
- Internal identity: confirm the OIDC or LDAP endpoints the platform will use are reachable from inside the network, and plan SCIM provisioning accordingly.
- Outbound checks: test for blocked calls to external model providers, telemetry and update endpoints, and disable features that depend on them.
- Data transfer rules: agree how exported users, chats and files cross the boundary and who approves each transfer.
- Update path: decide how future releases will be staged into the enclave, since the project ships new versions often.
Ask the security team to confirm the allowed transfer method and the list of approved outbound destinations before any artifact is staged.
Which migration work teams keep in-house and which they outsource
This table compares the main work packages in an Open WebUI migration against who usually owns them and the skills each needs. Read the final column as a judgment: true means a team with platform and identity experience can usually handle the package alone, false means a partner who has repeated the move is worth considering, and a dash means the answer depends on the environment.
| Work package | Usually owned by and skills needed | In-house capable? |
|---|---|---|
| Inventory of current users, chats, models and knowledge bases | Application owner with access to the existing install, plus someone who can export data and document what is in use | Yes |
| PostgreSQL and Redis build | Platform engineer comfortable with managed or self-hosted PostgreSQL, Redis, backups and network access controls | Yes |
| Knowledge base reimport and vector store setup | Engineer who understands document extraction, embedding models and the chosen vector database, since the default ChromaDB is not suitable for multi-process setups | No |
| Identity and SCIM provisioning | Identity engineer who knows the IdP's OIDC or LDAP configuration, SCIM 2.0 behavior and group-to-role mapping | Not applicable |
| Cutover rehearsal | Platform and application team working together, with a rollback path and a test copy of production data | Not applicable |
| Post-move reconciliation | Application owner checking user counts, group memberships, file access and chat history against the inventory | Yes |
| Runbook and handover | Platform lead writing the operating steps, rollback procedure and ownership map for the team that will run the system | Yes |
What goes wrong in Open WebUI migrations and how to prevent it
Most Open WebUI migration problems show up after cutover, not during the copy. Sessions, knowledge bases, uploads, accounts and licensing each fail in a different way, and each needs a check before users are moved. The cards below cover the six risks we see most often, with the prevention step for each.
Tokens that outlive sign-out
Without Redis, signing out does not revoke tokens. They stay valid until they expire, by default after 4 weeks, so a user who signed out of the old system or lost a device can still act in the new one. Before cutover, confirm Redis is configured, then test that a sign-out invalidates an existing session on every replica.
Scaling guideDefault ChromaDB fails under multi-process use
The scaling guide warns that the default ChromaDB will crash when several workers or replicas run. A migrated knowledge base that worked on a single process can fail once the new deployment runs multiple workers. Plan to reindex every knowledge base into an external vector database, and run a retrieval test on a sample of documents from each collection before users return.
Scaling guideUploads missing from other replicas
Files stored on local disk on one node are invisible to other replicas. Users then see knowledge documents or attachments that load on some requests and fail on others, which looks like random data loss. Move upload and knowledge storage to shared storage before the copy, and verify that a file uploaded through one replica opens through every other replica.
Duplicate and orphaned accounts
Loose identity mapping creates a second account for the same person when the email address, username or SSO subject differs between the old and new systems. Old accounts then keep their chat history and permissions with no owner. Agree on one matching key, such as the identity provider subject, reconcile the user list against it, and report unmatched accounts for an owner decision before cutover.
Branding obligations above 50 users
The Open WebUI License 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. A migration that moves a larger user base onto a re-skinned or stripped instance can breach the license on day one. Count active users during planning and confirm the licensing position with the vendor before changing branding.
License termsCutover without a tested rollback
A cutover that cannot be reversed leaves the old chat assistant or single-container install unavailable when the new database has a problem. Keep the source database and files frozen and intact until the new system passes acceptance checks, and rehearse the rollback on a copy. Write down who decides to roll back, the time window for that decision and the steps to restore users on the old system.
What you need to provide before the migration starts
The migration cannot start until your organization names owners for three kinds of decision: data, identity and cutover. The data owner decides what old chats, uploaded files and knowledge bases move and what gets left behind. The identity owner controls how users and groups will sign in and be provisioned. The cutover owner signs off the date users switch over and the rollback conditions. Each owner needs enough authority to answer questions within days, not weeks, because the export, the database move and the pilot all wait on those answers. You also need read access to the source system and written confirmation that your contract or license permits exporting chats, users and files. Confirm the export rights with the hosted assistant's vendor or your internal legal team before any engineering time is spent.
Provide a copy of the current configuration and model provider list. For an earlier single-container install, that means the environment variables, mounted volumes and the database file location. For a hosted assistant, it means the model list, system prompts, custom assistants and any stored API connection details, with the secrets handled through your own vault rather than sent in plain text. This inventory decides which provider connections are recreated in Open WebUI and which models your users actually need, so it blocks the configuration phase. Ask your teams to confirm which provider keys are still valid and who may rotate them.
Decide the retention rules for old chats and files before the export runs. Some organizations keep everything, others keep only conversations from the last year or only files attached to active projects. Your records and legal teams should confirm these rules, since they define what gets imported, what is archived and what is deleted. For identity, supply the identity provider details for OIDC or LDAP, the SCIM 2.0 endpoint if you plan to provision users and groups automatically, and the group names that map to Open WebUI roles. Finally, grant infrastructure access to the target environment and name a test user group for the pilot. Without the test group, there is no way to verify sign-in, permissions and knowledge base access before the wider cutover.
Questions buyers ask about Open WebUI migration
What drives the cost and effort of an Open WebUI migration?
The biggest drivers are the size and shape of the data being moved, the number of users being provisioned, and how many moving parts sit around the platform. A migration from a single-container install with a small user base is far smaller than a move from a hosted chat assistant with many groups, custom model presets and a large knowledge base. The main cost components are the people doing the planning, data movement, testing and cutover, plus any infrastructure you add, such as PostgreSQL, Redis and shared storage. Ask any provider to split a quote into discovery, data migration, identity setup, validation and cutover, and to state which items recur after go-live. The Open WebUI scaling guide is a useful reference for which components a multi-instance target adds.
Can our own team migrate to Open WebUI without a partner?
Often yes, if your team already runs containers, manages a relational database and can test a cutover in a staging environment. The work is mostly sequencing: moving the database, reconnecting storage, reimporting knowledge bases and provisioning users without losing access or data. Teams without experience in database migration or identity integration tend to spend more time on verification than on the move itself. A partner is most useful when the target is multi-replica, when identity must be connected to an existing provider, or when audit evidence for the change is required. DeployOpen implements, integrates and documents self-hosted open-source platforms inside your own infrastructure, and most engagements are fixed-scope with the scope agreed in writing before work starts.
How long does a migration take, and what sets that length?
Duration depends on the number of data sources, the volume of chats and documents, the identity model and how many environments must be validated before cutover. No fixed timeline applies to every migration, so treat any number you hear without a stated scope with caution. The length is usually set by testing and approvals rather than by the copy itself, particularly when user communication, rollback rehearsal and access reviews are required. Ask for a plan with named phases, the environments each phase uses and the acceptance criteria for moving to production. Your own change calendar and any compliance review windows will also shape the schedule.
Do chats, users and knowledge bases survive the move?
They can, but only if you plan for each object type explicitly. User accounts, roles and groups are usually recreated through provisioning, which is easier when you connect an identity provider than when you create accounts by hand. Chat history and settings depend on the source system's export options and on the database you move into, so confirm what the export includes before committing to a date. Knowledge bases are the most sensitive item: documents, extracted text and vector indexes may need to be reprocessed against the vector database you choose. Confirm with your source vendor what export formats exist, and test a sample of each object type in staging before cutover.
What must our team provide before a migration starts?
Your team should provide access to the source system, a staging environment that matches production closely enough to test, and the target infrastructure for the database, cache and file storage. You will also need a list of users and groups, the identity provider settings if SSO is in scope, and an inventory of model connections, presets and knowledge bases. Named owners for approvals, cutover windows and user communication are often the item that delays a project most. Ask the provider to produce a readiness checklist covering these items before work begins, and to record what it expects from your side in the written scope. The Open WebUI features documentation describes the identity and provisioning options that affect this inventory.
Do we have to replace SQLite with PostgreSQL during the move?
It depends on the target topology. The Open WebUI scaling guide requires PostgreSQL instead of SQLite for multi-instance deployments, because SQLite does not handle concurrent writes from multiple processes well. SQLite remains acceptable for a single replica, evaluation or a small team, but only when the database file sits on locally attached SSD or NVMe storage rather than network storage. If you plan to run several replicas, the SQLite to PostgreSQL move becomes part of the migration and needs its own validation step, including row counts and a check that users can sign in afterwards. If you remain on one node, the decision is about storage quality and backup discipline, which the scaling guide also covers.
Does migrating change our licensing or branding obligations?
Moving to a new deployment does not by itself change the license terms, but the license you run and the number of users matter. Since v0.6.6 code has been distributed under the Open WebUI License, which adds 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. Code through v0.6.5 remains BSD-3-Clause. Before cutover, confirm your active user count against this threshold, review the current Open WebUI License documentation, and speak with the vendor's enterprise sales team if you need white-labeling. Your legal team should confirm how these terms apply to your organization.
How DeployOpen scopes, delivers and hands over an Open WebUI migration
DeployOpen moves users onto Open WebUI inside your own infrastructure, from a hosted assistant or an earlier single-container install. We agree the scope in writing first, then build, test and document the target before any user is moved.
How we scope
- Inventory the current install, its SQLite database file, uploads and knowledge collections before quoting
- Confirm which model providers, identity source and user groups the migrated instance must support
- Agree in writing whether the target runs one replica or several, which decides whether PostgreSQL and Redis are required
How we build
- Stand up the target with PostgreSQL, and test the SQLite to PostgreSQL move on a copy of the data first
- Reimport knowledge bases and check that retrieval returns the same documents before users are switched over
- Provision users and groups, then test sign-in and sign-out, including token behavior when Redis is absent
How we hand over
- Deliver the migration runbook, cutover checklist and rollback steps written for your own operations team
- Document the configuration, backup procedure and the list of migrated users, groups and knowledge bases
- Walk your administrators through daily operation and record open items in the handover report
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after go-live, based on the written scope
- Retest migrated data and access controls when you move to a later Open WebUI release
- Confirm with us in the quote which post-cutover tasks are included and which are billed separately

