OpenWebUI Update
This skill automates the process of updating OpenWebUI within the mycelia-ai-stack environment.
Workflow
Preparation:
- Locate the OpenWebUI directory (usually
/opt/mycelia-ai-stack/openwebui). - Identify the current version in
docker-compose.yml.
- Locate the OpenWebUI directory (usually
Backup:
- Create a timestamped backup of the
openwebuidirectory:cp -r /opt/mycelia-ai-stack/openwebui /opt/mycelia-ai-stack/openwebui_backup_$(date +%F_%H%M)
- Create a timestamped backup of the
Update Script:
- Determine the target version (check GitHub for the latest tag if not specified).
- Update the version string in
/opt/mycelia-ai-stack/scripts/09-openwebui.shusingsed.
Execute Update:
- Run the update script:
bash /opt/mycelia-ai-stack/scripts/09-openwebui.sh
- Run the update script:
Verification:
- Confirm the container is running the new version:
docker inspect openwebui --format '{{.Config.Image}}' - Verify connectivity via the mapped port (usually
8802).
- Confirm the container is running the new version: