github marcpope/borgbackupserver v2.12.1

latest releases: v2.28.8, v2.28.7, v2.28.6...
one month ago

Hotfix: Container crash on startup after upgrading from pre-2.12.0

Fixes a startup crash introduced in v2.12.0 where the container would restart in a loop with:

chown: invalid group: 'bbs-XXXXX:bbs-XXXXX'

What happened

Older versions ran chown -R www-data:www-data /var/bbs/home, changing all home directory ownership to www-data (UID 33). When v2.12.0's new user recreation logic ran, it detected UID 33 from the directory and tried to create SSH users with that UID — which silently failed because UID 33 already belongs to www-data. The subsequent chown with the non-existent username crashed the entrypoint.

Fix

  • Detects when a directory's UID already belongs to another system user and allocates a fresh UID instead
  • Verifies user creation succeeded before attempting ownership changes
  • Uses numeric IDs for .ssh ownership to avoid group name lookup failures

Upgrade

docker pull marcpope/borgbackupserver:latest
docker compose up -d

Don't miss a new borgbackupserver release

NewReleases is sending notifications on new releases.