Updates
How a signed update is checked, tried, installed and, if it fails, rolled back.
Updated October 19, 2026
Cenovel never downloads or installs anything on its own. A District Administrator uploads a signed bundle in Settings › System › Updates and installs it after signing in again; with a connected license, they can instead ask the licensing service for the releases available and download one to the same place. Or root runs cenovelctl upgrade apply on the appliance console. Every way takes the same path.
- The web app never gets root. The console runs as an unprivileged user with no way to raise its privileges. It holds one capability, NET_BIND_SERVICE, for the DHCP service check, which is off by default. The capability would let it bind any port below 1024; the appliance firewall keeps the other low ports closed. Its only power is to place the bundle and a request in a spool folder. A systemd path unit starts the root updater, which trusts nothing the console says.
- Root checks it again. It opens the request and the bundle without following links, requires plain files written by the console, refuses a request that is over 15 minutes old or was used before, copies the bundle into its own folder, and from then on reads only that copy. It requires the update key’s signature, a release newer than the one running (a downgrade is a restore, never an update), a fit with the database version, and room on the disks.
- Tried before anything stops. The release is checked against a copy of the database in a disposable schema while the console keeps serving. Then the console stops, a backup is taken and verified, the release switches and the database is updated.
- It goes back on its own. If the new release doesn’t pass its readiness check, the appliance returns to the previous release, or restores the backup it took after the console stopped, so nothing is lost. A power cut mid-update is resolved at the next boot. While the console is stopped, a maintenance page shows the steps.
- It is recorded. The audit log records the upload, the request with its reason and the outcome; the updater’s own journal keeps a record the console can’t change.