Skip to content

Releases

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 13:32
160c0c9

Added

  • Apply now shows a read-only preview before it asks for confirmation. The preview lists the template files that Apply would create or
    change, shows a line diff of the compose file with the deployed lines marked -, names the .env variables that the template adds, and
    prints the ## Upgrading section of the template README.md when a file changes. It never shows .env values, and it reads
    deployment files without following symlinks or waiting on FIFOs. A read problem becomes a warning and never stops Apply.
  • Apply keeps your edits to the compose file. Deploy and Apply save the catalog compose file as .tailarr.compose.base.yaml, and the next
    Apply merges the catalog changes into your file with git merge-file. When your edit and the catalog change the same lines, Apply stops
    and changes nothing. The first Apply of an older deployment replaces the file and names the backup that holds your copy. The preview
    shows the merged result. This follows the stack update script proposed in ScaleTail pull request 404.
  • Apply checks a merged compose file with docker compose config before it pulls images. When Compose rejects the file, Apply puts your
    file back and says how to continue. The output always names the backup when Apply replaces a compose file.
  • Apply adds new .env keys with the comment lines above them in the template. The preview names the deployed keys that the template does not have.

Changed

  • Deploy and Apply keep the comments in the .env file. They used to delete every comment.

Fixed

  • A FIFO at a deployment .env, compose file, or managed override no longer hangs Tailarr. Tailarr refuses a deployment file that is not a
    regular file. A blocked read could not be canceled with Ctrl+C.
  • A root run no longer locks the operator out of a deployment. Tailarr now gives .tailarr_backups, .tailarr_locks, and the Apply snapshots to the
    owner of the deployment root, and a rewritten .env keeps its owner. When a directory belongs to another user, the error now says to use chown.
    A root Apply also gives its snapshot and the files and directories it adds to a deployment to the owner of that deployment.
  • Remove now stops the containers before it copies the deployment to .tailarr_backups. A running database could write during the copy
    and leave an inconsistent backup. If the copy fails, Tailarr starts the service again, unless it was stopped before Remove. When
    compose down fails, the error says that the service is stopped.
  • Tailarr now warns at startup when it cannot append to the log file. It used to drop every log line without a message.
  • Remove no longer fails when a running container deletes a file during the backup. A file that is gone is not copied.
  • Restart and the restore after a failed Apply now run the compose file that Apply used. Deploy and Apply record its name in
    .tailarr.compose.yaml. Before, a stale compose.yaml next to a template compose.yml made Restart start a different file and revert an
    Apply. Deployments from older versions keep the old lookup until their next Apply.
  • Deploy refuses a name that would share a Compose project with another deployment, for example my-app next to my.app. Both names map to
    one project, so down for one removed the containers of the other. Existing project names do not change.
  • The Services cursor now stays on the same service when the 4 second refresh adds or removes rows, and the action menu acts on the
    services it names. A menu titled beta could act on another service after a refresh.
  • A status error, for example an unreadable deploy path, now replaces the stale service table instead of hiding behind it.
  • The output panel keeps its scroll position while Compose rewrites progress lines, End edits a prefilled Line prompt instead of scrolling,
    result lines are cleaned and redacted, and a key pasted into a name prompt no longer echoes.
  • Doctor results are cleared when the config changes, and the System tab runs the checks again.
  • Without a terminal, Tailarr prints Tailarr is interactive; run inside a terminal. even when it cannot read the config file. It used to
    load the config first, so an install smoke check as another user could report a false failure after the binary was replaced.
  • A failed docker ps on the Services tab now shows Docker's reason, for example a permission error on its socket, instead of exit status 1.
  • A failed restore after a failed Apply keeps the original error, so an interrupt still stops the rest of a batch.
  • Declining a Remove or Apply confirm in a batch counts the service as skipped. It used to count as failed and log failed.
  • Deploy keeps a pasted auth key when storing it fails. A bad name or a store error shows a warning, Esc at the store prompts skips storing,
    and Tailarr asks before it overwrites a stored key of the same name.
  • Auth keys must now match tskey-auth- followed only by letters, digits, hyphen, and underscore. A value such as tskey-auth-abc $X #c used
    to pass the prefix check and reach Compose altered.
  • Apply no longer asks again for a secret that starts with # or //. Tailarr quotes such a value, and the next Apply read it as a
    placeholder, so pressing Enter at the prompt wiped the secret. A typed value that starts with // is now quoted as well.
  • Git refresh ignores GIT_ALLOW_PROTOCOL, GIT_CONFIG_COUNT, GIT_CONFIG_KEY_*, GIT_CONFIG_VALUE_*, GIT_CONFIG_PARAMETERS, GIT_DIR,
    GIT_WORK_TREE, and GIT_EXEC_PATH from the environment and sets GIT_ALLOW_PROTOCOL=https:ssh. A stray value from sudo -E or dotfiles
    could void the protocol policy before.
  • The repository URL git@host/path is rejected. Git reads it as a local path, so only git@host:path is valid.
  • The self-upgrade refuses a redirect to a non-https URL, and install.sh passes --proto '=https' to curl.
  • Remove no longer leaves a half-deleted directory when a non-root operator cannot delete files that a container wrote as root. Tailarr now
    moves the deployment into .tailarr_backups/trash after compose down, which frees the service name for a new Deploy. If the delete
    still fails, the error names the leftover path, the backup, and the command to finish as root.
  • The TUI no longer crashes on wide characters. Pasting about 37 CJK or emoji characters into a prompt, or showing a long wide word in a
    panel, used to cut a string at the wrong place and panic. A very small terminal with the action menu open could also crash it.
  • Ctrl+C now stops a self-upgrade. The download, the attestation check, and the lock wait all end on cancel, and a canceled upgrade no longer
    replaces the binary. A held lock no longer keeps the TUI busy for the full 30 second wait after Ctrl+C.
  • Deploy and Apply no longer follow a symlink or block on a FIFO when they copy template files. A container that can write in the deployment
    directory could use a symlink to make a root-run Apply overwrite a host file, or use a FIFO to stall Apply while it held the lock.
    Tailarr now opens both files without following symlinks and refuses anything that is not a regular file.
  • Apply now applies a template mode change, for example 0644 to 0755, to files that already exist.
  • Taking a lock no longer changes the mode of an existing directory. The catalog and auth key locks sit next to the configured path,
    so a repo path such as /opt/scaletail made /opt mode 700 on the first Refresh, Deploy, or Apply.
    Tailarr now sets mode 700 only on lock directories that it creates.
  • Apply no longer deletes the backup that Remove made. Apply snapshots now live in .tailarr_backups/apply-snapshots and have their own
    keep-2 retention, so the copy of container data from a removed service survives later Apply runs. Prune never removes the backup that
    was just created, even when the clock is behind older backups. Remove offers to delete the snapshots of the removed service too.
  • Deploy and Apply now ask for secret catalog keys through the hidden prompt. Keys such as ENCRYPTION_KEY, APP_KEY, MEILI_MASTER_KEY,
    and GOTIFY_DEFAULTUSER_PASS used to show in clear text. Key names with a whole KEY, PASS, PASSWD, PASSPHRASE, CREDENTIAL,
    CREDENTIALS, SALT, or PEPPER segment now count as secret. Tailarr also drops host variables with such names from the Compose environment.
  • Output and log redaction now covers DB_PASSWORD: value, URLs with credentials for any scheme such as postgres://, tskey-client- and
    tskey-api- keys, and Authorization: Basic headers. It also covers the new key names above.
  • A multi-service deploy that stops at the shared auth key step now shows why, for example auth key "hom" not found in store.
    The output panel used to show only Deploy failed for with no reason and no service names.
  • The README install options set TAILARR_VERSION and INSTALL_DIR on sh, where the installer reads them.
    The old examples set them on curl, so the installer ignored the pin and the install directory.
  • Doctor tells you to press r on the Catalog tab when the ScaleTail clone is missing. It used to name a menu that no longer exists.

Security

  • Remove no longer deletes a directory outside the deploy root through a symlinked parent. A lexical fallback in the path check let
    RemoveAll follow the symlink. Tailarr now refuses to remove a path that resolves outside the root.

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 22:31
559893e

Added

  • Services > Search asks for a query and lists the matching services.
  • In multi-select, / filters the list and n clears the selection. Selected services stay visible under any filter.
  • Deploy, Stop, and Restart batches ask once before they start and list the selected services.
  • Doctor checks for /dev/net/tun on Linux. It also notes when Tailarr does not run as root and Remove may need root.
  • The installer and Maintenance > Upgrade verify the GitHub build attestation when gh is installed and logged in.
    A failed check stops the install. Without gh, they print a note.

Fixed

  • A failed Apply no longer breaks the running service. Apply used to swap the whole deployment directory for a backup copy and delete the old one,
    so running containers lost their bind-mounted data. Apply now saves only the files it changes (template files, .env, and the managed override)
    and restores them in place. When docker compose up had started, Apply runs it again with the restored files.
  • Apply no longer reads container data, so it works for a user in the docker group.
  • Backups keep file modes and modification times, and owners when Tailarr runs as root.
    A restored copy used to be owned by the Tailarr user, and containers that run as another user could not write to it.
  • Backups skip sockets and FIFOs. A FIFO in container data used to block Tailarr forever, and a socket made Remove fail.
    Ctrl+C now stops a long backup copy.
  • The Remove confirm shows how much data the backup copies.
  • Apply asks for confirmation before it takes any lock. Deploy and Apply release the catalog lock before env prompts.
    A second Tailarr instance no longer times out while the first waits for an answer.
  • Env prompts for keys outside the template come in a stable, sorted order.
  • Catalog refresh fails at once when git needs a password or an SSH host key confirmation. Git could not read the prompt and waited 5 minutes.
    The error now says to configure a credential helper or SSH agent.
  • Catalog refresh refuses to pull when the clone tracks a different repository than TAILARR_REPO_URL. It used to keep pulling the old origin.
  • Ctrl+C during a batch stops it. The remaining services show skipped: interrupted instead of running one by one.
  • Failed Deploy, Apply, Stop, Restart, and Remove actions are written to the log.
  • A multi-service deploy rejects an unknown stored key name and an invalid pasted key before it starts.
  • Configuration edits no longer save TAILARR_* environment overrides to the config file. The prompt lists the overridden settings.
  • Catalog refresh reports Catalog is up to date. when git has nothing new.
  • When Restart stops a service but cannot start it again, the error says that the service is stopped now.
  • Remove reports each backup it cannot delete, because a backup can hold secrets. The log shows the real count.

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 21:10
3d17863

Added

  • The TUI has a new layout: a header bar with the current screen, bordered menu and details panels, a selection meter, and a key-hint footer.
    The layout follows the terminal size.
  • Long service lists in multi-select scroll with the cursor. The panel border shows the visible range.
  • Command output opens in its own panel. Long lines wrap. PgUp, PgDn, Home, and End scroll the output.
  • Status tokens such as [ok], [warn], [fail], and container health are colored in the output.

Fixed

  • Values typed at a prompt are quoted in .env. Compose no longer reads $ in a password as a variable or a space followed by # as a comment.
  • Template .env lines keep their original quotes, inline comments, and ${VAR} references when Tailarr rewrites the file.
  • Lock creation backs off when another process takes the new lock first. Two processes can no longer hold the same lock.
  • A failed first deploy runs docker compose down before it deletes the deployment. If that fails, the deployment is kept so Remove can clean up.
  • Restart no longer takes a service down. It runs docker compose stop, then docker compose up -d, so the app waits for a healthy Tailscale sidecar.
    docker compose restart restarted both containers at once, and an app with network_mode: service:tailscale exited with code 128.
  • Stop and Restart work for a user in the docker group. They check only the compose files, the managed override, and .env, not container data.
    Apply and Remove still check the whole deployment. When container data is unreadable, the error says to run Tailarr as root.
  • Ctrl+C during a first deploy no longer leaves the Tailscale sidecar running. The cleanup docker compose down runs even after the interrupt.
  • Deployed services show their columns again. Tab characters were dropped in the TUI.

Changed

  • Apply no longer merges the backup .env. The deployed .env already holds the same values.
  • Writing the managed override starts one docker process instead of two.
  • Release binaries are built with the patched Go toolchain that CI scans (GO_VERSION), not the go.mod floor.
    Binaries built with Go 1.26.0 reached 17 known standard library vulnerabilities.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 10:17

Fixed

  • Force-replace restore no longer deletes a sibling service named
    {service}.old; the partial tree is parked under .tailarr_backups.
  • Backup list/prune/latest match the exact timestamped name, so web cannot
    pick up or delete web-ui backups (and cannot inherit the wrong
    TS_AUTHKEY).
  • SIGTERM/SIGINT during docker compose returns an error so a force replace
    can restore the previous deployment instead of killing Tailarr mid-swap.
  • Unix lock reclaim treats EPERM as a live owner and uses flock so a
    shared deploy root cannot steal another operator's lock.
  • Compose YAML fallback no longer treats nested keys (ports:,
    environment:) as service names.
  • Editing configuration in the TUI applies the new paths immediately, not
    only after restart.
  • Interactive prompts reuse one bufio.Reader so pasted answers are not
    dropped.
  • Compose output flushes a trailing partial line through the redactor.
  • Compose project names hash the deploy root so long service names cannot
    collide across roots.
  • Catalog refresh runs off the TUI update loop.
  • Storing an auth key during deploy takes the same lock as the Authkeys menu.
  • Repair restores previous compose files when compose up fails.
  • Service health matches exact app-/tailscale- names or the
    tailarr.service label (not a Docker substring filter).
  • LooksSecret matches _-delimited keywords so TIMEOUT is not treated
    as a token.
  • Config files reject invalid TAILARR_REPO_URL values the same way env
    overrides do.
  • First-run config save failures are returned instead of ignored.
  • Remove/replace confirms default to no.
  • Offline (non-git) catalog refresh reports that pull was skipped.
  • Self-upgrade validates release tags and caps download size.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 12 Aug 14:09
2af1c3b

Added

  • Maintenance > Upgrade Tailarr: self-update for release binaries;
    checks GitHub for a newer SemVer release, verifies the release asset
    SHA256 against the published SHA256SUMS, then atomically replaces the
    running binary.

Security

  • In-TUI prompts hand the terminal over to the prompt
    (ReleaseTerminal/RestoreTerminal) so secrets are never raced or echoed by
    the TUI input reader.
  • Redaction coverage extended to URL userinfo and JSON/colon secret forms.
  • Compose subprocess env filtering and redacted output.
  • Backup pruning: the newest 2 backups are kept.
  • Stale-lock reclaim when the owning PID is dead.
  • Atomic restore.
  • Git operation timeouts.
  • Config BOM/symlink/URL-validation hardening.
  • Authkeys fd-based chmod and parent-directory fsync.
  • Install script temp-file and PATH-probe hardening.
  • CI action SHA pinning and safe version interpolation.

Fixed

  • Install script warns when another tailarr is earlier on PATH (legacy
    installs) and prints next steps using the full path to the Go binary.
  • Install script prefers replacing the first tailarr on PATH when that
    directory is writable (e.g. ~/.local/bin ahead of /usr/local/bin).
  • TUI auth key add/rename/replace/remove now serializes read-modify-write
    with the authkeys lock, matching the former CLI behavior.

Removed

  • --repo-ref / TAILARR_REPO_REF: ScaleTail ref pinning removed; the
    catalog clone always tracks the repository default branch.
  • TUI j/k navigation keys; use arrow keys or number shortcuts.
  • CLI removed: Tailarr is TUI-only. Subcommands (list, deploy, doctor,
    upgrade, authkeys, ...), global flags, and internal/cli /
    internal/exitcode are gone; Cobra, pflag, and mousetrap dependencies
    dropped. The TUI gains a Services > Refresh catalog action that clones
    or pulls the ScaleTail templates.

v0.2.0 — Operator menus and interactive deploy

Choose a tag to compare

@jackspiering jackspiering released this 11 Aug 13:59

Tailarr v0.2.0

Feature release focused on the full interactive operator workflow for ScaleTail deployments.

This is a minor release (0.2.0), not a patch (0.1.1): it adds substantial new capabilities.

Install

curl -fsSL https://github.com/jackspiering/tailarr/releases/download/v0.2.0/install.sh | sh

Or pin the binary version:

TAILARR_VERSION=v0.2.0 curl -fsSL https://raw.githubusercontent.com/jackspiering/tailarr/main/scripts/install.sh | sh
go install github.com/jackspiering/tailarr/cmd/tailarr@v0.2.0

Checksums: see SHA256SUMS.

Highlights

  • Hierarchical menus: Status, Services, Auth keys, Configuration, Maintenance
  • Multi-select batch deploy / remove / update / stop / restart / repair
  • Interactive env prompts; TS_AUTHKEY store/paste; optional shared batch key
  • Status overview with health classification
  • Compose labels (tailarr.managed, tailarr.service, tailarr.version)
  • Confirmations + --yes / TAILARR_ASSUME_YES
  • First-run config setup; interactive config edit
  • Auth key rename; optional backup cleanup on remove

Assets

File Platform
tailarr-linux-amd64 Linux x86_64
tailarr-linux-arm64 Linux aarch64
tailarr-darwin-amd64 macOS Intel
tailarr-darwin-arm64 macOS Apple Silicon
install.sh Installer (checksum-verified download)
SHA256SUMS Checksums

Full notes: CHANGELOG.md

Requirements

Git, Docker, and Docker Compose v2 on the host.

v0.1.0 — First public Go release

Choose a tag to compare

@jackspiering jackspiering released this 11 Aug 13:02

Tailarr v0.1.0

First public Go release of Tailarr: deploy and manage ScaleTail Docker Compose services from a terminal TUI or scriptable CLI.

No daemon. No cloud control plane. Run next to Docker on a host you control.

Install (binary)

Pick the asset for your OS/CPU, then:

chmod +x tailarr-linux-amd64   # example
sudo mv tailarr-linux-amd64 /usr/local/bin/tailarr
tailarr version
tailarr doctor

Checksums: see SHA256SUMS attached to this release.

Install (Go)

go install github.com/jackspiering/tailarr/cmd/tailarr@v0.1.0

Highlights

  • CLI + Bubble Tea TUI sharing the same domain packages
  • Catalog discovery, doctor, auth key store (tskey-auth-*, mode 600)
  • Deploy / repair / update / stop / restart / remove with backups and locks
  • Force redeploy preserves .env secrets; remove fails closed if compose down fails
  • Managed-only lifecycle; path/symlink safety; secret redaction

Assets

File Platform
tailarr-linux-amd64 Linux x86_64
tailarr-linux-arm64 Linux aarch64
tailarr-darwin-amd64 macOS Intel
tailarr-darwin-arm64 macOS Apple Silicon
SHA256SUMS Checksums

Full notes: CHANGELOG.md

Requirements on the host

Git, Docker, and Docker Compose v2. Go is only needed to build from source.