Skip to content

Logchef v2.8.2: downtime and migration notes

Latest

Choose a tag to compare

@rhnvrm rhnvrm released this 23 Nov 07:10
845f59b

This release updates the flake from Logchef v2.7.0 to v2.8.2. Plan the downtime, backup, and compatibility work below before updating your input and deploying.

Downtime and backup required

Stop every old replica before the first new one starts. Alerting v2 does not support rolling upgrades. Startup applies SQLite migrations 000042 through 000059, or Postgres migrations 000016 through 000033. Treat these as forward-only: alert targets are moved into destinations and down migrations do not restore them. Rollback requires the pre-upgrade database backup and the matching old binary and configuration lock.

The v2.8.1 and v2.8.2 fixes add no further migrations over v2.8.0. An upgrade from v2.7.0 still runs all v2.8.0 migrations.

Compatibility review

  • Alert scripts must use notification destinations instead of per-rule recipient and webhook arrays. Review notification retries, payload versions, delivery-id deduplication, and SMTP settings.
  • Remove alerts.evaluation_interval. At least one replica needs the job runner and alerting enabled; a stored alerting setting overrides file and environment configuration.
  • Full query text is now stored in audit events and, by default, JSON server logs. Review privacy, log shipping, and audit retention before deployment.
  • Reissue scoped tokens or authenticate again as required for saved views, destinations, and reports. Update Query Activity API clients.
  • Exported source headers use runtime environment secret references. Missing referenced values stop provisioning startup. A Loki source grants linked teams access to the entire tenant.

See the upstream v2.8.2 changelog and the flake upgrade guide.

Existing consumers remain on their flake lock pin. v2.7.0 and v2.6.1 tags remain available. A NixOS generation rollback does not restore a database schema.

Pin this release with github:oddship/logchef-nix/v2.8.2. The v2.7.0 and v2.6.1 releases remain available.

Package tests and a fresh-database VM smoke test do not validate an existing production database migration or custom integrations. Test your upgrade and backup restoration before deployment.

Validation: full PR checks passed on the reviewed commit, including native x86_64 and aarch64 package builds and tests, module evaluation on both systems, the x86_64 NixOS VM smoke test, documentation, formatting, and actionlint. The native aarch64 check is now part of repository CI.

The checks on the release merge commit, documentation deployment, and updater on master also passed.