Nocward
Nocward Monitoring
Nocward Monitoring How-to guides 3 min read

Software updates

Install the update agent once, then check, apply, skip and roll back signed updates from the web interface or the command line - online or offline.

Last updated 11 November 2026

Monitoring updates itself through nocward-updater, a small agent on the host. It downloads signed releases, verifies them, backs up the database, switches the containers over, checks health, and puts the previous release back automatically if anything fails. The application containers never get access to Docker; only the agent can restart them.

Install the agent (once)

Prerequisites on the host: Docker with the Compose plugin, zstd and curl. From the updater/install/ folder of the release:

sudo ./install.sh --binary ./nocward-updater --update-url <update server URL from your release notes>

The installer puts the binary in /usr/local/bin, writes /etc/nocward/updater.json, creates a control token, installs and starts the systemd service, and records the running release as the baseline. It ends by printing a NOCWARD_UPDATER_TOKEN=... line: add it to /opt/netmon/api/.env and recreate the API container:

docker compose up -d --force-recreate api

Update from the web interface

Settings → System → Software updates (admins) shows the installed version, and when an update is available: its type (Security, Critical or Feature), the changelog, the download size, the expected downtime and whether it can be undone automatically.

  • Update now asks for confirmation, then shows each step: checking the system, verifying the package, backing up the database, loading images, updating the database schema, restarting services, verifying health.
  • Skip this version hides an update you do not want.
  • Roll back to x.y.z returns to the previous version.
  • Update history lists every update and its result.

An update that changes the database in a way that cannot be undone automatically is marked so and always needs your confirmation.

Expect 30 to 90 seconds without the web interface while the API is recreated; the collector keeps collecting and reconnects by itself. The database backup taken before each update appears under Settings → Data and backups → Automatic database backups (the newest 3 are kept). In MSP mode, only the provider’s admins see this page.

Update policy

Setting Default
Channel Stable (Beta for early access)
Maintenance window 02:00-05:00, server time
Install security updates automatically On - only inside the maintenance window. Feature updates always wait for you.
Send anonymous update reports A random installation ID, versions and each update’s result - never network data, device names or credentials

The agent checks for updates every 6 hours.

From the command line

nocward-updater status
nocward-updater check
nocward-updater apply          # asks for confirmation; --yes to skip
nocward-updater rollback
nocward-updater history
nocward-updater settings --auto-apply=false --window 02:00-05:00

Offline servers

Download manifest.json, manifest.json.sig and bundle.tar.zst on another machine, copy them to the server and run:

nocward-updater apply --manifest manifest.json --sig manifest.json.sig --bundle bundle.tar.zst

The signature is checked exactly as for an online update.

If the page says the agent is not set up or not responding

  • Not set up - the agent is not installed, or NOCWARD_UPDATER_TOKEN is missing from the API configuration.
  • Not responding - check systemctl status nocward-updater.
  • Has not recorded the installed version - run nocward-updater init once on the host.

Was this page helpful?

Have an idea for the product itself? Suggest an idea