diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ec1526..5cba67b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +## 2026-10-15 — Prowlarr in the live catalog, with its complete record (R-1048) + +- `templates/prowlarr/`: `lscr.io/linuxserver/prowlarr:version-2.6.5.5623` (published 2026-10-07, digest in the ladder + entry), config volume only (`important`), 512M, setup gate. The first start seeds `AuthenticationRequired=Enabled` + (R-1030, as Sonarr/Radarr) and `AnalyticsEnabled=False` (the app sends usage data by default, measured). +- The copy says when the box links Prowlarr to Sonarr/Radarr by itself (they come up after it) and when the household + presses „Bekötés most" (they were there first) — the controller's wiring runs on a media app's start, and Prowlarr is + not one. +- `onboarding/prowlarr.md`: all 61 checks done or n/a. Bench (update test proven, C3 failed as it must, 10-minute soak + 7.6 %, volume-persistence CLEAN) and 9202 through the product (gate, first admin, stranger, Update, remove, restore). + Evidence: felhom.eu `documentation/audits/prowlarr-2026-10-15/`. +- `scripts/upgrade_fixtures_box.py`: `ProwlarrBox` (a tag and an app profile through the app's own API, ghost negative + control). README tables, FIRST-ADMIN row, copy freeze admission. + ## Unreleased (2026-10-15, afternoon) — the shared rule file; no code change - `.claude/rules/unprompted-work.md` §3 item 6: **a controller release needs no golden** — the floor carries it after the diff --git a/FIRST-ADMIN.md b/FIRST-ADMIN.md index 1262771..29072be 100644 --- a/FIRST-ADMIN.md +++ b/FIRST-ADMIN.md @@ -77,6 +77,7 @@ asks the probe first where there is one. Open sign-up is closed by the box after | plex | 2 | the household's plex.tv claim token | – | fine | R | | privatebin | 5 | anonymous pastes by design | – | fine | R | | qbittorrent | 1 | `QBT_ADMIN_PASSWORD` generated at install; the entrypoint seeds the config with a PBKDF2 hash of it before the app's first start, so the app never carries its own default | – | fine | **M 9401 + 9202** (2026-10-12): the generated password signs in, a wrong password is refused (401) and an unauthenticated API call 403s, and no temporary password is ever printed to the log (the app prints one only when it has no stored hash, and it always has ours) `felhom.eu/documentation/audits/qbittorrent-2026-10-12/` | +| **prowlarr** | 4 | first visitor sets auth | **setup gate**, opened by the household's press („Kész, beállítottam"); no sign-up to close (single user); `/initialize.json` hands anyone the API key BEFORE the setup — the gate hides it; after, it needs a login. `AuthenticationRequired=Enabled` + `AnalyticsEnabled=False` seeded at the first start | **GATED** — catalog, 2026-10-15 (R-1048) | **M 9202** 2026-10-15: in the install window a stranger got only the gate / 401 / 404; the household made its account (forms) and signed in through traefik; after „Kész” a stranger meets the app's own login (`/initialize.json` → 302 /login); `felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk.txt` | | **radarr** | 4 | first visitor sets auth | **setup gate**, opened by the household's press („Kész, beállítottam", confirm first); no sign-up to close (single user / no accounts); `/initialize.json` hands anyone the API key BEFORE the setup — the gate hides it; after, it needs a login | **GATED** — catalog, 2026-09-29 (decisions 46–47) | **M 9202**: stranger → gate page / 401; household reached the first-setup screen; gate opened after the setup; the app answered after (`felhom.eu/documentation/audits/gate-rollout-2026-09-29/`) | | **radicale** | 1 | the box generates the password at install; the container writes Radicale's login file from it on the FIRST start only (Radicale 3 ships with `auth = denyall`) | — (no first-run screen, no sign-up route) | **NEW 2026-10-01** — catalog, onboarding record `onboarding/radicale.md` | **M 9202** (drill catalog): no login 401 from the first answer; wrong 401; right 207; 15 wrong tries → right at once (no lock, ~1.3 s delay each); remove + restore → the household's login comes back with the data (`felhom.eu/documentation/audits/new-apps-2026-10-01/box/radicale/`) | | **rallly** | 4 | magic link to any e-mail | **setup gate**, the household's press; magic link by e-mail — not provable on 9202 | **GATED** — catalog, 2026-09-29; the opening NOT proven | **M 9202**: stranger → gate page / 401, household reached the first-setup screen (`felhom.eu/documentation/audits/gate-rollout-2026-09-29/`) | diff --git a/README.md b/README.md index a9acb57..ea24591 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ app-catalog-felhom.eu/ <- This repo (source of truth) │ ├── papra/ │ ├── plex/ │ ├── privatebin/ +│ ├── prowlarr/ │ ├── qbittorrent/ │ ├── radarr/ │ ├── rallly/ @@ -399,6 +400,7 @@ block + the matching compose `${VAR}` lines. | Plant-it | None (file) | 50M / 256M | yes | -- | plants.* | | Plex | None (file) | 512M / 2048M | no | `${HDD_PATH}/media/` | plex.* | | PrivateBin | None (file) | 30M / 128M | yes | -- | paste.* | +| Prowlarr | None (file) | 100M / 512M | yes | -- | prowlarr.* | | qBittorrent | None (file) | 192M / 1024M | yes | `${USERDATA_PATH}/media/torrents/` | torrent.* | | Radarr | None (file) | 150M / 512M | yes | `${HDD_PATH}/media/` | radarr.* | | Radicale | None (file) | 40M / 128M | yes | -- | calendar.* | diff --git a/REPORT.md b/REPORT.md index 59f11e7..c740f26 100644 --- a/REPORT.md +++ b/REPORT.md @@ -1,9 +1,11 @@ -# REPORT — media apps on every drive: the marker; Plex without the race (2026-10-15) +# REPORT — Prowlarr into the live catalog (R-1048, 2026-10-15) -- Seven media templates carry `media_library:`; controller 0.313.0 binds every present drive at the same path. Older - controllers ignore it (one drive, as before). -- Transmission's incomplete folder is off at start. Plex: no code at install, the code on the Plex page after the - start (controller 0.313.0), `ADVERTISE_IP`; no probe (backward compatibility, explained in the template). -- Proof: Tester 1 with the drill copies (felhom.eu `audits/media-build-2026-10-15/G/`); demo-hp 9201 read-back after - this push (same folder, `G7`). -- Gates: `catalog_gates.py --fast` all OK. +- New template `prowlarr` at `version-2.6.5.5623`, config volume only, setup gate, sign-in required and usage data off + from the first start. +- The record `onboarding/prowlarr.md` answers all 61 checks. Proof: the bench (update test, soak, volume-persistence) + and 9202 through the product (install, gate, stranger, Update, remove, restore). felhom.eu + `documentation/audits/prowlarr-2026-10-15/README.md` says which run proves what. +- One test-tool bug was found and fixed in the audit's own tool: run 1's drill bump emptied the drill `.felhom.yml`. + Run 3 re-proved the step and the restore with the full file. +- Read-back on demo-hp 9201 from the live catalog after this push: same audit folder, `box9201/`. +- Gates: `catalog_gates.py prowlarr --fast`. diff --git a/onboarding/prowlarr.md b/onboarding/prowlarr.md new file mode 100644 index 0000000..d2f3325 --- /dev/null +++ b/onboarding/prowlarr.md @@ -0,0 +1,75 @@ +# Onboarding record — prowlarr + +app: prowlarr +opened: 2026-10-15 +template_at: 2026-10-15 (published in this commit) + + + +0.1 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/01-licence.txt — GPL-3.0 (the project's LICENSE). We pull a published image and never redistribute it +0.2 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/01-tags.txt — five releases between 2026-08-02 and 2026-09-16 (v2.6.1 … v2.6.5); the image was rebuilt 2026-10-07 +0.3 | n/a | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/01-official-image.txt — THE PROJECT PUBLISHES NO DOCKER IMAGE OF ITS OWN (prowlarr/prowlarr: 404 on Docker Hub, no anonymous pull on ghcr.io, while linuxserver/prowlarr answers 200 on both as the control; the project's README points at a community image), so an official one cannot be used. lscr.io/linuxserver/prowlarr is the maintained community image, the same publisher as Sonarr, Radarr, Transmission and SABnzbd in this catalog: version tags (version-2.4.0.5397, version-2.5.2.5491, version-2.6.5.5623) and amd64 + arm64 (bench/01-tags.txt, bench/01-version-tags.txt) +0.4 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/02-first-start-2.6.5.txt ; felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk.txt — the app sends anonymous usage data BY DEFAULT (analyticsEnabled true on a fresh config); the template seeds AnalyticsEnabled=False on the first start and the app's own API reads it back false on 9202. No open connection after 150 s on the bench. Self-update is off in this image (UpdateMechanism Docker) +0.5 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/02-first-start-2.6.5.txt — yes, by design: the indexers are web sites, and at the first start the app fills /config/Definitions with the indexer definitions from the project's server. No account and no claim token +0.6 | done | app-catalog-felhom.eu/templates/prowlarr/docker-compose.yml — HTTP on 9696 only, through traefik; no other port is published +0.7 | n/a | the project has no phone or desktop app; third-party clients call the same API on the same public name with the household's API key, behind the app's own sign-in +0.8 | done | app-catalog-felhom.eu/templates/prowlarr/.felhom.yml — "A letöltési forrásaid egy helyen a Sonarrhoz és a Radarrhoz" +0.9 | done | felhom-controller/controller/internal/mediawire/mediawire.go — the app never calls its public name; the box links it to Sonarr/Radarr by container name (http://prowlarr:9696, http://sonarr:8989, http://radarr:7878), and the healthcheck dials 127.0.0.1 +1.1 | done | app-catalog-felhom.eu/templates/prowlarr/docker-compose.yml — lscr.io/linuxserver/prowlarr:version-2.6.5.5623, published 2026-10-07 (8 days old at the publish), digest sha256:f9151e5bc1025c6d0a630d503210cdcb6bb55a7cc098562609d96a408d838902 in the ladder entry; gates image-pins + image-resolvable +1.2 | n/a | the app keeps its own SQLite file inside /config; no database engine and no sidecar +1.3 | n/a | no MariaDB and no PostgreSQL sidecar in this template +1.4 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/02-first-start-2.6.5.txt ; felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/MV-prowlarr/verdict.json — the app migrates its own database at every start (MigrationController); the step INTO the pin (version-2.5.2.5491 -> version-2.6.5.5623) is proven on the bench with the migration observed +1.5 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/02-first-start-2.6.5.txt — the Prowlarr binary under s6 as the image's unprivileged `abc` user; the app has no development server +1.6 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/02-first-start-2.6.5.txt — the only secret the app reads is its API key, which the app itself generates into /config/config.xml at the first start; no secret comes from the environment +1.7 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/02-first-start-2.6.5.txt ; app-catalog-felhom.eu/templates/prowlarr/docker-compose.yml — the image's init (init-prowlarr-config, svc-prowlarr: -nobrowser -data=/config) read; the template's own entrypoint writes two keys on the FIRST start only (AuthenticationRequired=Enabled, AnalyticsEnabled=False) and then hands over to /init +1.8 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/run3/restore.txt — „Hosting environment: Production"; the app has no debug mode for visitors. Its FILE log level is debug by the app's own default (/config/logs/prowlarr.debug.txt, rotated by the app); nothing of it reaches a visitor +1.9 | n/a | the API key encrypts nothing and locks nobody out; it lives in config.xml in the backed-up volume, and a new key costs only a fresh link press +2.1 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/vp-prowlarr.txt ; felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/VP-prowlarr/prowlarr/probe.json — the volume-persistence gate on the bench: CLEAN, the prober's own canaries passed in both directions. Everything the app writes is under /config +2.2 | done | app-catalog-felhom.eu/templates/prowlarr/docker-compose.yml — /config in the named volume prowlarr_config (NVMe); no drive path and no media folder (needs_hdd false) +2.3 | done | app-catalog-felhom.eu/templates/prowlarr/.felhom.yml — prowlarr_config is `important` (the indexers, their keys, the links); there is no drive path to classify +2.4 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/02-first-start-2.6.5.txt — PUID/PGID 1000, the app runs as 1000:1000 +2.5 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/run3/restore.txt ; felhom.eu/documentation/audits/prowlarr-2026-10-15/box/run3/restore-results.json — on 9202: the seed, the guarded Update's own per-app backup (the box has no other per-app press, R-648), remove KEEPING the backups (volume gone), the household's restore button, the seed read back through the app's own API, and the app answers through traefik again. The restore brings the app back at the image recorded in the backup (the one before the Update). A restore of a removed app comes back WITHOUT the setup gate, by design; a backup taken before the household's setup therefore comes back open with no account — filed in felhom.eu OPEN-ITEMS.md +2.6 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk.txt ; felhom.eu/documentation/audits/prowlarr-2026-10-15/box/run3/restore.txt — remove with data: the volume goes, 0 containers and 0 volumes left; remove keeping data: the volume goes and the backup stays, and it restores. No drive data exists +2.7 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/run3/restore.txt — the config volume is 5.5 MB after the seed (the indexer definitions are most of it); that is what the off-site copy carries +2.8 | n/a | the household uploads no files to this app; it enters indexer settings, and their read-back is 2.5 +3.1 | done | app-catalog-felhom.eu/FIRST-ADMIN.md ; felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk.txt — class 4, the first visitor sets the sign-in: the setup gate keeps everyone but the household out until „Kész"; the household made its account (forms) through the gate +3.2 | n/a | there is no known default login: the app starts with no account and the household creates it +3.3 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk.txt ; felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk-results.json — setup_gate: before „Kész" a stranger gets the gate, 401 or 404; after it the app's own login (/ and /initialize.json -> 302 /login, the API 401) and no API key in any body +3.4 | n/a | the app has one account by design and no sign-up page to close +3.5 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk-results.json — 23 s of polling in the install window: only 302 to the gate, 401 and 404. /initialize.json, which hands the API key to anyone before the first account, never reached a stranger +3.6 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk.txt — six wrong passwords from one address, then the household's right one from the same address: in at once (auth cookie set). The app has no lock-out, so a stranger cannot lock the household out +3.7 | done | app-catalog-felhom.eu/templates/prowlarr/.felhom.yml — the household sets and changes its password in the app's own settings (Settings, General, Authentication); one account by design, so no family members to add +3.8 | done | app-catalog-felhom.eu/templates/prowlarr/docker-compose.yml — the template passes no secret at all; the household's password goes in through the app's own form, and the box reads the API key from config.xml at use +3.9 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk.txt — the browser form through traefik over https: the right password 302 to / with the ProwlarrAuth cookie, a wrong one 302 to /login?loginFailed=true and no cookie +3.10 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk.txt — the app logs the visitor's address (192.168.0.180 for the failures) and decides nothing with it: AuthenticationRequired=Enabled is seeded, so there is no „local addresses need no sign-in" exemption +4.1 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/02-first-start-2.6.5.txt — curl and wget are in the image (one tool per run); the healthcheck is one curl to /ping +4.2 | done | app-catalog-felhom.eu/templates/prowlarr/.felhom.yml — the controller probe is api 9696 /ping, what the compose healthcheck dials; gate probe-matches-compose +4.3 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk.txt ; felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/02-first-start-2.6.5.txt — healthy on a cold first start, 0 restarts; the bench answered 200 within the start period +4.4 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/run3/restore.txt — negative control: the same probe against a port nothing serves fails (curl rc 7), the real probe passes (rc 0) +4.5 | done | app-catalog-felhom.eu/templates/prowlarr/docker-compose.yml — container_name prowlarr = the stack name = the probe's target +5.1 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/02-first-start-2.6.5.txt — first start from birth: peak anon 44 MiB, 0 oom_kills, 0 restarts, swap off on the bench +5.2 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/MV-prowlarr/verdict.json — the harness's 10-minute soak: 11,961 requests all 200, peak anon 41 MB = 7.6 % of the 512M limit, 0 kills, 0 restarts +5.3 | done | app-catalog-felhom.eu/templates/prowlarr/.felhom.yml — mem_limit 512M = the one compose limit (gate mem-limit-sum); the compose header carries the measured number +5.4 | n/a | the app is .NET, which sizes its heap from the container's memory limit by itself; measured peak 44 MiB, nothing to set +5.5 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/01-tags.txt ; felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/02-first-start-2.6.5.txt — pi_compatible true: the tag is published for arm64; the pull is about 185 MB +6.1 | done | app-catalog-felhom.eu/scripts/upgrade_fixtures_box.py — ProwlarrBox: a distinctive tag and app profile through the app's own API, with a negative control (a name nobody created must be absent) on every read-back; the bench uses the same fixture through upgrade_boxport +6.2 | done | app-catalog-felhom.eu/templates/prowlarr/.felhom.yml — the first ladder step version-2.5.2.5491 -> version-2.6.5.5623, written by `upgrade-test.py --write-ladder` from the bench verdict and the box verdict (9202 run 3), both `proven` +6.3 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/MV-prowlarr/verdict.json ; felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/C3-verdict.json — the abort put the old image back and the app served (`abort: starts-and-serves`); the C3 negative control failed as it must +6.4 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/MV-prowlarr/verdict.json — `files_may_change` false: the step rewrote nothing the harness watches +6.5 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/01-version-tags.txt — the publisher's shape `version-` held across 2.4, 2.5 and 2.6 +7.1 | n/a | the app sends no mail; its notifications go to services the household configures itself +8.1 | done | app-catalog-felhom.eu/templates/prowlarr/.felhom.yml — Hungarian and English, informal "te", no "kérjük"; admitted to the copy freeze with its reason (gate copy-i18n) +8.2 | done | app-catalog-felhom.eu/templates/prowlarr/.felhom.yml — tagline, use_cases, first_steps (including when the box links it by itself and when the household presses „Bekötés most"), default_creds, prerequisites; add_people n/a (one account by design) +8.3 | done | felhom.eu/website/assets/prowlarr-logo.svg ; felhom.eu/website/alkalmazasok.html — the project's own SVG logo (no script) and the card on both language pages; no screenshots, deliberately (the picture gate wants every opener to point at a file) +8.4 | done | app-catalog-felhom.eu/README.md ; app-catalog-felhom.eu/FIRST-ADMIN.md — both tables; category media-automation (as Sonarr and Radarr); catalog_since 2026-10-15 +8.5 | done | felhom.eu/website/alkalmazasok.html — the stated count moves 62 -> 63 on every page that states it, both languages, and the media group 19 -> 20; the two cards R-1036 still owes (plant-it, wger) are unchanged +9.1 | done | app-catalog-felhom.eu/onboarding/prowlarr.md — `catalog_gates.py prowlarr --fast` green; the runtime volume-persistence gate CLEAN on the bench (2.1) +9.2 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/box/walk.txt ; felhom.eu/documentation/audits/prowlarr-2026-10-15/box/run3/restore.txt — a fresh install from the drill catalog on 9202 as the household and as a stranger (run 1, before its bump), and the step and the restore with the full template (run 3) +9.3 | done | felhom.eu/documentation/audits/prowlarr-2026-10-15/README.md — every row above is done or n/a with a reason; the runs, the tool bug and what each run proves are listed there +9.4 | done | app-catalog-felhom.eu/onboarding/prowlarr.md — published in ONE commit with this record diff --git a/scripts/copy_freeze/hu.json b/scripts/copy_freeze/hu.json index 42ffdea..f4e2549 100644 --- a/scripts/copy_freeze/hu.json +++ b/scripts/copy_freeze/hu.json @@ -975,6 +975,23 @@ "deploy_fields[SUBDOMAIN].label": "Aldomain", "description": "Titkosított jegyzet és szöveg megosztás" }, + "prowlarr": { + "app_info.default_creds": "Az első belépéskor te hozod létre", + "app_info.first_steps[0]": "Nyisd meg a prowlarr.DOMAIN címet, és hozd létre a saját belépésedet", + "app_info.first_steps[1]": "Az Indexers oldalon add hozzá a forrásaidat - csak itt, egyszer", + "app_info.first_steps[2]": "Ha a Sonarrt vagy a Radarrt a Prowlarr után telepíted, a doboz magától összeköti őket (Settings, Apps). Ha előttük telepítetted, a vezérlőpulton nyomd meg a „Bekötés most” gombot", + "app_info.first_steps[3]": "Ha kész, a vezérlőpulton nyomd meg: „Kész, beállítottam”", + "app_info.prerequisites[0]": "Sonarr vagy Radarr kell mellé (külön telepítendő)", + "app_info.prerequisites[1]": "Legalább egy saját indexer-hozzáférés", + "app_info.tagline": "A letöltési források egy helyen", + "app_info.use_cases[0]": "A letöltési forrásaidat (indexereket) egyszer adod meg, és a Sonarr meg a Radarr magától megkapja", + "app_info.use_cases[1]": "Egy forrás hibáját és sebességét egy helyen látod", + "deploy_fields[DOMAIN].description": "A szerver domain neve", + "deploy_fields[DOMAIN].label": "Domain", + "deploy_fields[SUBDOMAIN].description": "Az alkalmazás aldomainje", + "deploy_fields[SUBDOMAIN].label": "Aldomain", + "description": "A letöltési forrásaid egy helyen a Sonarrhoz és a Radarrhoz" + }, "qbittorrent": { "app_info.default_creds": "admin / (telepítéskor generált jelszó)", "app_info.first_steps[0]": "Nyisd meg a torrent.DOMAIN címet, és lépj be az admin névvel és a telepítéskor kapott jelszóval", @@ -1442,6 +1459,7 @@ "nzbget": "Usenet downloader, the light client of the pair (R-988); Hungarian written 2026-10-12 and reviewed in this session", "papra": "R-593 (2026-10-05): deliberate Hungarian rewrite, not a translation — AUTH_SECRET carried SUBDOMAIN's sentence 'Az alkalmazás aldomainje' (copy-paste one field too low); the sentence moved to SUBDOMAIN and AUTH_SECRET got its own: 'A bejelentkezéseket aláíró titkos kulcs (automatikusan generált)'", "plex": "2026-10-15 (R-1045, security review of 0188430): the claim field is REQUIRED again for controllers before 0.313.0 — its description back to the original; after_start makes 0.313.0 ask it on the Plex page", + "prowlarr": "R-1048 2026-10-15: new app, copy written in plain informal te with no kérjük; the link sentence matches the controller's mediawire trigger (Sonarr/Radarr coming up, or Bekötés most)", "qbittorrent": "New app 2026-10-12 (operator ruling: the catalog needs a download client - radarr/sonarr/seerr had none). Hungarian written with the voice the website switched to the same day; English twin complete at 23/23.", "radicale": "new app 2026-10-01 through NEW-APP-CHECKLIST.md: te-form, no kérjük; reviewed by CC against the operator rules", "sabnzbd": "Usenet downloader, the full client of the pair the operator asked for (R-988); Hungarian written 2026-10-12 and reviewed in this session", diff --git a/scripts/upgrade_fixtures_box.py b/scripts/upgrade_fixtures_box.py index 0dc5f2f..bc27476 100644 --- a/scripts/upgrade_fixtures_box.py +++ b/scripts/upgrade_fixtures_box.py @@ -118,6 +118,86 @@ class QBittorrentBox: return ok +class ProwlarrBox: + """Prowlarr's own API (v1), called inside its own container with its own API key (read from its own config file + in that container — the key is the app's, never printed). Added 2026-10-15 (R-1048). A tag and an app profile go in; + the same API is asked for both back. Prowlarr is behind the setup gate on 9202, so the calls stay inside the + container rather than crossing traefik — still the app's own interface (R-156). The negative control is a tag + nobody created.""" + sub = "prowlarr" + container = "prowlarr" + + def _key(self, w, say): + for _ in range(30): + out = _gx(w, self.container, "cat", "/config/config.xml", timeout=60) or "" + m = re.search(r"([0-9a-fA-F]{20,})", out) + if m: + return m.group(1) + time.sleep(5) + say(" prowlarr: no API key in the app's own config after 150 s") + return "" + + def _api(self, w, key, path, body=None, method=None): + cmd = ["curl", "-sS", "--max-time", "40", "-w", "\n%{http_code}", "-H", "X-Api-Key: " + key] + if method: + cmd += ["-X", method] + if body is not None: + cmd += ["-H", "Content-Type: application/json", "--data-binary", json.dumps(body)] + cmd.append("http://127.0.0.1:9696/api/v1" + path) + out = _gx(w, self.container, *cmd, timeout=90) or "" + b, _, code = out.rpartition("\n") + return code.strip(), b + + def seed(self, w, sub, say): + key = self._key(w, say) + if not key: + return None + for _ in range(24): + code, _b = self._api(w, key, "/system/status") + if code == "200": + break + time.sleep(5) + label = "felhom" + secrets.token_hex(4) + code, out = self._api(w, key, "/tag", {"label": label}, method="POST") + say(f" prowlarr: POST /tag {label} http={code}") + if code not in ("200", "201"): + say(f" prowlarr: refused {out[:160]}") + return None + prof = "felhom-profile-" + secrets.token_hex(3) + code, out = self._api(w, key, "/appprofile", {"name": prof, "enableRss": True, "enableAutomaticSearch": True, + "enableInteractiveSearch": True, "minimumSeeders": 1}, method="POST") + say(f" prowlarr: POST /appprofile {prof} http={code}") + if code not in ("200", "201"): + say(f" prowlarr: refused {out[:160]}") + return None + return {"tag": label, "profile": prof} + + def verify(self, w, sub, t, say): + key = self._key(w, say) + if not key: + return False + for _ in range(36): + code, _b = self._api(w, key, "/system/status") + if code == "200": + break + time.sleep(5) + code, out = self._api(w, key, "/tag") + if code != "200": + say(f" prowlarr: GET /tag http={code}") + return False + ghost = "felhom" + secrets.token_hex(4) + if ghost in out: + say(" prowlarr: READBACK UNUSABLE - a tag nobody created is present") + return False + if t["tag"] not in out: + say(f" prowlarr: the seeded tag {t['tag']} is GONE") + return False + code, out = self._api(w, key, "/appprofile") + ok = code == "200" and t["profile"] in out + say(f" prowlarr: tag kept, app profile present={ok}") + return ok + + class TransmissionBox: """Transmission through traefik: a distinctive speed limit and a torrent go in over its RPC with the household's own generated password, and the same RPC is asked for them back. The session id @@ -3020,6 +3100,7 @@ FIXTURES = { "grocy": Grocy(), "lubelogger": LubeLogger(), "qbittorrent": QBittorrentBox(), + "prowlarr": ProwlarrBox(), "transmission": TransmissionBox(), "sabnzbd": SABnzbdBox(), "nzbget": NZBGetBox(), diff --git a/templates/prowlarr/.felhom.yml b/templates/prowlarr/.felhom.yml new file mode 100644 index 0000000..760c782 --- /dev/null +++ b/templates/prowlarr/.felhom.yml @@ -0,0 +1,108 @@ +# ============================================================================= +# .felhom.yml - App metadata for felhom-controller +# ============================================================================= + +# --- Display info (shown on dashboard) --- +display_name: "Prowlarr" +description: "A letöltési forrásaid egy helyen a Sonarrhoz és a Radarrhoz" +category: "media-automation" +subdomain: "prowlarr" +slug: "prowlarr" +# catalog_since: the date THIS repo last changed this app's pinned images. Any commit that +# changes an image: line must set this to the same day (see CLAUDE.md). +catalog_since: "2026-10-15" + +# --- Resource hints (displayed on deploy screen) --- +resources: + mem_request: "100M" + mem_limit: "512M" # = the one compose limit (512M) + pi_compatible: true + needs_hdd: false + +# --- Backup classification --- +backup: + volumes: + - name: prowlarr_config + class: important # the indexers, their keys and the links to Sonarr/Radarr (SQLite + config.xml) + +# --- Deploy fields (first deployment only) --- +deploy_fields: + - env_var: DOMAIN + label: "Domain" + type: domain + description: "A szerver domain neve" + locked_after_deploy: true + + - env_var: SUBDOMAIN + label: "Aldomain" + type: subdomain + default: "prowlarr" + required: true + locked_after_deploy: true + description: "Az alkalmazás aldomainje" + +# --- The setup gate (controller >= 0.281.0, `09` §3 decisions 46-47) --- +# The first visitor would create the admin (the app asks for a user on its first page); a fresh install is closed to +# everyone but the household until the first setup is done. +setup_gate: true + +# --- App info (info page content) --- +app_info: + tagline: "A letöltési források egy helyen" + default_creds: "Az első belépéskor te hozod létre" + docs_url: "https://wiki.servarr.com/prowlarr" + + use_cases: + - 'A letöltési forrásaidat (indexereket) egyszer adod meg, és a Sonarr meg a Radarr magától megkapja' + - 'Egy forrás hibáját és sebességét egy helyen látod' + + first_steps: + - 'Nyisd meg a prowlarr.DOMAIN címet, és hozd létre a saját belépésedet' + - 'Az Indexers oldalon add hozzá a forrásaidat - csak itt, egyszer' + - 'Ha a Sonarrt vagy a Radarrt a Prowlarr után telepíted, a doboz magától összeköti őket (Settings, Apps). Ha előttük telepítetted, a vezérlőpulton nyomd meg a „Bekötés most” gombot' + - 'Ha kész, a vezérlőpulton nyomd meg: „Kész, beállítottam”' + + prerequisites: + - 'Sonarr vagy Radarr kell mellé (külön telepítendő)' + - 'Legalább egy saját indexer-hozzáférés' + +# --- Controller-side health probe --- +healthcheck: + checks: + - type: api + port: 9696 + path: "/ping" + expect: + status: 200 + +# --- English copy --- +i18n: + en: + description: 'Your download sources in one place for Sonarr and Radarr' + app_info: + tagline: 'Your download sources in one place' + default_creds: 'You create it at the first sign-in' + use_cases: + - 'Enter your download sources (indexers) once, and Sonarr and Radarr get them by themselves' + - 'See each source''s errors and speed in one place' + first_steps: + - 'Open prowlarr.DOMAIN and create your own sign-in' + - 'Add your sources on the Indexers page - only here, once' + - 'If you install Sonarr or Radarr after Prowlarr, the box links them by itself (Settings, Apps). If they were there first, press „Connect now” on the dashboard' + - 'When you are done, press „Done, I set it up” on the dashboard' + prerequisites: + - 'Sonarr or Radarr beside it (installed separately)' + - 'At least one indexer account of your own' + deploy_fields: + - env_var: DOMAIN + label: 'Domain' + description: 'The server domain name' + - env_var: SUBDOMAIN + label: 'Subdomain' + description: 'The subdomain this app answers on' + +# update_ladder — the test record: one tested step per line, oldest first (JSON flow mappings, +# `09-update-architecture.md` §6.4 part 4). WRITTEN BY scripts/upgrade-test.py, never by hand; +# gated by scripts/check-test-record.py. An image: move without a proven entry here is refused. +update_ladder: + - {"from": {"prowlarr": "lscr.io/linuxserver/prowlarr:version-2.5.2.5491"}, "to": {"prowlarr": "lscr.io/linuxserver/prowlarr:version-2.6.5.5623"}, "digest": {"prowlarr": "sha256:f9151e5bc1025c6d0a630d503210cdcb6bb55a7cc098562609d96a408d838902"}, "verdict": "proven", "tested_at": "2026-10-15T10:10:50Z", "harness_version": 5, "evidence": "felhom.eu/documentation/audits/prowlarr-2026-10-15/bench/MV-prowlarr/verdict.json", "box_evidence": "felhom.eu/documentation/audits/prowlarr-2026-10-15/box/prowlarr/box-verdict-prowlarr.json", "memory_peak_pct": 7.6, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 21.1} diff --git a/templates/prowlarr/docker-compose.yml b/templates/prowlarr/docker-compose.yml new file mode 100644 index 0000000..78c02a5 --- /dev/null +++ b/templates/prowlarr/docker-compose.yml @@ -0,0 +1,67 @@ +# Prowlarr - Letöltési források (indexerek) egy helyen a Sonarrhoz és a Radarrhoz +# Domain: ${SUBDOMAIN}.${DOMAIN} +# Database: None (file-based, SQLite in /config) +# RAM: ~100M (mem_limit: 512M; first start from birth peaked at 44 MiB anon, measured 2026-10-15) | Pi-compatible: Yes +# +# Environment variables: +# DOMAIN - Your domain (e.g., demo-felhom.eu) +# +# The household's download sources (indexers) live here ONCE and reach Sonarr and Radarr by themselves (Prowlarr -> +# Settings -> Apps, full sync). The box makes those two links when Sonarr/Radarr come up, or on „Bekötés most”; +# installing Prowlarr AFTER them makes no link by itself (measured 2026-10-15; felhom.eu 15-media-library.md §6). +# It touches no drive and no media folder: config only, in the named volume prowlarr_config. +# Run-identity: PUID/PGID 1000. + +services: + prowlarr: + image: lscr.io/linuxserver/prowlarr:version-2.6.5.5623 + container_name: prowlarr + restart: unless-stopped + # On the FIRST start only, the settings file is seeded with two choices the household would otherwise have to find: + # AuthenticationRequired=Enabled (R-1030, as Sonarr/Radarr): never „Disabled for Local Addresses", which lets every + # device at home and every container on the box in without a sign-in, the API key included; + # AnalyticsEnabled=False: Prowlarr sends anonymous usage data by default (measured 2026-10-15: analyticsEnabled + # true on a fresh config). Data sovereignty is the pitch. + # The app fills in everything else itself; a household's later choice is never overwritten. + entrypoint: + - /bin/sh + - -c + - | + if [ ! -f /config/config.xml ]; then + printf '\n Enabled\n False\n\n' > /config/config.xml + echo "[felhom] first start - AuthenticationRequired=Enabled, AnalyticsEnabled=False seeded" + fi + exec /init + environment: + - TZ=Europe/Budapest + - PUID=1000 + - PGID=1000 + - UMASK=002 + volumes: + - prowlarr_config:/config + networks: + - traefik-public + deploy: + resources: + limits: + memory: 512M + healthcheck: + test: ["CMD", "curl", "-f", "http://127.0.0.1:9696/ping"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 30s + labels: + - "traefik.enable=true" + - "traefik.http.routers.prowlarr.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)" + - "traefik.http.routers.prowlarr.entrypoints=websecure" + - "traefik.http.routers.prowlarr.tls=true" + - "traefik.http.routers.prowlarr.tls.certresolver=letsencrypt" + - "traefik.http.services.prowlarr.loadbalancer.server.port=9696" + +volumes: + prowlarr_config: + +networks: + traefik-public: + external: true