For administrators
Updates
Which cyantula release runs here, what its channel offers, and updating now or automatically.
What this is
Shows the release this installation runs, the release its channel offers, and lets you update without a shell: update now, let the machine update itself, choose the channel, and replace the release key. Every release is signed, and the machine refuses one the release key did not sign.
Where to find it
- Click Admin.
- Open the card Platform, then Updates.
When your channel offers a newer release, administrators also see a bar at the top of every page: cyantula … is available (this machine runs …), with an Update button. With automatic updates on, the bar says it is applied automatically within ten minutes and the button reads Details.
What you see
Updates. The sentence This machine follows the … channel, then a pill (updating, available, error or current) and a headline: Updating…, cyantula … is available, Up to date or Not checked yet. A table shows:
- Running: the release in use.
- Channel offers: the release the channel offers now, when it was published and its short notes. If it is older than what runs here, a note says it is not installed and the machine waits for a newer one.
- Last checked: when the channel was last read.
Buttons: Update to … (or Update now when nothing is newer), Check again and Release notes (shown when notes exist; they open in the portal, with ← Back to updates).
Channel. Choose stable, beta or, only when your licence includes it, edge.
- stable: stable releases only.
- beta: beta releases before stable has them, plus any stable release newer than the latest beta. Use it on installations that test a release for the others.
- edge: every build that passes the tests, for as long as the licence includes edge builds. If it stops including them, the machine moves back to beta by itself.
Update automatically. A checkbox. On, the machine checks its channel every ten minutes and installs a new release itself, with the same health check and automatic rollback as Update now. Off, new releases are announced and installed only when an administrator clicks the button.
Last update from the portal. Shown once an update was started here: a pill (succeeded, failed or running), when it started and finished, and the log. It opens by itself when the last update did not succeed.
Release key. The public key this machine checks every release against, with its Current key (SHA-256) fingerprint, a text box, Choose release.pub…, Check key and Replace key.
How to update now
- Click Update to … (or Update now).
- The window asks Update to cyantula …?. It explains that the release is downloaded, its signature checked, and the portal restarts on it, away for about a minute. Published apps keep running. If the new version does not come up healthy, the previous one is put back on its own. Click Update now.
- The pill says updating. A note says the portal is restarting. The page picks it up when the portal answers again.
You know it worked when the headline says Up to date, Running shows the new release and Last update from the portal says succeeded.
How to switch automatic updates on or off
- Tick or untick Update automatically.
- Switching off asks Stop updating automatically?. New releases are then only shown here and in the banner. Click Update by hand to confirm.
How to change channel
- Click the channel under Channel.
- Read the window Follow the … channel? and click Follow ….
Stable never steps back on its own: a machine on a beta stays on it until a stable release is newer.
How to replace the release key
Do this only when the signing key was lost or rotated and updates fail with "not signed by the release key".
- Have the new public key ready, as a
.pubor.pemfile or as text. - Click Choose release.pub…, or paste it into the box, BEGIN and END lines included.
- Click Check key. You see the new fingerprint and whether the key verifies the release the channel offers now.
- Click Replace key. The window Replace the release key? compares the current and new fingerprint and warns when the new key does not verify the offered release. Click Replace key.
- A message says Key replaced. and whether it verifies the offered release.
The old key stays on the machine as a backup file named with the time.
When something looks wrong
- The channel could not be read: followed by a reason. The machine cannot reach the channel. Check outbound access, then click Check again.
- The pill says error: the same, or the last check failed.
- An update ended failed: open Last update from the portal and read the log. The previous version is put back automatically.
- The page is blank for a minute during an update: normal, the portal is replaced. It reconnects by itself.
- Updates fail with "not signed by the release key": replace the release key as above.
- A different text instead of the controls, saying this gateway runs a release and giving a reason: this installation is not set up for updates from the portal. Update it the way it was installed.
Good to know
- Only administrators can update.
- The portal is away for about a minute. Published apps keep running.
- Replacing the key makes the machine accept only releases signed with the new key. Be sure it is the right one.
- Switching to the stable channel never steps the machine back on its own.