github marcpope/borgbackupserver v2.28.4

14 hours ago

Hotfix.

Fix

  • Adding a new client fails with "Field 'api_key' doesn't have a default value" (#173): migration 077 (part of the API-key hardening in 2.28.0) used SQL syntax that some MariaDB/MySQL versions interpret as "preserve the existing NOT NULL, just change the default." On those installs the column never actually became nullable, so every attempt to add a new client after the hardening rewrote the INSERT to use api_key_hash instead throws a fatal PDOException.

Migration 079 re-runs the change with explicit NULL DEFAULT NULL syntax that's unambiguous across versions and SQL modes. Idempotent on installs where 077 already took effect.

All v2.28.x Docker users should upgrade.

Don't miss a new borgbackupserver release

NewReleases is sending notifications on new releases.