Space Works platform: Running Space Works

Update Space Works safely

Updating Space Works is a forward-only process that installs a verified GitHub release, backs up the database first and rolls the images back by itself if the new release is not healthy.

Updates are designed so preparation is what makes them safe. The updater refuses an older target release and never points an old release at a database a newer one has migrated. You can update from the installer, by hand or through automatic deploys on your own server.

01 · Capabilities

What Updates does

  • Every release publishes the installer, a deploy bundle, release metadata, SHA256SUMS and a keyless cosign signature from the release workflow.

  • The installer always checks the bundle against SHA256SUMS and also checks the signature when cosign is installed.

  • The updater takes a lock, backs up PostgreSQL, pulls pinned images, runs migrations and orchestration checks and waits for readiness.

  • A failed update restarts the previous application images by itself, while forward migrations stay applied and the pre-update dump is kept.

  • A downgrade is refused before anything is touched, even with the force option.

  • Automatic deploys can run through a GitHub Actions runner on your own server, which updates after each release without changing modules.

  • Updates keep your area and module choices, and options let you update images only or change modules only.

  • Each release ships exactly two container images, backend and frontend, built for both amd64 and arm64.

02 · Step by step

How Updates works

  1. Read the upgrade guide for the target release and verify a database and object-storage backup.

  2. Pause automatic deploys and other writers for the maintenance window.

  3. Run the installer again and choose Update, or run the update script.

  4. Check that the readiness endpoint reports ready and spot-check a loan, an event and a receipt.

03 · Roles

Who uses it

RoleWhat they can do
Host operatorRuns updates, keeps backups and the environment file safe, and sets up automatic deploys.

FAQ

Updates: questions and answers

Can I roll back a Space Works update?

Space Works updates are forward-only. A failed update rolls the images back by itself; going back on purpose means restoring the pre-update dump and deploying the release it came from.

How do I know a Space Works release has not been tampered with?

The installer checks every bundle against the release's SHA256SUMS and, when cosign is installed, verifies its keyless signature before running anything.

Can Space Works update itself automatically?

Yes. A GitHub Actions runner installed on your server can receive a deploy job after each release and run the update without changing modules.

Free and open source

Run it on your own server

Space Works is free under AGPL-3.0-or-later. One command installs it on a 64-bit Linux server, and every area can be switched on later.