You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.