Skip to content

Helios 0.94.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 11:31
· 520 commits to main since this release

Added

  • A photo whose original is on another node opens full size in the loupe and the darkroom: its original is fetched from that node in the background, its thumbnail shown meanwhile with a cloud icon and a bar ("Fetching from cloudy… 42%"), the fetch listed in Activity; it opens once it is here. Its node offline, the thumbnail is greyed under a struck cloud, named "On cloudy, offline". Settings › Storage › Caches gains "Originals from other nodes", the space the fetched originals may use (20 GB by default).
  • A headless node for a NAS or a server: the helios-node .rpm and .deb, attached to each release (the node and the command line, glibc 2.35 or newer, no GPU), a systemd unit installed disabled that runs it as the helios user, sandboxed, at low priority, and an example /etc/helios/node.toml. A config's listen now refuses tls:// and unknown schemes with a clear message instead of taking them for a socket path. See docs/nas.md.
  • A NAS that powers itself off when idle and the headless node now work together: helios-node status --busy (or the [power] busy_flag file) tells its power-off script to wait while the node works, an idle node writes nothing to its vault, and a node stopped by SIGTERM or a poweroff tells the other nodes it is going away, which show it as asleep instead of lost.
  • Enrolment by a one-time file: helios-node --vault FILE enrol --out FILE [--valid 24h] [--uses 1] (or nodes.enrolment.create) writes a private file with the node's name, vault id, addresses, certificate fingerprint and a one-time token, whose hash alone the node keeps. nodes.add {"enrol": FILE} checks the certificate against that fingerprint before sending the token, and the node joins the PC's library; a used, expired or mismatched file is refused with its reason. Each node gets a listen role option (--listen, nodes.listen.set).
  • helios-node-setup installs a headless node as a systemd service on a Linux NAS: under the package's dedicated user, an existing user (the default when the scanned folders belong to one) or a user unit that needs no root. It checks the folder rights as the service's user (printing the setfacl or install -d fix), the free space, the port and the firewall, writes the config and checks it with helios-node --print-config, then the unit, and prints everything with --dry-run. The Linux tarball ships it in bin/; docs/cli.md, "Setting up a NAS node", walks through the modes.
  • The headless node for appliance NASes (Synology, QNAP, Unraid…) whose glibc is too old for the Linux packages: each release ships helios-node and helios static (musl) for x86_64 and aarch64, as helios-node-X.Y.Z-linux-{x86_64,aarch64}-musl.tar.gz, and as a multi-arch Docker image, ghcr.io/quazardous/helios-node:X.Y.Z, running as a non-root user with the library, the socket and the supports as volumes and a health check. helios-node --version says its version. See docs/cli.md, "Appliance NAS".
  • Node link over TLS: helios-node --listen tls://0.0.0.0:7443 (or listen = "tls://…" in its config) serves the link to paired nodes on one port, behind a self-signed certificate each vault mints once. nodes.add with a tls://host:port reach pins the certificate's SHA-256 fingerprint when the pairing token is accepted (or checks the one nodes.pairing gave), and a node presenting another certificate later is refused with both fingerprints. How a node is reached is now a transport driver chosen by the reach (tls, ssh, local).
  • The headless node ships as packages: an .rpm and a .deb for helios-node (glibc 2.35 or newer, a systemd unit installed disabled, a dedicated user), a static helios-node for any Linux (x86_64 and aarch64) for appliance NASes, and a multi-arch image on GHCR. helios-node-setup installs the service as a dedicated user, an existing user or a user unit, after checking folder rights.

Changed

  • A headless node's folder scan no longer reads again what it left out: a skipped exact duplicate, or the source of a file it copied into the library, is known by its size, modification time and hash on the next scan. Declared folders are now watched ([scan] watch, on by default): a new or changed file is imported once it has settled. [scan] every = "off" turns the schedule off, and --scan-every and --scan-watch set both, for a NAS fed only by Helios. A scan leaves one import-history record per folder, not one per worker.
  • In the Library grid and the filmstrip, a photo with no copy at hand says why with a symbol instead of the word "offline": a struck cloud when its copies are on another node not reached, with "On cloudy, offline since 17:42" (the node's last time reached) as its tooltip, or the plugs when they are on a disk not plugged in, with "On Ann's disk, unplugged". Screen readers hear the same words.

Fixed

  • A node started from a config file (helios-node --config, or a library root) answers commands on its listen socket, as the docs show (helios run library.scan.status --node /run/helios/node.sock), and writes its rendezvous file; it also keeps where each photo is up to date (the volume scan) and no longer warns at every start that the backups' listener orders itself against a missing scan.
  • A headless node now imports the files written into a declared folder just before it started (or during a scan) once they have settled, instead of leaving them for the next scheduled scan hours later.
  • A RAW+JPEG pair is backed up as one photo: its JPEG follows the photo's backup rule instead of the default one, the photo's level is the lowest of its files', and both files go to the same backup disk. At import, a pair lands in one folder, its RAW's, even when shot around midnight, and goes whole to the library folder or to the temporary support.