Repository navigation
Releases
Logchef v2.8.2: downtime and migration notes
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.
Logchef v2.7.0: migration and compatibility notes
This flake packages Logchef v2.7.0. Read the upgrade notes before updating your flake input and deploying.
Upgrade impact
Back up the metadata database before starting the new server. Startup applies SQLite migrations 000039 through 000041, or Postgres migrations 000013 through 000015. Rolling back a NixOS generation does not restore the old database schema.
- Some existing shared collection links lose delegated edit permission. Use the upstream audit query before upgrading and review the admin report afterward.
- Save dashboard edits before deployment and reload browser tabs afterward. Dashboard API scripts must provide revisions and handle schema and feature negotiation. The dashboard list API returns summaries instead of panel blobs.
- CLI variables are typed and rendered by the server. Remove pre-quotes from values and avoid reserved macro names.
- ClickHouse alerts using settings that permit partial results now fail evaluation until their queries use safe settings.
See the flake backup and upgrade guide and the complete upstream upgrade notes.
Pinning and validation
Existing consumers stay on the revision in their flake.lock. The upgrade takes effect when they update that pin and deploy. NixOS system.stateVersion does not prevent Logchef migrations.
The v2.7.0 package and NixOS VM smoke test passed in the release updater. These checks cover a build and a fresh deployment, not existing database migrations or custom integrations.
Pin this release with github:oddship/logchef-nix/v2.7.0. To remain on the previous packaged version, use v2.6.1.
The full PR Checks workflow also passed on the final reviewed commit, including the upgrade documentation. Validation covers x86_64 builds and VM tests plus evaluation of both supported Linux systems; native aarch64 builds were not verified for this release.
The Checks workflow on the merged release commit, documentation deployment, and updater on master also passed.
Logchef v2.6.1
This release tags the existing, validated logchef-nix revision that packages upstream Logchef v2.6.1. It provides an explicit version to pin before upgrading to v2.7.0.
Use github:oddship/logchef-nix/v2.6.1 as your flake input and commit the resulting flake.lock. The tag points to commit 0abd2c79c728d7a59d5f271e35bdd06b22ac4ac1; no package or module code was changed for this release.
The Checks workflow passed documentation, formatting, evaluation of both supported Linux systems, the x86_64 package build and tests, module evaluation, the NixOS VM smoke test, and actionlint. This is not a claim that existing database upgrades or native aarch64 builds were tested.
Read the upstream v2.6.1 release notes and the backup and upgrade guide at this revision before deploying. When upgrading from an older Logchef version, also review the intervening upstream upgrade notes. Back up metadata before migrations; a NixOS generation rollback does not restore the database schema.