Skip to content
Castellan
Castellan's icon

How-to · Castellan

Read as

Updates, and automatic updates

How Castellan finds new releases of itself and its staff, how to install them, how automatic updates work, and what happens when one fails.

Article
1103
Applies to
Castellan 0.17.94
Last reviewed
For
For everyone
Written for Castellan 0.17.94. Castellan is at 0.17.111 now (17 small releases since: what changed).

How Castellan finds updates#

Castellan looks for new releases of itself and of each employee every 15 minutes, and keeps what it found, so the page shows it at once even after a restart. Check now, under Updates on Castellan's page, looks straight away.

What's out shows in three places:

  • Updates, on the page: everything that's out, with Update all. While some of your staff update only when you say, a tile at the top shows how many are out.
  • Each role's card: Version 0.6.4 is out, with What's new (that release's notes) and Update beside Open.
  • A new Castellan shows as a banner across the top of the page.

Once an employee has updated, its card says so ("Updated to 0.6.4 today"), with What's new under it for a week: the notes of every version the update brought.

Every release's notes are on this site too, in the release notes.

Install an update#

Choose Update on an employee's card, or Update all. Then:

  1. Castellan backs up every employee's settings first. See Backups.
  2. It downloads each release and checks every file's size and fingerprint against the release's list of its files, signed with the same key as your license. A release whose list is missing, isn't signed with that key, or belongs to another release isn't installed.
  3. Each employee's own installer stops its page, installs the new release, and starts it again. It keeps its data, its settings and its duty: an employee that was off duty stays off duty.

One update runs at a time. While it does, each card follows its own employee: Waiting for lessons until its turn, Learning new skills… while it installs, then its new version. Updates shows each employee's step as it goes, and its What's new, for every version the update brought, as soon as that employee is done: you can read while the rest still learn. You can close the page, or carry on using it: the update carries on without you.

After its update, each employee is on probation for 90 seconds, and its row then reads Back at their post. If one doesn't hold up, its earlier version is put back, and its row says so.

If you press Update, Update all or Update Castellan while the next release is being made ready, the button says Update asked, and the card says why it waits. The update then starts by itself once the release is out, with everyone you asked for in one go. Hiring an employee, or switching one for another, never waits.

When Castellan updates itself

Castellan's own update goes first, before any of the staff's. While its release downloads, the page works as usual, and the banner at the top says Castellan is off learning the new skills of the new version, with its latest step.

Then Your manor is being upgraded covers the window, with the versions, the step it's on, and what's new to read. Castellan's page is down only for the few seconds its files are swapped: the window loads the new page by itself, and the card stays up until Castellan's update is done. Its step reads Castellan is learning the skills of … while it installs, and learned once it's in, there and under Updates.

  • When it's in, the card says so with its new version, Castellan 0.17.94 is ready, for a moment, and then your manor's page shows.
  • If it didn't go in, or the version before was put back, the card says Castellan's update didn't go in, and what happened, until you press Back to the manor. The Updates tab has its steps, and Update Castellan tries again.

If some of your staff update in the same go, your manor's page shows again as soon as Castellan's part is done: the staff's updates carry on behind a page you can use, and Updates shows how far they've got.

Castellan keeps the version it had until the new one has run without trouble for 90 seconds. If the new page doesn't come up, stops answering or shows an error in that time, Castellan puts the version it had back and starts it again. It doesn't install that version again, but the next release installs as usual.

Automatic updates#

Castellan and every employee update automatically from the start, however the employee came to work here: hired on the page or in setup, brought from another PC, or installed some other way. A switch you've never touched counts as on. To update one yourself instead, turn its switch off:

  • Settings > Employees: a switch for each employee under Updates automatically, with All update automatically and None.
  • Under Updates: Update Manor automatically, for Castellan itself.

A switch you turn off stays off, through every update, until you turn it on again. While one is off, Updates and that employee's card still say when a release is out, and Update installs it when you choose. Import from another PC brings that PC's switches as they are there, on or off.

An employee switched on updates by itself once a release is out and it's idle: not working, not starting or stopping, and not holding or waiting for the NPU or a graphics card. Until then, its card says what it's waiting for. So an automatic update never cuts a job short.

While the manor is stopped from Settings, nothing is updated: automatic updates wait until you start it again, and Updates says so.

With your other PCs

With Other PCs on, each of your PCs updates as soon as a release is out: none waits for another to try it first. See Your other PCs.

  • A release put back on one of your PCs, because it didn't start well there, isn't installed on your others either. The card says so, and a newer release is installed as usual.
  • A PC that's asleep, switched off, on an older Castellan, or has Other PCs off holds nothing up.
  • Update, when you press it, never waits for another PC.
  • Castellan 0.17.57 to 0.17.62 waited for another PC to try each release for an hour first, and the card said so: "it's being tried on GAMING10 first". Once one of your PCs has a newer Castellan, the others stop waiting for it.

When an update fails#

An update has failed only if the employee is still the version it was before. Then:

  • An automatic update is tried again after 30 minutes, up to three times for that release. After the third, it waits for you: Update on the card tries again and starts the count afresh.
  • Nothing is left half-installed. The old version keeps working until the new one is in. A new version that doesn't start properly is taken out and the old one put back, for Castellan and for each of your staff, and so is an update cut short halfway.
  • Updates shows the failed update's log: what step it stopped at, and why.

A version that was put back is listed under Updates, and on its employee's card, with when and why. It isn't installed again, by hand or automatically, until you choose Allow again, which asks first and then tries it once more; or until a newer release is out.

When the update server doesn't answer for a moment, Castellan says nothing and asks again. Only after 6 hours without an answer does it give one warning, for all the staff.

An update can't be undone with a button yet. If a new version misbehaves, restore the backup made just before the update (Backups keeps the ones from before each update), or write to us: see Support.

Updates and your license#

With a subscription, every release comes as it's published. If a subscription has lapsed, releases published after it lapsed wait, and the card says so ("0.5.2 is out. Your updates paused on 27 September 2026: subscribe again to get it."); they're never offered until you subscribe again. Everything installed keeps working. See Your license, the trial and your PCs.

Is this page right?

If something on it is wrong or out of date, tell us and we'll fix the page.

Still stuck? Write to support@castellan-software.com and mention article 1103. Every version of Castellan, and what changed in it, is in its release notes.