diff --git a/CHANGELOG.md b/CHANGELOG.md index ab89794..95ad52e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,21 @@ # Changelog -## Unreleased +## 2025-06-03 Added: -- Added Readarr Audiobook for running two readarr instances (one for audiobooks, one for regular books) +- `nixarr` command + - `nixarr fix-permissions` + - Sets correct permissions for any directory managed by Nixarr. + - `nixarr list-api-keys` + - Lists API keys of supported enabled services. + - `nixarr list-unlinked ` + - Lists unlinked directories and files, in the given directory. Use the + jdupes command to hardlink duplicates from there. + - `wipe-uids-gids` + - The update on 2025-06-03 causes issues with UID/GIDs, see the below + migration section. +- Added Readarr Audiobook for running two readarr instances (one intended + for audiobooks, one intended for regular books) - Audiobookshelf service, with expose options - Port configurations on: - Radarr @@ -12,6 +24,15 @@ Added: - Readarr - Lidarr +Migration: +- Due to how UID/GID's are handled in this new version, certain services + may break. To ammend this, run: + ```bash + sudo nixarr wipe-uids-gids + sudo nixos-rebuild ... + sudo nixarr fix-permissions + ``` + ## 2025-05-28 Added: diff --git a/nixarr/nixarr-command/default.nix b/nixarr/nixarr-command/default.nix index cdc977c..650d708 100644 --- a/nixarr/nixarr-command/default.nix +++ b/nixarr/nixarr-command/default.nix @@ -22,13 +22,13 @@ with lib; let echo "Usage: nixarr " echo "" echo "Commands:" - echo " fix-permissions Sets correct permissions for any directory managed by Nixarr." - echo " list-api-keys Lists API keys of supported enabled services." - echo " list-unlinked Lists unlinked directories and files, in the given directory." - echo " Use the jdupes command to hardlink duplicates from there." - echo " wipe-uids-gids The update on 2025-06-07 causes issues with UID/GIDs," - echo " run this command, then rebuild and finally run" - echo " nixarr fix-permissions, to fix these issues." + echo " fix-permissions Sets correct permissions for any directory managed by Nixarr." + echo " list-api-keys Lists API keys of supported enabled services." + echo " list-unlinked Lists unlinked directories and files, in the given directory." + echo " Use the jdupes command to hardlink duplicates from there." + echo " wipe-uids-gids The update on 2025-06-03 causes issues with UID/GIDs," + echo " run this command, then rebuild and finally run" + echo " nixarr fix-permissions, to fix these issues." exit 1 fi @@ -112,7 +112,7 @@ with lib; let list-unlinked() { if [ "$#" -ne 1 ]; then - echo "Illegal number of parameters. Usage: nixarr " + echo "Illegal number of parameters. Usage: nixarr list-unlinked " fi find "$1" -type f -links 1 -exec du -h {} + | sort -h