The media folders meet: Sonarr/Radarr see media at the same path, the download clients only their own folder (R-1014, D9 = A with a limit)
gates / gates (push) Successful in 3s

sonarr/radarr: one media bind, declared excluded; first start seeds AuthenticationRequired=Enabled (R-1030); first
steps hu+en. qbittorrent/transmission: only their download folder at the same path, /downloads kept for old torrents,
default folders moved at start; transmission watch declared optional (R-1019). plex/jellyfin: /media/tv (R-1015).
onboarding 2.2 rows (R-1016). Evidence: felhom.eu documentation/audits/media-folder-fix-2026-10-14/.
This commit is contained in:
admin committed 2026-10-14 21:40:47 +02:00
1 parent 8f5ad8ae83
commit bc54c01289
15 files changed
+176 -70

No files matched your search

+25
View File
@@ -1,3 +1,28 @@
## 2026-10-14 — the media folders meet: Sonarr/Radarr see `media`, the download clients only their own folder (R-1014)
**What runs on a box changed:** the next catalog sync brings these templates to every box that has the apps; each
app takes the new folders at its next start. Images unchanged.
- **sonarr, radarr:** ONE bind, `${USERDATA_PATH}/media`, at the SAME path inside the container as on the box (was
`media/tv` or `media/movies` + `downloads`, two mounts: every import was a full copy, and `downloads` was a folder no
download app wrote to). The false „same FS → hardlink" comment is replaced by the measured reason. Backup: the bind is
declared `excluded` (an unlisted writable bind would be MANDATORY, off-site included — felhom.eu/documentation/audits/media-folder-fix-2026-10-14/B1). R-1030: the FIRST
start seeds `AuthenticationRequired=Enabled` into `config.xml`, so the first-admin form offers „Enabled"; an existing
`config.xml` is never touched (bench, felhom.eu/documentation/audits/media-folder-fix-2026-10-14/B2-sonarr-radarr.txt). First steps (hu + en): the download app's host,
port, user and where the password is, the root folder ending in `media/tv` / `media/movies`, Prowlarr, and „Kész,
beállítottam".
- **qbittorrent, transmission:** ONLY their own download folder, at the same path; `/downloads` stays as the old name of
the same folder for torrents added before. The default folders move to the same path at start (qBittorrent: its
`.conf` before the app starts; Transmission: `jq` on `settings.json`); a folder the household chose elsewhere is kept.
Measured on the bench: an install from the old template kept seeding after the update, new torrents and fresh
installs use the same path, and `media/photos` does not exist inside either container (felhom.eu/documentation/audits/media-folder-fix-2026-10-14/B2-B3-*.txt).
Transmission's `watch` bind is now declared `optional` (it was unlisted, so mandatory and off-site — R-1019).
- **plex, jellyfin:** `/media/shows` → `/media/tv` in the first steps (hu + en, R-1015). Their binds are unchanged.
- **onboarding:** `qbittorrent.md` and `transmission.md` row 2.2 name the real folders (R-1016) with the bench evidence.
- `scripts/copy_freeze/hu.json` re-captured: only these apps' changed lines (19).
- Gates: `catalog_gates.py --fast` for the six apps OK; `check-volume-persistence.py` on the bench: 5 clean, plex
UNDETERMINED (its `/transcode` stays empty in the exercise; plex's folders did not change) — felhom.eu/documentation/audits/media-folder-fix-2026-10-14/B-volume-persistence.txt.
## 2026-10-14 — gate `unclean-boot-images`: an Immich bump cannot quietly switch the power-cut repair off (R-1007)
**What runs on a box changed:** nothing. A push changed: the hook and CI now refuse it.
+9 -12
View File
@@ -1,14 +1,11 @@
# REPORT — gate `unclean-boot-images` (R-1007 follow-up, 2026-10-14)
# REPORT — the media folders meet (R-1014, 2026-10-14)
An Immich image bump can no longer switch the power-cut repair off without anyone noticing. New gate
`scripts/check-unclean-boot-images.py` (in `catalog_gates.py`, `--fast`, so the pre-push hook and CI): the image that
the `after_unclean_boot.service` runs in the compose — and in each `steps/` file that carries the block — must be in
the block's `images:`. Refusal text: „<app>: the repair after a power cut was proven on <images>; the compose now runs
<image>. Re-prove the repair on 9202 (the method in `felhom.eu/documentation/audits/immich-repair-2026-10-14/`), then
add the image."
Sonarr and Radarr now see the drive's whole `media` folder; qBittorrent and Transmission see only their own download
folder. Every app sees a file at the same path as on the box, so a download reaches the library as a hardlink on the
same drive. Operator ruling D9 = A with a limit (`felhom.eu` `09` §3 decision 242).
- Real catalog: OK, 1 block (immich) on a proven image.
- Decoys: 11 cases in `test_gate_decoys.py`, all green; five mutations of the gate each turned a case red (evidence
`felhom.eu/documentation/audits/immich-repair-2026-10-14/E/redproof-unclean-boot.txt`).
- `test_catalog_gates.py` pins 15 gates and this one as fast and history-free.
- No template changed. Nothing runs differently on a box.
- Templates: sonarr, radarr, qbittorrent, transmission (folders, backup classes, first steps); plex, jellyfin (copy).
- Installed apps: the old `/downloads` path stays alive as a second name of the same folder; old torrents keep
seeding; only the default for new downloads moves.
- Sonarr/Radarr: „Authentication Required: Enabled" seeded on the first start only (R-1030).
- Evidence: `felhom.eu/documentation/audits/media-folder-fix-2026-10-14/` (B-1 classes, B-2/B-3 bench, volume-persistence, the live read-back on demo-hp).
+1 -1
View File
@@ -30,7 +30,7 @@ them downloads anything - they hand the work to a download client, and there was
1.8 | done | felhom.eu/documentation/audits/qbittorrent-2026-10-12/bench/11-container-log.txt — no debug or development mode exists in qbittorrent-nox; the log carries no stack trace and the app serves its built-in WebUI
1.9 | n/a | the generated password only signs the WebUI session; losing it destroys no data (the household resets it in the app)
2.1 | done | felhom.eu/documentation/audits/qbittorrent-2026-10-12/bench/05-storage.txt — /config (settings + BT_backup resume data) and /downloads are both mounted; nothing of value is written outside them
2.2 | done | app-catalog-felhom.eu/templates/qbittorrent/docker-compose.yml — /config in the named volume qbittorrent_config (NVMe), /downloads at ${USERDATA_PATH}/media/qbittorrent on the household's drive
2.2 | done | app-catalog-felhom.eu/templates/qbittorrent/docker-compose.yml — /config in the named volume qbittorrent_config (NVMe); downloads in ${USERDATA_PATH}/media/torrents on the household's drive, bound at the SAME path inside the container (2026-10-14, R-1014) and ONLY that folder (operator ruling D9 = A with a limit); the same folder also under its old name /downloads for torrents added before. Evidence felhom.eu/documentation/audits/media-folder-fix-2026-10-14/B2-B3-qbittorrent.txt: an install from the old template kept seeding its torrent after the update, a new torrent and a fresh install use the same-path folder, and from inside the container media/photos does not exist (a write lands in the container's own layer, the box's photos unchanged). (Corrected 2026-10-14: this row said media/qbittorrent, R-1016.)
2.3 | done | app-catalog-felhom.eu/templates/qbittorrent/.felhom.yml — the config volume is `important` (it holds the resume data: without it every torrent is re-checked or lost from the list); the downloads are `optional` (large, fetchable again)
2.4 | done | felhom.eu/documentation/audits/qbittorrent-2026-10-12/bench/06-ownership.txt — PUID/PGID 1000; the files land 1000:1000 on both sides of the bind mount
2.5 | done | felhom.eu/documentation/audits/qbittorrent-2026-10-12/box/qbittorrent/step.txt — the product's guarded Update took its own per-app backup (phase `backing-up`, then `safety-dump`, `copying`) and the seeded category and torrent read back through the app's own API afterwards
+1 -1
View File
@@ -30,7 +30,7 @@ first template in this catalog whose image is not the project's own - see 0.3.
1.8 | done | felhom.eu/documentation/audits/qbittorrent-2026-10-12/transmission-bench/11-container-log.txt — no debug mode exists; the log carries the app's own start lines and no stack trace
1.9 | n/a | the generated password only guards the RPC; losing it destroys no data (it is re-applied from the env at every start)
2.1 | done | felhom.eu/documentation/audits/qbittorrent-2026-10-12/transmission-bench/06-storage.txt — /config (settings + torrent state) and /downloads are both mounted, plus the /watch folder; nothing of value is written outside them
2.2 | done | app-catalog-felhom.eu/templates/transmission/docker-compose.yml — /config in the named volume transmission_config (NVMe); /downloads and /watch under ${USERDATA_PATH}/media/transmission on the household's drive
2.2 | done | app-catalog-felhom.eu/templates/transmission/docker-compose.yml — /config in the named volume transmission_config (NVMe); downloads in ${USERDATA_PATH}/media/transmission (complete/, incomplete/) bound at the SAME path inside the container (2026-10-14, R-1014) and ONLY that folder (operator ruling D9 = A with a limit); /downloads kept as the old name of the same folder for torrents added before; /watch is media/transmission/watch, now declared optional (it was unlisted and so mandatory, off-site included, R-1019). Evidence felhom.eu/documentation/audits/media-folder-fix-2026-10-14/B2-B3-transmission.txt: an old install kept seeding after the update, the default folders moved to the same path at start, a fresh install starts there, and media/photos does not exist inside the container.
2.3 | done | app-catalog-felhom.eu/templates/transmission/.felhom.yml — the config volume is `important` (settings and the torrent list); the downloads are `optional` (large, fetchable again)
2.4 | done | felhom.eu/documentation/audits/qbittorrent-2026-10-12/transmission-bench/07-ownership.txt — PUID/PGID 1000; the finished files land 1000:1000 on both sides of the bind mount
2.5 | done | felhom.eu/documentation/audits/qbittorrent-2026-10-12/box/transmission/step.txt — the product's guarded Update took its own per-app backup (phase `backing-up`, then `copying`) and the seeded speed limit and torrent read back through the app's own RPC afterwards
+19 -15
View File
@@ -543,11 +543,11 @@
"app_info.first_steps[0]": "Nyisd meg a media.DOMAIN címet a böngészőben",
"app_info.first_steps[1]": "Kövesd a beállítás varázslót - válaszd a magyar nyelvet",
"app_info.first_steps[2]": "Hozd létre az admin fiókot",
"app_info.first_steps[3]": "Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/shows)",
"app_info.first_steps[3]": "Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/tv)",
"app_info.first_steps[4]": "Telepítsd a Jellyfin alkalmazást a telefonodra vagy TV-dre",
"app_info.prerequisites[0]": "Külső HDD szükséges a médiafájlok tárolásához",
"app_info.prerequisites[1]": "Legalább 2 GB szabad RAM ajánlott",
"app_info.prerequisites[2]": "Filmek és sorozatok mappákba rendezve (pl. /media/movies/, /media/shows/)",
"app_info.prerequisites[2]": "Filmek és sorozatok mappákba rendezve (pl. /media/movies/, /media/tv/)",
"app_info.tagline": "Ingyenes média szerver - filmek, sorozatok és zene streamelése",
"app_info.use_cases[0]": "Filmek, sorozatok és zenék streamelése bármilyen eszközre",
"app_info.use_cases[1]": "Automatikus metaadat letöltés - borítók, leírások, értékelések",
@@ -936,7 +936,7 @@
"app_info.first_steps[0]": "Generálj egy claim tokent a https://plex.tv/claim oldalon",
"app_info.first_steps[1]": "Telepítés után nyisd meg a plex.DOMAIN címet",
"app_info.first_steps[2]": "Kapcsold össze a Plex fiókoddat a szerverrel",
"app_info.first_steps[3]": "Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/shows)",
"app_info.first_steps[3]": "Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/tv)",
"app_info.first_steps[4]": "Telepítsd a Plex alkalmazást eszközeidre",
"app_info.prerequisites[0]": "Plex fiók szükséges (ingyenes regisztráció a plex.tv-n)",
"app_info.prerequisites[1]": "Külső HDD a médiafájlok tárolásához",
@@ -979,7 +979,7 @@
"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",
"app_info.first_steps[1]": "A Beállítások, Webes felhasználói felület oldalon állíts be saját jelszót",
"app_info.first_steps[2]": "A letöltések a meghajtódra kerülnek, a media/torrents mappába",
"app_info.first_steps[2]": "A letöltések a meghajtódra kerülnek, a media/torrents mappába. A Sonarr és a Radarr innen veszi át őket, külön hely nélkül",
"app_info.first_steps[3]": "Csak olyan tartalmat tölts le, amihez jogod van. A letöltés a háztartásod internetcíméről történik, és a torrent természetéből adódóan a többi résztvevő látja a címedet.",
"app_info.prerequisites[0]": "A letöltés a háztartásod internetkapcsolatát használja, és a feltöltés is onnan megy",
"app_info.prerequisites[1]": "Befelé irányuló kapcsolatot nem fogad, mert a doboz otthon egyetlen portot sem nyit. A letöltés ettől működik: mérve 34 forrás és 4 MB/s egy jól ellátott torrenten. Csak a kevés forrású torrentek lassabbak, és keveset tudsz visszatölteni. Ha szeretnéd, az alkalmazás saját beállításaiban te magad bekapcsolhatod a port-nyitást",
@@ -1001,11 +1001,13 @@
"description": "Torrent letöltő webes felülettel, a saját gépeden"
},
"radarr": {
"app_info.first_steps[0]": "Nyisd meg a radarr.DOMAIN címet a böngészőben",
"app_info.first_steps[1]": "Állíts be egy letöltő klienst (pl. qBittorrent)",
"app_info.first_steps[2]": "Add hozzá az indexereket (vagy használj Prowlarr-t)",
"app_info.first_steps[3]": "Állítsd be a gyökérmappát (/media/movies)",
"app_info.first_steps[4]": "Keress rá egy filmre és add hozzá a listádhoz",
"app_info.first_steps[0]": "Nyisd meg a radarr.DOMAIN címet, és hozd létre a saját belépésedet",
"app_info.first_steps[1]": "Letöltő kliens: Settings, Download Clients, +, qBittorrent. Host: qbittorrent, port: 8080, felhasználó: admin, jelszó: a qBittorrent oldalán a vezérlőpulton („Megjelenítés”), kategória: movies",
"app_info.first_steps[2]": "Vagy Transmission: host: transmission, port: 9091, URL Base: /transmission/, felhasználó: admin, jelszó: a Transmission oldalán a vezérlőpulton",
"app_info.first_steps[3]": "Add hozzá az indexereket (vagy használj Prowlarr-t)",
"app_info.first_steps[4]": "Gyökérmappa: a media/movies végű mappa (Settings, Media Management, Root Folders)",
"app_info.first_steps[5]": "Keress rá egy filmre és add hozzá a listádhoz",
"app_info.first_steps[6]": "Ha kész, a vezérlőpulton nyomd meg: „Kész, beállítottam”",
"app_info.prerequisites[0]": "Külső HDD szükséges a médiafájlok tárolásához",
"app_info.prerequisites[1]": "Letöltő kliens szükséges (pl. qBittorrent - külön telepítendő)",
"app_info.prerequisites[2]": "Indexer hozzáférés szükséges a kereséshez",
@@ -1177,11 +1179,13 @@
"description": "Média igénylés kezelő Jellyfin/Plex integrációval"
},
"sonarr": {
"app_info.first_steps[0]": "Nyisd meg a sonarr.DOMAIN címet a böngészőben",
"app_info.first_steps[1]": "Állíts be egy letöltő klienst (pl. qBittorrent)",
"app_info.first_steps[2]": "Add hozzá az indexereket (vagy használj Prowlarr-t)",
"app_info.first_steps[3]": "Állítsd be a gyökérmappát (/media/shows)",
"app_info.first_steps[4]": "Keress rá egy sorozatra és add hozzá a listádhoz",
"app_info.first_steps[0]": "Nyisd meg a sonarr.DOMAIN címet, és hozd létre a saját belépésedet",
"app_info.first_steps[1]": "Letöltő kliens: Settings, Download Clients, +, qBittorrent. Host: qbittorrent, port: 8080, felhasználó: admin, jelszó: a qBittorrent oldalán a vezérlőpulton („Megjelenítés”), kategória: tv",
"app_info.first_steps[2]": "Vagy Transmission: host: transmission, port: 9091, URL Base: /transmission/, felhasználó: admin, jelszó: a Transmission oldalán a vezérlőpulton",
"app_info.first_steps[3]": "Add hozzá az indexereket (vagy használj Prowlarr-t)",
"app_info.first_steps[4]": "Gyökérmappa: a media/tv végű mappa (Settings, Media Management, Root Folders)",
"app_info.first_steps[5]": "Keress rá egy sorozatra és add hozzá a listádhoz",
"app_info.first_steps[6]": "Ha kész, a vezérlőpulton nyomd meg: „Kész, beállítottam”",
"app_info.prerequisites[0]": "Külső HDD szükséges a médiafájlok tárolásához",
"app_info.prerequisites[1]": "Letöltő kliens szükséges (pl. qBittorrent - külön telepítendő)",
"app_info.prerequisites[2]": "Indexer hozzáférés szükséges a kereséshez",
@@ -1260,7 +1264,7 @@
"transmission": {
"app_info.default_creds": "admin / (telepítéskor generált jelszó)",
"app_info.first_steps[0]": "Nyisd meg a transmission.DOMAIN címet, és lépj be az admin névvel és a telepítéskor kapott jelszóval",
"app_info.first_steps[1]": "A kész letöltések a meghajtódon, a media/transmission/complete mappába kerülnek",
"app_info.first_steps[1]": "A kész letöltések a meghajtódon, a media/transmission/complete mappába kerülnek. A Sonarr és a Radarr innen veszi át őket, külön hely nélkül",
"app_info.first_steps[2]": "Csak olyan tartalmat tölts le, amihez jogod van. A letöltés a háztartásod internetcíméről történik, és a torrent természetéből adódóan a többi résztvevő látja a címedet.",
"app_info.prerequisites[0]": "A letöltés a háztartásod internetkapcsolatát használja, és a feltöltés is onnan megy",
"app_info.prerequisites[1]": "Befelé irányuló kapcsolatot nem fogad, mert a doboz otthon egyetlen portot sem nyit. A letöltés ettől működik: mérve 34 forrás és 4 MB/s egy jól ellátott torrenten. Csak a kevés forrású torrentek lassabbak, és keveset tudsz visszatölteni. Ha szeretnéd, az alkalmazás saját beállításaiban te magad bekapcsolhatod a port-nyitást",
+4 -4
View File
@@ -74,13 +74,13 @@ app_info:
- 'Nyisd meg a media.DOMAIN címet a böngészőben'
- 'Kövesd a beállítás varázslót - válaszd a magyar nyelvet'
- 'Hozd létre az admin fiókot'
- 'Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/shows)'
- 'Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/tv)'
- 'Telepítsd a Jellyfin alkalmazást a telefonodra vagy TV-dre'
prerequisites:
- 'Külső HDD szükséges a médiafájlok tárolásához'
- 'Legalább 2 GB szabad RAM ajánlott'
- 'Filmek és sorozatok mappákba rendezve (pl. /media/movies/, /media/shows/)'
- 'Filmek és sorozatok mappákba rendezve (pl. /media/movies/, /media/tv/)'
# --- Controller-side health probe ---
healthcheck:
@@ -109,12 +109,12 @@ i18n:
- 'Open media.DOMAIN in your browser'
- 'Follow the setup wizard - choose your language'
- 'Create the admin account'
- 'Add your libraries (films: /media/movies, series: /media/shows)'
- 'Add your libraries (films: /media/movies, series: /media/tv)'
- 'Install the Jellyfin app on your phone or TV'
prerequisites:
- 'An external hard drive is needed to keep the media files on'
- 'At least 2 GB of free RAM is recommended'
- 'Films and series sorted into folders (/media/movies/, /media/shows/)'
- 'Films and series sorted into folders (/media/movies/, /media/tv/)'
deploy_fields:
- env_var: DOMAIN
label: 'Domain'
+2 -2
View File
@@ -73,7 +73,7 @@ app_info:
- 'Generálj egy claim tokent a https://plex.tv/claim oldalon'
- 'Telepítés után nyisd meg a plex.DOMAIN címet'
- 'Kapcsold össze a Plex fiókoddat a szerverrel'
- 'Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/shows)'
- 'Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/tv)'
- 'Telepítsd a Plex alkalmazást eszközeidre'
prerequisites:
@@ -108,7 +108,7 @@ i18n:
- 'Generate a claim token at https://plex.tv/claim'
- 'After the install, open plex.DOMAIN'
- 'Connect your Plex account to the server'
- 'Add your libraries (films: /media/movies, series: /media/shows)'
- 'Add your libraries (films: /media/movies, series: /media/tv)'
- 'Install the Plex app on your devices'
prerequisites:
- 'A Plex account is needed (sign up free at plex.tv)'
+2 -2
View File
@@ -90,7 +90,7 @@ app_info:
first_steps:
- 'Nyisd meg a torrent.DOMAIN címet, és lépj be az admin névvel és a telepítéskor kapott jelszóval'
- 'A Beállítások, Webes felhasználói felület oldalon állíts be saját jelszót'
- 'A letöltések a meghajtódra kerülnek, a media/torrents mappába'
- 'A letöltések a meghajtódra kerülnek, a media/torrents mappába. A Sonarr és a Radarr innen veszi át őket, külön hely nélkül'
- 'Csak olyan tartalmat tölts le, amihez jogod van. A letöltés a háztartásod internetcíméről történik, és a torrent természetéből adódóan a többi résztvevő látja a címedet.'
prerequisites:
- 'A letöltés a háztartásod internetkapcsolatát használja, és a feltöltés is onnan megy'
@@ -142,7 +142,7 @@ i18n:
first_steps:
- 'Open torrent.DOMAIN and sign in as admin with the password generated at install'
- 'Set your own password on the Settings, Web UI page'
- 'Downloads land on your drive, in the media/torrents folder'
- 'Downloads land on your drive, in the media/torrents folder. Sonarr and Radarr take them from there without using extra space'
- 'Download only what you have the right to. Downloads go out from your household''s internet address, and by the nature of a torrent the other participants see that address.'
prerequisites:
- 'Downloading uses your household''s internet connection, and so does the uploading'
+21 -1
View File
@@ -73,6 +73,9 @@ services:
- QBT_TORRENTING_PORT=6881
- QBT_ADMIN_PASSWORD=${QBT_ADMIN_PASSWORD}
- QBT_PUBLIC_HOST=${SUBDOMAIN}.${DOMAIN}
# The download folder, at the SAME path inside the container as on the box (R-1014): Sonarr and Radarr see the
# file at exactly the path qBittorrent reports, and hardlink it into the library.
- QBT_SAVE_PATH=${USERDATA_PATH}/media/torrents
entrypoint:
- /bin/sh
- -c
@@ -82,10 +85,27 @@ services:
echo "[felhom] first boot - seeding qBittorrent config and the generated WebUI password"
mkdir -p /config/qBittorrent/config
HASH=$$(QBT_PW="$$QBT_ADMIN_PASSWORD" python3 -c "import base64,hashlib,os,sys; s=os.urandom(16); k=hashlib.pbkdf2_hmac('sha512', os.environ['QBT_PW'].encode('utf-8'), s, 100000, 64); sys.stdout.write('@ByteArray(%s:%s)' % (base64.b64encode(s).decode(), base64.b64encode(k).decode()))")
printf '%s\n' '[BitTorrent]' 'Session\DefaultSavePath=/downloads' 'Session\UseUPnP=false' 'Session\TempPath=/downloads/.temp' 'Session\TempPathEnabled=true' 'Session\Port=6881' '[Meta]' 'MigrationVersion=9999' '[Preferences]' 'WebUI\Username=admin' "WebUI\\Password_PBKDF2=\"$$HASH\"" 'WebUI\Port=8080' 'WebUI\Address=*' "WebUI\\ServerDomains=$$QBT_PUBLIC_HOST" 'WebUI\ReverseProxySupportEnabled=true' 'WebUI\TrustedReverseProxiesList=172.16.0.0/12' > "$$CONF"
printf '%s\n' '[BitTorrent]' "Session\\DefaultSavePath=$$QBT_SAVE_PATH" 'Session\UseUPnP=false' "Session\\TempPath=$$QBT_SAVE_PATH/.temp" 'Session\TempPathEnabled=true' 'Session\Port=6881' '[Meta]' 'MigrationVersion=9999' '[Preferences]' 'WebUI\Username=admin' "WebUI\\Password_PBKDF2=\"$$HASH\"" 'WebUI\Port=8080' 'WebUI\Address=*' "WebUI\\ServerDomains=$$QBT_PUBLIC_HOST" 'WebUI\ReverseProxySupportEnabled=true' 'WebUI\TrustedReverseProxiesList=172.16.0.0/12' > "$$CONF"
else
# An install from before 2026-10-14 saves to /downloads. Its old torrents keep that path (the bind below
# keeps it alive); only the DEFAULT for new downloads moves to the same-path folder. Before the app starts,
# because qBittorrent rewrites this file on exit.
python3 - "$$CONF" "$$QBT_SAVE_PATH" <<'PY'
import sys
p, d = sys.argv[1], sys.argv[2]
s = open(p).read()
n = s.replace('SavePath=/downloads\n', 'SavePath=' + d + '\n').replace('TempPath=/downloads/.temp\n', 'TempPath=' + d + '/.temp\n')
if n != s:
open(p, 'w').write(n)
print('[felhom] default save path moved from /downloads to ' + d)
PY
fi
exec /sbin/tini -g -- /entrypoint.sh
volumes:
# ONLY the download folder (operator ruling 2026-10-14, D9 = A with a limit): the app can never reach the
# family's photos, music or books. Same path inside as outside.
- ${USERDATA_PATH}/media/torrents:${USERDATA_PATH}/media/torrents
# The SAME folder under its old name, for torrents added before 2026-10-14 (their resume data names /downloads).
- ${USERDATA_PATH}/media/torrents:/downloads
- qbittorrent_config:/config
networks:
+15 -10
View File
@@ -22,10 +22,11 @@ resources:
# --- Backup classification (referential coupling; see felhom.eu documentation/audits/SPIKE-backup-classification-2026-07-14.md) ---
backup:
userdata:
- path: media/movies
class: excluded # re-downloadable by design
- path: downloads
class: excluded # ruled: transient queue (cross-app shared with sonarr)
# ONE bind, the whole media folder (R-1014). It is declared EXCLUDED: the family's photos, music and books under
# media/ are no app's data, and an unlisted writable bind would be classed MANDATORY: every tier, off-site too
# (measured 2026-10-14, felhom.eu audits/media-folder-fix-2026-10-14/B1). The library was excluded before too.
- path: media
class: excluded
# --- Deploy fields (first deployment only) ---
deploy_fields:
@@ -68,11 +69,13 @@ app_info:
- 'Metaadat és borítókép automatikus letöltés'
first_steps:
- 'Nyisd meg a radarr.DOMAIN címet a böngészőben'
- 'Állíts be egy letöltő klienst (pl. qBittorrent)'
- 'Nyisd meg a radarr.DOMAIN címet, és hozd létre a saját belépésedet'
- 'Letöltő kliens: Settings, Download Clients, +, qBittorrent. Host: qbittorrent, port: 8080, felhasználó: admin, jelszó: a qBittorrent oldalán a vezérlőpulton („Megjelenítés”), kategória: movies'
- 'Vagy Transmission: host: transmission, port: 9091, URL Base: /transmission/, felhasználó: admin, jelszó: a Transmission oldalán a vezérlőpulton'
- 'Add hozzá az indexereket (vagy használj Prowlarr-t)'
- 'Állítsd be a gyökérmappát (/media/movies)'
- 'Gyökérmappa: a media/movies végű mappa (Settings, Media Management, Root Folders)'
- 'Keress rá egy filmre és add hozzá a listádhoz'
- 'Ha kész, a vezérlőpulton nyomd meg: „Kész, beállítottam”'
prerequisites:
- 'Külső HDD szükséges a médiafájlok tárolásához'
@@ -103,11 +106,13 @@ i18n:
- 'Works with Jellyfin/Plex and with download clients'
- 'Details and cover art are fetched on their own'
first_steps:
- 'Open radarr.DOMAIN in your browser'
- 'Set up a download client (qBittorrent, for example)'
- 'Open radarr.DOMAIN and create your own sign-in'
- 'Download client: Settings, Download Clients, +, qBittorrent. Host: qbittorrent, port: 8080, user: admin, password: on the qBittorrent page of the dashboard („Show”), category: movies'
- 'Or Transmission: host: transmission, port: 9091, URL Base: /transmission/, user: admin, password: on the Transmission page of the dashboard'
- 'Add your indexers (or use Prowlarr)'
- 'Set the root folder (/media/movies)'
- 'Root folder: the folder that ends in media/movies (Settings, Media Management, Root Folders)'
- 'Search for a film and add it to your list'
- 'When you are done, press „Done, I set it up” on the dashboard'
prerequisites:
- 'An external hard drive is needed to keep the media files on'
- 'A download client is needed (qBittorrent, for example - installed separately)'
+23 -5
View File
@@ -7,9 +7,15 @@
# DOMAIN - Your domain (e.g., demo-felhom.eu)
# USERDATA_PATH - Ügyfél-tartalom gyökér (<namespace>/userdata)
#
# Storage layout (felhom userdata convention):
# Filmtár → ${USERDATA_PATH}/media/movies (írható)
# Letöltések → ${USERDATA_PATH}/downloads (SIBLING of media — same FS → hardlink/atomic move)
# Storage layout (felhom userdata convention, R-1014, operator ruling 2026-10-14 D9 = A with a limit):
# ONE bind: ${USERDATA_PATH}/media at the SAME path inside the container as on the box.
# Filmtár → ${USERDATA_PATH}/media/movies
# Downloads → ${USERDATA_PATH}/media/torrents (qBittorrent) or media/transmission (Transmission);
# the download app reports exactly this path, so no path translation is needed.
# Why ONE bind: two bind mounts are two mount points, and link(2) answers EXDEV between them even on one
# filesystem: the import would be a full copy (measured, felhom.eu audits/media-all-drives-2026-10-14/S1).
# Inside one mount the import is a hardlink: one file, two names, no extra space.
# The download apps see ONLY their own download folder; this app sees the media folder because it must.
# Run-identity: PUID/PGID 1000 (shared content group); UMASK=002 → group-writable output so
# the media server + FileBrowser can manage the files radarr produces.
@@ -18,6 +24,19 @@ services:
image: lscr.io/linuxserver/radarr:6.4.4
container_name: radarr
restart: unless-stopped
# R-1030: on the FIRST start only, the settings file is seeded with „Authentication Required: Enabled", so the
# first-admin form offers „Enabled": not „Disabled for Local Addresses", which lets every device on the home
# network and every other container on the box in without a sign-in, the API key included (measured
# 2026-10-14). 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 '<Config>\n <AuthenticationRequired>Enabled</AuthenticationRequired>\n</Config>\n' > /config/config.xml
echo "[felhom] first start - AuthenticationRequired=Enabled seeded"
fi
exec /init
environment:
- TZ=Europe/Budapest
- PUID=1000
@@ -25,8 +44,7 @@ services:
- UMASK=002
volumes:
- radarr_config:/config
- ${USERDATA_PATH}/media/movies:/media/movies
- ${USERDATA_PATH}/downloads:/downloads
- ${USERDATA_PATH}/media:${USERDATA_PATH}/media
networks:
- traefik-public
deploy:
+14 -9
View File
@@ -22,9 +22,10 @@ resources:
# --- Backup classification (referential coupling; see felhom.eu documentation/audits/SPIKE-backup-classification-2026-07-14.md) ---
backup:
userdata:
- path: media/tv
class: excluded
- path: downloads
# ONE bind, the whole media folder (R-1014). It is declared EXCLUDED: the family's photos, music and books under
# media/ are no app's data, and an unlisted writable bind would be classed MANDATORY: every tier, off-site too
# (measured 2026-10-14, felhom.eu audits/media-folder-fix-2026-10-14/B1). The library was excluded before too.
- path: media
class: excluded
# --- Deploy fields (first deployment only) ---
@@ -68,11 +69,13 @@ app_info:
- 'Felirat automatikus letöltés'
first_steps:
- 'Nyisd meg a sonarr.DOMAIN címet a böngészőben'
- 'Állíts be egy letöltő klienst (pl. qBittorrent)'
- 'Nyisd meg a sonarr.DOMAIN címet, és hozd létre a saját belépésedet'
- 'Letöltő kliens: Settings, Download Clients, +, qBittorrent. Host: qbittorrent, port: 8080, felhasználó: admin, jelszó: a qBittorrent oldalán a vezérlőpulton („Megjelenítés”), kategória: tv'
- 'Vagy Transmission: host: transmission, port: 9091, URL Base: /transmission/, felhasználó: admin, jelszó: a Transmission oldalán a vezérlőpulton'
- 'Add hozzá az indexereket (vagy használj Prowlarr-t)'
- 'Állítsd be a gyökérmappát (/media/shows)'
- 'Gyökérmappa: a media/tv végű mappa (Settings, Media Management, Root Folders)'
- 'Keress rá egy sorozatra és add hozzá a listádhoz'
- 'Ha kész, a vezérlőpulton nyomd meg: „Kész, beállítottam”'
prerequisites:
- 'Külső HDD szükséges a médiafájlok tárolásához'
@@ -103,11 +106,13 @@ i18n:
- 'Works with Jellyfin/Plex and with download clients'
- 'Subtitles are fetched on their own'
first_steps:
- 'Open sonarr.DOMAIN in your browser'
- 'Set up a download client (qBittorrent, for example)'
- 'Open sonarr.DOMAIN and create your own sign-in'
- 'Download client: Settings, Download Clients, +, qBittorrent. Host: qbittorrent, port: 8080, user: admin, password: on the qBittorrent page of the dashboard („Show”), category: tv'
- 'Or Transmission: host: transmission, port: 9091, URL Base: /transmission/, user: admin, password: on the Transmission page of the dashboard'
- 'Add your indexers (or use Prowlarr)'
- 'Set the root folder (/media/shows)'
- 'Root folder: the folder that ends in media/tv (Settings, Media Management, Root Folders)'
- 'Search for a series and add it to your list'
- 'When you are done, press „Done, I set it up” on the dashboard'
prerequisites:
- 'An external hard drive is needed to keep the media files on'
- 'A download client is needed (qBittorrent, for example - installed separately)'
+23 -5
View File
@@ -7,9 +7,15 @@
# DOMAIN - Your domain (e.g., demo-felhom.eu)
# USERDATA_PATH - Ügyfél-tartalom gyökér (<namespace>/userdata)
#
# Storage layout (felhom userdata convention):
# Sorozattár → ${USERDATA_PATH}/media/tv (írható)
# Letöltések → ${USERDATA_PATH}/downloads (SIBLING of media — same FS → hardlink/atomic move)
# Storage layout (felhom userdata convention, R-1014, operator ruling 2026-10-14 D9 = A with a limit):
# ONE bind: ${USERDATA_PATH}/media at the SAME path inside the container as on the box.
# Sorozattár → ${USERDATA_PATH}/media/tv
# Downloads → ${USERDATA_PATH}/media/torrents (qBittorrent) or media/transmission (Transmission);
# the download app reports exactly this path, so no path translation is needed.
# Why ONE bind: two bind mounts are two mount points, and link(2) answers EXDEV between them even on one
# filesystem: the import would be a full copy (measured, felhom.eu audits/media-all-drives-2026-10-14/S1).
# Inside one mount the import is a hardlink: one file, two names, no extra space.
# The download apps see ONLY their own download folder; this app sees the media folder because it must.
# Run-identity: PUID/PGID 1000 (shared content group); UMASK=002 → group-writable output.
services:
@@ -17,6 +23,19 @@ services:
image: lscr.io/linuxserver/sonarr:4.0.20
container_name: sonarr
restart: unless-stopped
# R-1030: on the FIRST start only, the settings file is seeded with „Authentication Required: Enabled", so the
# first-admin form offers „Enabled": not „Disabled for Local Addresses", which lets every device on the home
# network and every other container on the box in without a sign-in, the API key included (measured
# 2026-10-14). 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 '<Config>\n <AuthenticationRequired>Enabled</AuthenticationRequired>\n</Config>\n' > /config/config.xml
echo "[felhom] first start - AuthenticationRequired=Enabled seeded"
fi
exec /init
environment:
- TZ=Europe/Budapest
- PUID=1000
@@ -24,8 +43,7 @@ services:
- UMASK=002
volumes:
- sonarr_config:/config
- ${USERDATA_PATH}/media/tv:/media/tv
- ${USERDATA_PATH}/downloads:/downloads
- ${USERDATA_PATH}/media:${USERDATA_PATH}/media
networks:
- traefik-public
deploy:
+5 -2
View File
@@ -40,6 +40,9 @@ backup:
userdata:
- path: media/transmission
class: optional # the downloads themselves - large, and fetchable again
- path: media/transmission/watch
class: optional # .torrent files dropped in to start them; before 2026-10-14 this bind was unlisted
# and so MANDATORY - it went off-site (R-1019)
# --- Customer-facing folder annotation (R-75) ---
data_paths:
@@ -91,7 +94,7 @@ app_info:
- 'Ha a teljes vezérlést szeretnéd (sorok, ütemezés, részletes szabályok), a qBittorrent az erősebb választás'
first_steps:
- 'Nyisd meg a transmission.DOMAIN címet, és lépj be az admin névvel és a telepítéskor kapott jelszóval'
- 'A kész letöltések a meghajtódon, a media/transmission/complete mappába kerülnek'
- 'A kész letöltések a meghajtódon, a media/transmission/complete mappába kerülnek. A Sonarr és a Radarr innen veszi át őket, külön hely nélkül'
- 'Csak olyan tartalmat tölts le, amihez jogod van. A letöltés a háztartásod internetcíméről történik, és a torrent természetéből adódóan a többi résztvevő látja a címedet.'
prerequisites:
- 'A letöltés a háztartásod internetkapcsolatát használja, és a feltöltés is onnan megy'
@@ -116,7 +119,7 @@ i18n:
- 'If you want full control (queues, scheduling, detailed rules), qBittorrent is the stronger choice'
first_steps:
- 'Open transmission.DOMAIN and sign in as admin with the password generated at install'
- 'Finished downloads land on your drive, in the media/transmission/complete folder'
- 'Finished downloads land on your drive, in the media/transmission/complete folder. Sonarr and Radarr take them from there without using extra space'
- 'Download only what you have the right to. Downloads go out from your household''s internet address, and by the nature of a torrent the other participants see that address.'
prerequisites:
- 'Downloading uses your household''s internet connection, and so does the uploading'
+12 -1
View File
@@ -56,6 +56,9 @@ services:
# browser, which a request from inside the container is not.
- HOST_WHITELIST=${SUBDOMAIN}.${DOMAIN},localhost,127.0.0.1
- PEERPORT=51413
# The download folder, at the SAME path inside the container as on the box (R-1014): Sonarr and Radarr see the
# file at exactly the path Transmission reports, and hardlink it into the library.
- TR_DL=${USERDATA_PATH}/media/transmission
# The image's init copies /defaults/settings.json on first boot and then patches only what the
# env vars name. `port-forwarding-enabled` is NOT one of them and Transmission's own default is
# TRUE - the app asks the household's router for a forwarded port (read on 9202 2026-10-12:
@@ -69,9 +72,17 @@ services:
if [ ! -f "$$CONF" ]; then
cp /defaults/settings.json "$$CONF"
fi
jq '.["port-forwarding-enabled"] = false' "$$CONF" > /tmp/s.json && mv /tmp/s.json "$$CONF"
# The default folders live at the same path as on the box. A fresh config (/defaults: /downloads/complete) and
# an install from before 2026-10-14 are moved the same way; a folder the household chose elsewhere is kept.
# Old torrents keep /downloads/... in their own resume data, and the bind below keeps that path alive.
jq --arg d "$$TR_DL" '.["port-forwarding-enabled"] = false
| (.["download-dir"], .["incomplete-dir"]) |= (if startswith("/downloads") then $$d + .[10:] else . end)' "$$CONF" > /tmp/s.json && mv /tmp/s.json "$$CONF"
exec /init
volumes:
# ONLY the download folder (operator ruling 2026-10-14, D9 = A with a limit): the app can never reach the
# family's photos, music or books. Same path inside as outside.
- ${USERDATA_PATH}/media/transmission:${USERDATA_PATH}/media/transmission
# The SAME folder under its old name, for torrents added before 2026-10-14 (their resume data names /downloads).
- ${USERDATA_PATH}/media/transmission:/downloads
# Dropping a .torrent file into this folder starts it - the household sees the folder in the
# file browser. The image watches /watch and logs an error when it does not exist.