Your relay updates itself

Kyber keeps your relay up to date from our side. When a new relay version ships, your relay installs it by itself, at a quiet time, and checks that it works. Nobody at the school downloads, copies or runs anything.

What your school needs to do

Nothing, as long as the relay machine stays on and the relay runs as a service, which install-service or the one-line install sets up. The Agent line on each relay, on the Relays tab of Copy room settings, shows the version it is running.

When an update can happen

  • Only in your school's update window. On weekdays a relay is offered an update only inside the window, in your school's time zone. The usual window is 4 PM to 7 AM. Weekends are always open. Kyber can narrow the window for your school; ask if the copy room works late.
  • Never while printing. A relay with a job in flight, or with a printer that reports it is printing, is not offered an update until the job is done.
  • A few schools at a time. A new version goes to test relays first, then to 10 percent of relays, then 50, then all of them. Kyber widens it one step at a time and stops if anything goes wrong.

How the relay checks an update

The relay makes these checks itself. The signature check is in relay 1.5.0 and later, putting the previous version back in 1.6.0 and later; an older relay is moved onto a current version by the same rollout, inside your window, and its download is checked against its checksum and test-run first.

  1. Every release is signed with Kyber's release key, which never leaves Kyber. Before downloading, the relay checks that signature against the key built into it, for its own version and system, and turns the update away if it does not match. KyberCopy's server alone cannot make your relay run something.
  2. It checks the download against the checksum that was signed.
  3. It runs the new program once to prove it starts, giving it 30 seconds, before swapping it in.
  4. It keeps the previous version beside it. The new one must reach KyberCopy within five minutes, or within five starts. If it cannot, the relay puts the previous version back, reports the update as rolled back, and does not try that version again for a day.

A release that leaves a relay silent for ten minutes after it was offered is paused for every school automatically, so it goes no further while Kyber looks at it. A release Kyber marks as bad is replaced on every relay running it by the last good one.

If an update fails

A failed update never stops printing. The relay carries on with the version it has and tries again later. The school's administrators get an email when an update to a relay failed or was rolled back, or when a relay falls more than one version behind; Kyber gets the same email and will usually sort it out without anyone at the school. If you get one and printing works, there is nothing to do.

Holding a version

Kyber can hold your school, or a single relay, on a version, for example during exams. A held relay is never called out of date. Ask Kyber if you need it.

To install, move or remove a relay, see Connecting your printers with the relay agent.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article