What the button does
Before changing anything, ipmideck backs up the database, the encryption key, andconfig.yaml to backups/ in the data directory.
Requirements
- The login must be on: the button replaces the running program.
- The button is not available in demo mode.
- To restart by itself, ipmideck must have been started with the
ipmideckcommand. Started any other way, it installs the update and asks you to restart it; on Windows it shows the command instead.
Docker with Watchtower
A container cannot replace its own image, and giving ipmideck access to the Docker socket would give it control of the host. A separate Watchtower container does the replacement when ipmideck asks for it.1
Label the ipmideck container
Start ipmideck with the label that lets Watchtower manage it:
2
Start Watchtower
Start Watchtower with its HTTP API on, reachable only from the host:
3
Connect ipmideck
Add the address of Watchtower and its token under the The same settings are available as
updates: section that config.yaml already has, then restart ipmideck:config.yaml
IPMIDECK_UPDATES_WATCHTOWER_URL and IPMIDECK_UPDATES_WATCHTOWER_TOKEN. With Docker Compose, where both containers share a network, use http://watchtower:8080 as the address.Watchtower pulls the tag the container already uses. With
latest it moves to the newest release; a container pinned to a version tag (for example 2.0.0) stays on it.If the install fails
The dialog shows the reason and the installer output, together with the command to install the update manually. Nothing is removed: the backup made before the install is inbackups/, and Backup & restore explains how to restore it.
Next steps
- Updating ipmideck: update from the command line.
- Backup & restore: snapshot your data before upgrading.