borgbackupserver icon indicating copy to clipboard operation
borgbackupserver copied to clipboard

trying to upgrade my mac

Open theborg72 opened this issue 3 months ago • 1 comments

Description

when I try to upgrade the borg client from my mac I get the following error

Failed Failed pip install failed (exit 1): Getting requirements to build wheel: finished with status 'error'

Error Log pip install failed (exit 1): Getting requirements to build wheel: finished with status 'error'

Update borg failed: job #2387 — pip install failed (exit 1): Getting requirements to build wheel: finished with status 'error' Aug 28 22:56:46

MinMac Darwin 24.6.0 - 1.4.4

if I upgrade borg manually, borgbackup doesn't see it borgbackup 1.4.4 -> 1.4.5 weareborg@WeAreBorg ~ % borg --version borg 1.4.5 weareborg@WeAreBorg ~ %

Steps to Reproduce

settings?tab=updates&section=borg trying to uppgrade borg

Installation Type

Docker

BBS Version

v2.93.5

Agent Version (if applicable)

1.4.4

Agent OS (if applicable)

macOS

Relevant Logs


theborg72 avatar Aug 28 '26 21:08 theborg72

Thanks — two things were wrong, both in the agent, and both are fixed on main for the next release.

The update fell through to pip, which can't build borg on macOS; that's the "Getting requirements to build wheel" error. On macOS the agent now updates borg through Homebrew (run as the user who owns brew, since the agent itself runs as root), and never tries pip there.

The stale 1.4.4 display: the agent looked at /usr/local/bin/borg before /opt/homebrew/bin/borg, so an older leftover copy shadowed the brew one. It now prefers Homebrew's borg on macOS. Once your agent picks up the new version (it self-updates after you upgrade the server), the client page will show the 1.4.5 you already installed within the hour — and since it's current, the update button will report it as up to date rather than failing. Tested on a Mac set up the same way (Apple Silicon, Homebrew borg, agent running as root).

marcpope avatar Aug 29 '26 00:08 marcpope