Back to TresekoView full library

Update system

How available versions are reported by channel and how rollback is protected.

Practical guide

1 guide found

All guides

Update system

How available versions are reported by channel and how rollback is protected.

Open guide
Reading
10 min
Updated
2026-07-12
Version
1.0.6

When to use this guide

Use it before publishing a release or when the administrator wants to know what happens before, during and after an update.

Expected result

Treseko reports if there is a next immediate version, shows release notes, records live states and keeps a rollback path if the update does not finish successfully.

Check
Manifest
Backup
Migration
Smoke check
Rollback if it fails

Treseko checks if an update is available by sending its version, edition and configured channel. The server responds with the next immediate version when applicable.

Updates are applied in order. The platform reports; the administrator decides when to execute.

The flow includes logs, live states, code/database backup and rollback if a migration or verification fails.

Recommended flow

  1. Check update availability.
  2. Show next immediate version and release notes.
  3. Generate pre-update backup.
  4. Apply signed package.
  5. Run migrations and smoke checks.
  6. Confirm success or execute rollback.
  7. Record logs and final state.

How to verify

  • The proposed version is exactly the next one in the channel.
  • The manifest is signed with the updates public key.
  • The backup exists before migrating the database.
  • Rollback restores code, database and visible version.

Common pitfalls

  • Skipping versions and discovering too late that a migration expected an intermediate state.
  • Updating with little free space and running out of room for backup.
  • Not saving logs of a failed migration and losing the data that explained the problem.
updatesrollbackcommunity-stablepremium-stablesmoke