Prowlarr into the live catalog, with its complete onboarding record (R-1048)
gates / gates (push) Successful in 3s
gates / gates (push) Successful in 3s
- templates/prowlarr: lscr.io/linuxserver/prowlarr:version-2.6.5.5623 (published 2026-10-07), config volume only (important), 512M, setup gate; the first start seeds AuthenticationRequired=Enabled (R-1030) and AnalyticsEnabled=False (on by default, measured). The ladder entry 2.5.2.5491 -> 2.6.5.5623 is proven on the bench and on 9202 (run 3, the full template). - The copy says when the box links Prowlarr to Sonarr/Radarr by itself and when the household presses „Bekötés most". - onboarding/prowlarr.md: 61 checks done or n/a; evidence in felhom.eu documentation/audits/prowlarr-2026-10-15/. - ProwlarrBox fixture; README + FIRST-ADMIN rows; copy freeze admission. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
1 parent
3ff0cf35d3
commit
73b45a69e7
9 files changed
+376
-8
No files matched your search
@@ -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",
|
||||
|
||||
@@ -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"<ApiKey>([0-9a-fA-F]{20,})</ApiKey>", 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(),
|
||||
|
||||
Reference in new issue
Block a user