github marcpope/borgbackupserver v2.66.0

2 hours ago

Ubuntu 26.04 support (#368)

BBS now installs and runs on Ubuntu Server 26.04 LTS. Two platform changes broke it:

  • sudoers: 26.04 ships sudo-rs, which rejects the legacy www-data ALL=(bbs-*) rule — the parse error disabled every sudo call and client provisioning failed. The rule was left over from before all borg/rclone commands moved into bbs-ssh-helper, so it is now removed entirely (installer, updater, restore, and Docker image). Removing it also reduces the panel's privilege footprint. If you worked around this with ALL=(ALL), delete /etc/sudoers.d/bbs-borg after updating — that workaround allows root escalation and is not needed.
  • Apache sandbox: the stock 26.04 apache2.service hides /etc/sudoers from the service and mounts /etc read-only, blocking client provisioning. The installer and updater now detect a hardened unit and ship a minimal systemd drop-in that keeps /usr and /boot read-only and all other hardening intact.

Verified end-to-end on fresh Ubuntu 22.04, 24.04, and 26.04 servers.

Fixes

  • Changing a client's Server Host Override (or the global server host) now updates its repositories (#367). Repo paths embedded the host from creation time, so overrides set after repos existed were ignored and backups kept failing against the old host.
  • Bare-metal installs now pin ClickHouse to the same version as the Docker image, with apt-mark hold. Unpinned installs could pull a build that crashes with Illegal instruction on older CPUs (the failure mode from #327), silently aborting the installer.
  • Client provisioning errors now show the underlying cause (the SSH helper's error output) instead of a generic failure message.
  • Installer no longer exits when run without a controlling terminal (e.g. piped over SSH).

Don't miss a new borgbackupserver release

NewReleases is sending notifications on new releases.