Skip to content

fix: improve upgrade and migration reliability #34

Closed

Description

@RentnerKev

Summary

Harden upgrades from actual v1.0.0-alpha.1 schema/state to Alpha 2 without silent data loss.

Scope

Ensure deterministic migrations, actionable startup errors, safe repeated startup, and backup guidance before incompatible migration. Preserve users/roles, Proxy Hosts, Redirect Hosts, certificates, Trusted CAs, and runtime desired state. Preserve supported backup/restore compatibility.

Security / data integrity

Migration failure must not silently destroy state or expose secrets. Define recovery steps and unsupported downgrade/restore cases explicitly.

Acceptance criteria

  • Automated alpha.1 → alpha.2 test starts from real Alpha-1 schema/state.
  • Users, roles, hosts, certificates, Trusted CAs, and desired state survive upgrade.
  • Fresh installation and repeated startup remain safe.
  • Migration failure leaves recoverable state and actionable errors.
  • Production appliance upgrade and supported backup/restore paths are verified.

Priority

P0 — release blocker

Activity

  1. added this to the v1.0.0-alpha.2 milestone on Sep 9, 2026
  2. added
    bug
    area: database
    area: docker
    on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: databasearea: dockerbug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions