Update Guide
This guide updates the Komari server panel while keeping the existing data directory.
WARNING
Before updating, back up your data from the admin settings or back up the mounted data directory directly.
Docker Update
Pull the latest image:
bash
docker pull ghcr.io/komari-monitor/komari:latestStop and remove the old container:
bash
docker stop komari
docker rm komariStart a new container with the same volume mapping:
bash
docker run -d \
-p 25774:25774 \
-v $(pwd)/data:/app/data \
--name komari \
--restart unless-stopped \
ghcr.io/komari-monitor/komari:latestThe container is recreated, but the local data directory remains.
Docker Compose Update
Run these commands in the directory containing docker-compose.yml:
bash
docker compose pull
docker compose up -dOlder installations may use:
bash
docker-compose pull
docker-compose up -dBinary Update
- Stop the running Komari process or service.
- Download the new binary from the GitHub Releases page.
- Replace the old binary.
- Start Komari again.
For a systemd service:
bash
sudo systemctl stop komari
# replace the binary
sudo systemctl start komari
sudo systemctl status komariAgent Updates
- If auto update is enabled, the agent checks for updates periodically.
- If auto update is disabled, rerun the agent install command to update it.
Verify
Open your Komari dashboard and confirm that nodes, settings, accounts, and historical data are still present.