Skip to content

Updates ​

Administration → Updates shows the running version, the release channel (stable or beta), the releases the licence portal offers to this installation and the connector versions. Online installations check daily; offline installations apply release bundles.

Releases are offered to licensed installations only.

Update the panel (Compose, appliance) ​

sh
sudo nexhypro-ctl update --version <version>                     # online
sudo nexhypro-ctl update --version <version> --bundle <file.tar>  # offline

nexhypro-ctl update:

  1. pulls (or loads) the images;
  2. verifies the release manifest with the release key embedded in the running panel, and checks that this version may upgrade to it;
  3. verifies the image signatures with cosign when NEXHYPRO_COSIGN_PUBKEY is set;
  4. takes a backup (pre-<version>);
  5. runs the migrations and starts the new version;
  6. rolls back automatically when the migration or the health check fails: the database returns to the backup and the previous images start.

sudo nexhypro-ctl rollback returns to the version before the last update by hand.

From the web UI ​

On Compose and appliance installations whose host runs systemd, a platform administrator can start the update from Administration → Updates with Install. install.sh sets this up:

  • it installs the nexhypro-update.path unit;
  • it creates the spool directory /var/lib/nexhypro/update-spool, shared with the API container;
  • it sets NEXHYPRO_UPDATE_SPOOL.

When you start an update from the web UI:

  1. The panel writes an update request into the spool. The request names the release, is valid for 10 minutes and is signed with the installation's own key. The panel never controls the host.
  2. nexhypro-update.path starts nexhypro-ctl update --from-request. It checks the request's signature and expiry through the running panel, and accepts each request only once.
  3. The update itself is the same as above: verified, with a backup first and automatic rollback.
  4. The page shows the result (requested, running, updated, failed or rolled back) with the last log line. The full log is in /var/lib/nexhypro/update-<version>.log.

Only offered releases that this version may move to can be installed, and only one update runs at a time. Offline installations and Kubernetes still show the command.

Update connectors ​

Connectors installed with systemd update from the panel: Update connector on the Updates page starts a job that sends the connector of the running release. The connector downloads it over its mTLS connection, checks it against the signed manifest, keeps the previous binary and restarts. If the new version does not connect after three starts, the connector returns to the installed binary.

Containerised connectors update by pulling the new image.