Best path: treat a Terminals 0.3.x to 0.4.x move as a manual migration, not an image update. First back up both applications’ databases and the Terminals workspace files; then build the new instance, recreate its templates, migrate the files, and reselect the terminal in Open WebUI. Keep the old data and a rollback route until file access, permissions, and workspace selection all pass verification.
This guide is for administrators preparing to move a self-hosted Open WebUI setup from Terminals 0.3.x or earlier to the 0.4.x line.
It also applies to teams whose models, folders, automations, or chats already refer to terminal connections.
If a technical lead owns the migration, use the checkpoints below to assign responsibility for databases, workspace files, and access control.
Last updated November 21, 2026. Migration requirements checked against the Open WebUI migration guide and the Terminals release record. Check both again before making a production change; the release record may contain later patches or updated instructions.
What counts as a successful migration?
A container that starts is not evidence that a migration is complete. The move is ready for production only when all of these conditions are true:
- Both applications start on compatible versions.
- The intended database state and terminal workspace files are present in the new environment.
- Open WebUI can authenticate to and communicate with the new Terminals instance.
- Recreated templates and workspace mappings produce the expected result for representative users.
- Existing chats and automations use the intended terminal, not an unintended default.
- The old environment remains available until the team accepts the new one.
The documented boundary is important: Terminals 0.3.x and earlier do not have an automatic upgrade path to 0.4.x. The official guide calls for a new instance, recreated templates, and file migration. It also requires Open WebUI 0.13.4 or later. See the official version and migration requirements before selecting the target versions.
Can Terminals 0.4.x be migrated by changing only the Docker image? Not when the source is 0.3.x or earlier. A normal image update within the 0.4.x line is a different operation; do not apply that simpler procedure to a cross-boundary migration.
Which state must survive the move?
The migration has three distinct data categories. Treating them as one “container backup” is a common way to discover too late that a required part was left behind.
| State to preserve | What to identify in the current deployment | What to verify after migration |
|---|---|---|
| Open WebUI database | The database actually used by the deployment and its real storage or export location | The expected users, chats, and relevant application state are available |
| Terminals database | The database and persistent storage associated with the old Terminals instance | The new instance has the required state for its recreated configuration |
| Terminal workspace files | The actual workspace directories and their mounted or persisted locations | Files are present at the new location and can be opened by the intended account |
The table is a discovery aid, not a claim that every deployment stores data in the same path. Docker Compose files, environment settings, named volumes, bind mounts, and external databases can change where state lives. Inspect the running deployment and its configuration. Record the actual paths and database endpoints before copying anything.
The Open WebUI backup documentation explains its backup approach. Its database import and export guide covers database handling. Use these as application-specific references, then confirm that the resulting backup covers the data in the deployment being migrated. An image can recreate software; it is not a substitute for a database export or workspace-file copy.
Keep the two databases conceptually separate. A backup that protects Open WebUI does not automatically prove that Terminals state is covered, and a copy of terminal files does not protect either database. The same applies to a single volume: unless its contents have been inspected and matched to the deployed configuration, it cannot be assumed to contain everything needed for recovery.
Before the change, create a short inventory:
- Open WebUI version and database type or endpoint.
- Terminals version and database type or endpoint.
- Workspace locations and the mechanism used to persist them.
- Templates, connection settings, and any documented authentication configuration.
- Which users, chats, models, folders, and automations rely on each terminal.
Do not assume that a familiar volume name or old display label proves that the underlying data is complete. Match the inventory to the actual running setup.
Migration boundary: If the source is Terminals 0.3.x or earlier, plan for a new Terminals instance and manual reconstruction. Reusing an old label or replacing an image does not satisfy the documented migration procedure.
Which version and connection checks matter?
The first compatibility gate is clear: the target Open WebUI version must be 0.13.4 or later, according to the migration guide. The Terminals release record should then be checked for the exact target patch and any release-specific notes. Do not infer that a later release has the same migration behavior merely because it shares the 0.4.x prefix.
The next gate is authentication. The new connection may use different key settings from the old deployment, and the migration guide identifies old settings that must be removed. Follow the current names and instructions in that guide rather than copying environment variables from an old Compose file. This avoids a particularly confusing failure mode: both containers appear healthy, but Open WebUI cannot establish an authenticated connection to Terminals.
Use the official Open WebUI connection guide to check the expected connection setup. Verify the result from both sides where possible: confirm that Open WebUI reports a usable connection and review the relevant application logs for authentication or request errors. A running container, an open port, or a familiar connection name is not enough.
Why must terminal selections be made again in chats and automations? The migration creates a new Terminals instance and requires templates to be rebuilt. References in existing models, folders, automations, or chats may still point to the previous connection or may resolve to a different default. Review each location and explicitly select the intended new terminal instead of assuming the old selection followed the migration.
A migration runbook based on checkpoints
Use a maintenance window or a separate migration copy. Keep the production source unchanged until the new environment passes acceptance checks.
Checkpoint 1: Freeze the source inventory
Record the current Open WebUI and Terminals versions, connection settings, database locations, workspace paths, templates, and the places where terminals are selected. Identify a representative user account and a small set of existing chats or automations that can be used for testing.
This inventory is the comparison baseline. Without it, a post-migration difference can be mistaken for normal behavior, or a missing selection can go unnoticed.
Checkpoint 2: Back up databases and workspace files
Back up the Open WebUI database, the Terminals database, and the terminal workspace files as separate, identifiable artifacts. Follow the official backup and database instructions for the relevant application. Record where each backup was written and who is responsible for it.
Do not proceed on the strength of a successful copy command alone. Confirm that the expected files exist, that the database export completed, and that the backup is readable or can be restored to a disposable test environment. A backup that has never been checked is only an unverified recovery assumption.
Checkpoint 3: Build the new Terminals instance
Create the new instance according to the current migration guide. Rebuild the required templates rather than assuming the old instance’s template definitions will appear automatically. Apply the current connection and authentication settings, removing legacy settings where the official instructions require it.
Keep the new instance isolated from normal users until its connection has been tested. This prevents a partially configured endpoint from becoming a production default.
Checkpoint 4: Migrate files and restore the required state
Copy the workspace files to the locations expected by the new instance, using the paths established during inventory. Handle database state according to the official migration instructions; do not improvise a direct database conversion from an old version unless the guide explicitly calls for it.
After copying, compare the expected file set with the files visible in the new workspace. Test access with the intended account. If files exist on disk but cannot be listed or opened from the application, treat the migration as incomplete and investigate the path or permission mapping.
Checkpoint 5: Reconnect and reselect terminals
Configure the new connection in Open WebUI using the documented procedure. Confirm that authentication succeeds, then review the actual use locations: models, folders, automations, and chats. Select the new terminal where required.
Test with representative accounts rather than only an administrator account. A successful admin test does not establish that ordinary users have the correct permissions or workspace assignment.
Checkpoint 6: Record acceptance evidence before retirement
Document the results for database state, file access, connection status, permissions, and terminal selection. Keep the old databases and workspace storage available while the team evaluates the new environment. Do not delete the source merely because the new containers start.
A useful acceptance record states what was tested, which account was used, which workspace was opened, and whether an existing chat or automation selected the intended terminal. This turns “it seems fine” into a reviewable decision.
Choose the next action using these conditions
Use the following decision branches before scheduling the production cutover:
- If the source is Terminals 0.3.x or earlier: choose the manual migration path. Build a new instance, recreate templates, and migrate files. Do not use an image-only update as the plan.
- If Open WebUI is below 0.13.4: stop before connecting the new Terminals instance. Upgrade Open WebUI to a version that meets the documented minimum, then validate the connection.
- If the databases or workspace paths are unclear: defer the migration. Inspect the deployment and establish complete backups before copying or changing services.
- If the new connection works but a representative user sees the wrong workspace: keep the old environment and correct the template, permission, or selection mapping before cutover.
- If files, permissions, and selections all pass, and rollback data remains available: proceed with the planned cutover. Retire the old data only after the team’s acceptance and its own retention requirements permit it.
This distinction also answers a common upgrade question: an ordinary image update within Terminals 0.4.x may follow the current release instructions, but it does not erase the separate manual-migration requirement for a source on 0.3.x or earlier. The exact procedure should always match the source and target versions shown in the official guide and release record.
Where should the new environment run?
The migration itself does not require a particular hosting model. A small, lightly used deployment may remain suitable on its current host if it has enough resources and reliable storage for the application and workspaces. A team with sustained workloads, several self-hosted services, or a need to control the whole machine should compare that arrangement with a dedicated server.
Do not choose a server based on an invented “minimum” for this migration. The cited migration instructions define version and data-handling requirements, not a universal CPU, memory, or storage threshold. Estimate resource needs from the actual Open WebUI services, databases, workspace growth, and other workloads that will share the host. If the setup also runs model inference, evaluate that separately: this migration guide does not establish inference performance or GPU capability.
For a dedicated host, check the real system, disk, access, and billing options shown on the IronSSH server options and pricing page before choosing a target. If the new Linux environment will be administered over SSH, use the IronSSH SSH access guide to confirm the access workflow. These checks help confirm that the destination fits the deployment; they do not replace application-level backups or migration acceptance.
For a team moving from a shared VPS or cloud instance, the trade-off is practical: shared CPU and storage behavior can make resource contention harder to isolate, while usage-based billing or service-specific storage rules can make long-running workloads less predictable. A dedicated AMD physical server is a better fit when the team needs exclusive machine resources and expects the services to run continuously. It is not automatically the right choice for a brief test, a very light deployment, or a workload that benefits more from short-lived elastic instances.
Before committing to a new host, confirm that the chosen operating system can run the required application stack, that the workspace and database backup plan is independent of the host, and that the team can administer the system. IronSSH is worth comparing for a stable, self-managed deployment when dedicated resources suit the workload. If the migration has not yet passed file, permission, and terminal-selection checks, keep the old environment and resolve those gaps first rather than buying or switching under pressure.
Further reading
Run Your Services on Dedicated Infrastructure
Choose an AMD EPYC 7543P server with 32 cores and 128GB or 256GB of dedicated ECC memory.