Skip to main content
When a newer version is published, ipmideck shows a notification once, and an upgrade button stays next to the version in the sidebar until you install it: an arrow pointing up, or a shield for a security release. Both open the release notes of the new version and, when ipmideck can install it itself, a Download and install button.

What the button does

Before changing anything, ipmideck backs up the database, the encryption key, and config.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 ipmideck command. 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 updates: section that config.yaml already has, then restart ipmideck:
config.yaml
The same settings are available as 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 controls Docker through its socket. Use a long random token, and keep its port bound to 127.0.0.1 as shown.
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 in backups/, and Backup & restore explains how to restore it.

Next steps