Before Updating
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
Using Watchtower for Automatic Updates
Watchtower automatically updates running Docker containers: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:- Update the image tag in your Git repository
- Commit and push changes
- 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 whenENABLE_DB_MIGRATIONS=true (default).
Manual Migration Control
To disable automatic migrations:Verify Migration Status
Check logs after update:Troubleshooting Updates
Update Fails to Start
- Check logs for errors:
- Verify environment variables are still set correctly
- Check for breaking changes in release notes
Database Migration Errors
If migration fails:- Restore from backup
- Check GitHub Issues
- Try disabling migrations temporarily:
Configuration Issues
If configuration seems lost:- Verify volume is mounted correctly:
- Check data directory permissions:
Rolling Back
Docker Rollback
pip Rollback
Update Notifications
Subscribe to Updates
- Watch the GitHub repository
- Join the Discord community
- Follow release RSS feed
GitHub Watch
- Go to https://github.com/open-webui/open-webui
- Click “Watch” → “Custom” → “Releases”
- 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