home-library-failover (5.24.0+git20261203043641.715df78-1~ppa1~ubuntu26.04.1)

Published 2026-12-03 04:47:24 +00:00 by pillarsdotnet

Installation

sudo curl  -o /etc/apt/keyrings/forgejo-pillarsdotnet.asc
echo "deb [signed-by=/etc/apt/keyrings/forgejo-pillarsdotnet.asc]  $distribution $component" | sudo tee -a /etc/apt/sources.list.d/forgejo.list
sudo apt update

Choose $distribution and $component from the list below.

sudo apt install home-library-failover=5.24.0+git20261203043641.715df78-1~ppa1~ubuntu26.04.1

Repository info

Distributions
resolute
Components
main
Architectures
all

About this package

hand Home Library between two nodes, one writable at a time Moves the live SQLite database and its cover images between two machines running home-library, so that exactly one of them serves the library and accepts changes. Ownership is recorded with a generation counter, so a stale copy can never overwrite a newer one, and a node whose peer cannot be reached refuses to promote itself unless told to. The active node points the public DNS name at itself and copies its database to the standby every hour. It also raises a floating address on the loopback interface, which the local web server binds; that address is reachable only on the node itself, so DNS is what moves clients. Nothing changes until `home-library-failover enable` is run; see README.Debian.

Dependencies

curl
home-library (>= 5.24.0+git20261203043641.715df78-1~ppa1~ubuntu26.04.1)
iproute2
openssh-client
rsync
sqlite3