Files
app-catalog-felhom.eu/REPORT.md
T

41 lines
2.7 KiB
Markdown

# REPORT — download folders out of the backups (R-1019), 2026-10-20
**What:** the night brief part 2 (run by day on 2026-10-20), Part 3. Architecture: felhom.eu
`documentation/architecture/15-media-library.md` §7 (the per-drive media bind is `excluded`).
**Change:** five download clients declare their download folder `class: excluded` (was `optional`): qBittorrent
`media/torrents`, Transmission `media/transmission` + `media/transmission/watch`, NZBGet `media/nzbget`, SABnzbd
`media/usenet`, MeTube `media/metube`. No image change.
**Every media-stack bind and its class (after):**
| App | Bind (userdata) | Class | Tier 2 (second drive) | Off-site |
|---|---|---|---|---|
| qBittorrent | media/torrents (at /downloads and its own path) | excluded | — | — |
| Transmission | media/transmission (/downloads), media/transmission/watch (/watch) | excluded, excluded | — | — |
| NZBGet | media/nzbget (/downloads) | excluded | — | — |
| SABnzbd | media/usenet (/downloads) | excluded | — | — |
| MeTube | media/metube (/downloads) | excluded | — | — |
| Sonarr | media (rw, same path) | excluded | — | — |
| Radarr | media (rw, same path) | excluded | — | — |
| Prowlarr | no userdata bind (state in its volume) | — | — | — |
| Jellyfin / Plex / Emby | media (:ro) | excluded | — | — |
Each app's own state (settings, queue, resume data) stays in its `important` named volume.
**Proof (no test box has these apps):** the controller's own classifier (main `93fb251`: `LoadMetadata` →
`ParseComposeClassifiableBinds` → `ClassifyBinds` → `ComputeCaptureSet`) over the templates, before and after —
before, each of the five downloaders copied its folder to the secondary tier; after, 0 paths on every tier. Evidence:
felhom.eu `documentation/audits/night2-2026-10-20/P3/classifier-before-after.txt`. The probe was a temporary test,
not committed.
**Gate:** `scripts/check-download-binds.py` (`download-binds`, `--fast`): a `${USERDATA_PATH}/<folder>` bind at the
container target `/downloads` or `/watch` must be `excluded`; optional, mandatory or unlisted is refused. Before the fix
it refused the live catalog 6 times; after, clean. Decoys: 11 cases in `test_gate_decoys.py` (comment-only target,
comment-only class, steps/-only bind pass; optional, mandatory, unlisted, a /watch child, a target below /downloads
refused; no download bind / no templates rc 3). `catalog_gates.py --fast` green.
**Scope note:** the brief named qBittorrent and Transmission. NZBGet, SABnzbd and MeTube carry the same reason in their
own comment („large, and fetchable again"), and the brief's gate rule covers every download folder, so they moved too.
If MeTube's videos should keep a copy on the second drive, it is one line back to `optional` plus a gate exception.