# Open Webui Update

> Updates OpenWebUI to a specified or latest version while persisting configuration in the mycelia-ai-stack.

- Skill: `drjmf/open-webui-update` (Agent Skill)
- Install (CLI): `npx skillmds@latest add drjmf/open-webui-update`
- Raw SKILL.md: https://api.skillmd.com/api/skills/drjmf/open-webui-update/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: drjmf (https://skillmd.com/u/drjmf)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/drjmf/open-webui-update

---


# OpenWebUI Update

This skill automates the process of updating OpenWebUI within the `mycelia-ai-stack` environment.

## Workflow

1.  **Preparation**:
    - Locate the OpenWebUI directory (usually `/opt/mycelia-ai-stack/openwebui`).
    - Identify the current version in `docker-compose.yml`.

2.  **Backup**:
    - Create a timestamped backup of the `openwebui` directory:
      `cp -r /opt/mycelia-ai-stack/openwebui /opt/mycelia-ai-stack/openwebui_backup_$(date +%F_%H%M)`

3.  **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.sh` using `sed`.

4.  **Execute Update**:
    - Run the update script:
      `bash /opt/mycelia-ai-stack/scripts/09-openwebui.sh`

5.  **Verification**:
    - Confirm the container is running the new version:
      `docker inspect openwebui --format '{{.Config.Image}}'`
    - Verify connectivity via the mapped port (usually `8802`).

