Skip to main content
Regularly update Open WebUI to get the latest features, bug fixes, and security patches.

Before Updating

Always backup your data before updating to prevent data loss in case of issues.

Backup Your Data

Docker Updates

Standard Docker Installation

1

Stop the Container

2

Remove the Container

3

Pull Latest Image

4

Start New Container

Run the same docker run command you used initially. For example:

One-Line Update Script

Create an update script for convenience:
update-open-webui.sh
Make it executable and run:

Using Watchtower for Automatic Updates

Watchtower automatically updates running Docker containers:
This checks for updates daily and automatically updates the open-webui container.

Docker Compose Updates

1

Pull Latest Images

2

Restart Services

Docker Compose Update Script

update-compose.sh

Kubernetes Updates

Update Deployment Image

1

Update Image Tag

Edit your deployment manifest or use kubectl:
2

Monitor Rollout

3

Verify Update

Rollback if Needed

If the update causes issues:

GitOps (ArgoCD/Flux)

If using GitOps:
  1. Update the image tag in your Git repository
  2. Commit and push changes
  3. ArgoCD/Flux will automatically sync the changes

Python pip Updates

Update to Latest Version

Update with All Dependencies

Update to Specific Version

Check Current Version

Version-Specific Updates

Updating from Ollama WebUI

If you’re updating from the old Ollama WebUI:
1

Backup Data

The database will be automatically migrated from ollama.db to webui.db.
2

Update Container

Follow the standard Docker update process. The migration happens automatically on first run.

Major Version Updates

For major version updates, check the changelog for:
  • Breaking changes
  • New required environment variables
  • Database migrations
  • Configuration changes

Checking for Updates

Current Version

Check your current version:

Latest Available Version

Version Update Check

Open WebUI can automatically check for updates if enabled:

Update Frequency Recommendations

  • Production: Update monthly or when security patches are released
  • Development: Update weekly to get latest features
  • Critical Security Updates: Apply immediately

Database Migrations

Open WebUI automatically runs database migrations on startup when ENABLE_DB_MIGRATIONS=true (default).

Manual Migration Control

To disable automatic migrations:

Verify Migration Status

Check logs after update:

Troubleshooting Updates

Update Fails to Start

  1. Check logs for errors:
  1. Verify environment variables are still set correctly
  2. Check for breaking changes in release notes

Database Migration Errors

If migration fails:
  1. Restore from backup
  2. Check GitHub Issues
  3. Try disabling migrations temporarily:

Configuration Issues

If configuration seems lost:
  1. Verify volume is mounted correctly:
  1. Check data directory permissions:

Rolling Back

Docker Rollback

pip Rollback

Update Notifications

Subscribe to Updates

GitHub Watch

  1. Go to https://github.com/open-webui/open-webui
  2. Click “Watch” → “Custom” → “Releases”
  3. Get notified of new releases

Best Practices

1

Test in Staging

Test updates in a staging environment before applying to production.
2

Backup First

Always backup your data before updating.
3

Read Release Notes

Check the changelog for breaking changes and new features.
4

Plan Downtime

Schedule updates during low-usage periods.
5

Monitor After Update

Watch logs and user feedback after updating.

Automated Update Pipeline

For production deployments, consider this workflow:
.github/workflows/update-open-webui.yml

Next Steps

Docker Deployment

Docker deployment guide

Kubernetes

Kubernetes deployment

Environment Variables

Configuration reference

Troubleshooting

Common issues and solutions