Upgrade Fistron
Every release has release notes: read them before upgrading, for new settings, for anything removed and for the versions of the parts that go together (Fistron, the closed core in the agent’s image, the chart and the control plane).
Learn of a new version and its fixes
Fistron tells you when a newer version or a security fix is there (ADR 0160). At most once a day it downloads Fistron’s index of releases from dl.fistron.io, signed with Fistron’s release key; nothing is sent (no identifier, not even your version), and an index that is not signed by that key, or is older than one seen before, is refused.
On the command line, at most once a week (at once for a new security fix),
a command ends with one line on standard error, never in CI and never with
--json:
fistron: Fistron 0.5.0 is available (6 fixes, 1 security fix): curl -fsSL https://get.fistron.io | sh (fistron version --check says more)
fistron version # the version, the last check and what it found
fistron version --check # check now, with the notes of every newer version
fistron version --check off # no check at all (on turns it on again)
In the local UI, a newer version shows as a banner above every page, with its fixes, a security fix marked and the one command that upgrades; Not now puts it off until the next version, but not a security fix, nor a version that gets no more fixes. What is new opens Settings, Updates: the check on or off (Check for a newer version), when it last ran, Check now, and the notes of every newer version.
FISTRON_UPDATE_CHECK=off turns it off for one environment too. Each check
is listed in Where your data went as a check (nothing sent); a
data-flow policy whose regions dl.fistron.io is outside refuses it.
An on-premises control plane checks the same way, once a day, and tells
the organisation’s admins and auditors (who read its licence): the banner
above every page and, on Organisation, Licence, the card
Updates with the notes and Check now; the command that upgrades is
the installer’s again (fistron-install update on-premises,
below). The organisation’s Dashboard has the card
Versions and updates for the same people: the control plane’s version
(its chart’s), its Fistron and core, every agent’s Fistron and core with
the agents older than the control plane marked, a newer release on the
channel with its notes and security fixes, the command that upgrades the
control plane, and Check for updates now. An agent that follows its
control plane takes the new image within an hour of the control plane’s
upgrade; any other is upgraded on its host with fistron-install update.
Without the check (air-gapped), the card says how to learn of a newer
version (the feeds) and how a newer bundle upgrades the installation.
On or off is the installation’s: the chart’s value
controlPlane.updates.check (true by default; false: no contact at
all; controlPlane.updates.url: another index, a mirror). Its network
policy then lets the control plane reach port 443
(controlPlane.networkPolicy.updates). An air-gapped installation has it
off. app.fistron.io is upgraded by Fistron.
Until Fistron 1.0.0 every plan gets its fixes in the newest version. From
1.0.0 a plan gets them in older versions too, for a while (Team the
previous minor version; Business, security fixes for 12 months more;
Enterprise a long-term version for 24 months); fistron version says
whether yours still gets them.
How a release reaches you

Each part of Fistron (Fistron, its core, the control plane) is released
before the next one is built on it, and every image is signed. The wheels,
each release’s list of files, the offline bundle and the index of releases
are signed with Fistron’s release key. fistron-install verifies them
before it installs anything; an agent that follows its control plane
verifies the new image before it restarts; fistron doctor checks that
the files are the release’s. A version reaches the channel stable only
after it ran on Fistron’s staging and was confirmed for production.
Check that an installation is supported
After an upgrade, or with images you built yourself, fistron doctor
says whether the installation is one Fistron supports: a release’s files,
unchanged, with the release’s signed core. It compares the installed files
of Fistron, the core and the control plane with each release’s signed list
of its files, which the image keeps, and contacts nothing:
fistron doctor # supported, not supported (the files named) or unknown release
fistron doctor --json
An agent says the same in its log when it starts, and the Agents page shows an agent that is not supported. The control plane’s log says it when the control plane starts.
The rule of one minor version
An agent and a control plane work together when they are at most one minor version apart in the same major version, older or newer. So you can upgrade one side at a time: first the control plane, then the agents, or the other way. Further apart, both refuse with HTTP 426 and say which one to upgrade. Your agents’ versions are on the Agents page: an agent older than the control plane says so, and one more than a minor version older says it is refused.
Installed with one command
An agent installed with install.sh (Use the hosted control plane with your own agent)
follows its control plane: it runs the agent’s image the control plane says
it runs, and within an hour of the control plane’s upgrade it takes the new
one by itself (the timer fistron-agent-update.timer; in Kubernetes the
CronJob <release>-agent-update). The image is pulled and its signature
checked before the agent restarts, and nothing changes while the agent runs
that image already. So an agent never runs ahead of its control plane.
- Only by your command: install with
--no-auto-update, or laterfistron-install update --auto off(--auto onagain). Thenfistron-install updatetakes the control plane’s image when you run it. In Kubernetes: the chart’s valueagent.autoUpdate.enabled: false, or--no-auto-updatewithfistron-install agent --kubernetes. - From a control plane that does not say which agent’s image it runs (an older one), the agent follows a minor version, as the local UI does (below).
The local UI (Install on a machine, a virtual machine or in CI), and an agent installed
with --version <major>.<minor>, follow a minor version of the image
(<major>.<minor>):
-
Patch releases come by themselves. Podman’s auto-update timer (daily) pulls a newer image of that minor version and restarts the container; when the new one does not start, it goes back to the one before.
fistron-install updatetakes one now. -
A new minor version is one command:
fistron-install update --version <major>.<minor> # agent or ui, whichever is installed fistron-install update agent --version <major>.<minor> # with both on one host -
fistron-install update agent --version <major>.<minor>moves an agent to a minor version and its patch releases;--version control-planefollows the control plane again.--auto offstops both by themselves. -
fistron-install statusshows each part’s state and version, and whether an update waits. -
Every
fistron-install updateends with the same state of everything installed on the host. A plainupdateupdates the agent, the UI and the command line. When a control plane on the host is behind its channel, it asks in a terminal: Upgrade it now, its database backed up first? [y/N].yupgrades it asfistron-install update on-premisesdoes; anything else leaves it, with the command that upgrades it. In a script or CI, with--yesor with--version, it never asks and never upgrades the control plane: the last lines say so with that command (fistron-install update on-premises, with--namespacewhen it is notfistron). -
fistron-install uninstall agent,ui,clioron-premisesremoves that part only, asupdatenames it:agent: its unit, its MCP servers beside it, its update timer and the secrets no other unit names;ui: its unit;cli: the command line;on-premises: the control plane’s Helm release in the cluster of kubectl’s context, after you confirm it in a terminal or with--yes. Its database, its Secrets in the namespace and its answers stay, so the samefistron-install on-premisesinstalls it again.
With
--purge, the part’s data goes too: the agent’s workspace and credential, the UI’s data, the units’ drop-ins, the command line’s licence. Foron-premises,--purgeremoves only the answers kept for it, never the database or the cluster’s Secrets. Onlyuninstall on-premises --purgeremoves a control plane’s answers. -
fistron-install uninstallwithout a part lists what is installed on the host and asks, in a terminal, which parts to remove. With--yes, or in a script, it only lists them.fistron-installitself goes with the last part it manages, never before. -
fistron-install statusnames a control plane also when this host keeps no answers for it: it finds the Helm releasefistronin the cluster of kubectl’s context and says where it found it.fistron-install update on-premisesthen takes the answers from that release, without asking.
fistron-install updates itself from the image it updates to.
https://get.fistron.io serves the installer of the version Fistron’s
production runs; https://get.fistron.io/v<version> a given release’s, for
a host that must install exactly that version.
The command line installed with one command
(Install Fistron for your plan) is upgraded with
fistron-install update: the newest version, its installer verified with
Fistron’s release key first. Its licence and the core come along.
The local UI, the command line and CI
- The command line:
fistron-install update(above). Installed another way before (uv tool,pipx,pipin a virtual environment): the one command replaces it. - Image or Quadlet unit written by hand: change the version (
Image=) andsystemctl --user restart fistron-ui. - CI: change the image’s version in your CI files (on GitLab, the CI
variable
FISTRON_IMAGEoverrides it).
The workspace, fistron.toml and the settings (in Fistron, or in its
settings directory) stay as they are.
The agent
- Installed with one command: as above.
- As a container with systemd written by hand: change
Image=and restart the unit. It keeps its credential and does not register again. - With the chart:
helm upgradeas below; its volume stays.
An agent stops after the work in hand; work whose lease ends goes to the next agent. The closed core comes in the agent’s image, so it is upgraded with it. The licence does not depend on the version.
The control plane
Installed with one command (on-premises), on the machine where you ran
it:
curl -fsSL https://get.fistron.io | sh -s -- status # the chart running, and the channel's
curl -fsSL https://get.fistron.io | sh -s -- update on-premises # to the chart stable names
curl -fsSL https://get.fistron.io | sh -s -- update on-premises --version <chart> # a given one
(fistron-install update on-premises is the same where fistron-install
is on the PATH.) It:
- reads the answers it kept (
~/.config/fistron/install/<namespace>-values.yaml;--namespacewhen you installed more than one) and the release installed; - backs up the database:
pg_dumpin the cluster, as the schema’s owner (the Secretfistron-db), into~/.config/fistron/install/backups/<namespace>-<chart before>-<time>.sql.gz, readable only by you. Nothing is upgraded when the backup fails. The image isdocker.io/library/postgres:18-alpine;--backup-imagetakes one from your registry,--no-backupleaves the backup to you. Some tables force row-level security, so that one tenant never reads another’s rows, even as their owner.pg_dumpdumps them only as a role that bypasses it: before dumping, the backup checks the role and, when it does not, stops and names the tables. The policies stay as they are; give the owner that right once, as a superuser of your PostgreSQL:ALTER ROLE <owner> BYPASSRLS;, or back up as another role that has it (or a superuser):--backup-url-file FILE, the file holding its URL. It goes into the cluster as a Secret for the backup alone and is deleted after. A restore of the backup withpsqlneeds such a role too; - upgrades with
helm upgrade --reset-then-reuse-valuesand your kept answers (Helm 3.14 or newer): the new chart’s defaults, then what you set before, then your answers;--values FILEadds your own file again; - checks that the new chart’s version runs; when it does not come up, it
runs
helm rollbackand says why.
The database migrations run first. If one fails, nothing else changes and the old release keeps running; the job stays for its logs. The pods are then replaced one at a time, so sign-in and the API stay up. The chart’s notes say an upgrade from an installation: an upgrade asks for no tenant and no licence again.
Installed by hand, or from another machine:
-
Back up the PostgreSQL database.
-
Upgrade, with the chart’s version (for example
0.1.0-dev.38):# the installation command again, its answers again (--answers) curl -fsSL https://get.fistron.io | sh -s -- on-premises --licence organisation.paseto \ --version <new> --answers answers.env --yes # with Helm, signed in with the licence helm registry login registry.fistron.io --username licence --password-stdin < organisation.paseto helm upgrade fistron oci://registry.fistron.io/charts/fistron \ --version <new> --namespace fistron --reset-then-reuse-values -f your-values.yaml--reset-then-reuse-valueskeeps the values you set on the installed release and takes the new chart’s defaults for the rest;-fadds your own file again (a CA, NetworkPolicy ports, one replica).helm -n fistron get values fistronshows what is installed.
Without internet access: the same two commands with the new bundle
(fistron-install bundle, then ./fistron-install air-gapped in it), or
verify and mirror it by hand first
(Install without internet access), then upgrade with its
chart.
To go back: helm rollback fistron --namespace fistron. Migrations only
add, so the release before runs on the newer database. A release that
removes something says so in its notes; go back past it only with the
database restored from your backup:
gunzip -c ~/.config/fistron/install/backups/<file>.sql.gz | psql "<the schema owner's URL>"
into an empty database (or one you dropped and created again).
The hosted control plane
Fistron upgrades app.fistron.io. Keep your agents within one minor
version of it; the release notes say when to upgrade them.
Every detail: upgrade.md.