mirror of
https://github.com/open-webui/docs.git
synced 2026-01-02 17:59:41 +07:00
880 B
880 B
Updating with Python
To update your locally installed Open-WebUI package to the latest version using pip, follow these simple steps:
pip install -U open-webui
The -U (or --upgrade) flag ensures that pip upgrades the package to the latest available version.
That's it! Your Open-WebUI package is now updated and ready to use.
:::warning Multi-Worker Environments
If you run Open WebUI with UVICORN_WORKERS > 1 (e.g., in a production environment), you MUST ensure the update migration runs on a single worker first to prevent database schema corruption.
Steps for proper update:
- Update
open-webuiusingpip. - Start the application with
UVICORN_WORKERS=1environment variable set. - Wait for the application to fully start and complete migrations.
- Stop and restart the application with your desired number of workers. :::