02 "Logins and folders" [DESIGN]: an infra stack is part of the box on the app page; one login answer per installed app (catalog app_info.login_kind); FileBrowser's new-password press (its CLI, server stopped); "Fájlok ↗" and the per-drive media folders, a folder with no source is text. Register 176 -> 179. STATUS: look at FileBrowser, RomM and Plex on demo-hp; say yes for the N100's press; decision D10 (R-1102). Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
P0 — why FileBrowser showed „Telepítés" and lost its password (2026-10-16, read only)
Method: source read (controller main 39bf562 = v0.319.0) + the live page through
https://felhom.enkisfelhom.hu (curl, logged in) + names/states read with pct exec 9201 on both boxes.
No value of any secret was read or printed; only the state word of filebrowser_admin_state.
1. Why /apps/filebrowser renders as not installed, with an Install button
- FileBrowser is base infrastructure:
stacks/infra.goEnsureBaseStackwrites/opt/docker/stacks/filebrowser/(compose + config.yaml) and starts it. It never writesapp.yaml. stacks/manager.goScanStackslists every dir under the stacks dir with a compose file. FileBrowser is in the list withDeployed = appCfg != nil && appCfg.Deployed= false (no app.yaml) andProtected = true. Its metadata is the no-.felhom.ymldefault (Slug = "filebrowser", DisplayName „Filebrowser").- Every other surface already counts
Deployed || Protectedas „on the box" (dashboard, launcher, app list —handlers.go~154/315/361,stacks.htmlL30/L76). The v0.315.0 app page (e66d466) usesfound.Deployedonly (web/app_page.goappPageHandler): not deployed → no tab bar, the guide tab is the whole page, and the guide renders the Install CTA (app_guide.htmlL45,canInstallis true for metadata with no lifecycle). - The R-513 block in
appCommonData(handlers.go ~L856) still setsInitialCredsfor FileBrowser — but the new page showsInitialCredsonly on the SETTINGS tab, which a „not deployed" app never reaches. The oldapp_info.htmlrendered{{if .InitialCreds}}without a Deployed gate; that is how it showed before. - Commit that changed it:
e66d466(v0.315.0, one app page with four tabs). - Extra finding:
DeployStackhas NO protected-stack guard (it refuses only Deployed / not installable). The Install button led to a wizard whose POST would have deployed the infra stack as an app. Guarded in this task.
Live confirmation (demo-hp 9201, controller 0.319.0): demo-hp-apps-filebrowser-markers.txt — the page carries
data-install-cta, „Telepítés", no data-tab, no initcred.
2. FileBrowser admin state (state word only) — P0-state.txt
| box | state | decided at |
|---|---|---|
| demo-hp 9201 | operator |
2026-09-15T08:52:10Z |
| demo-felhom 9201 (N100, lived-in) | operator |
2026-09-16T15:37:26Z |
Both boxes: nobody knows the password (R-513 found admin/admin refused and left it).
3. FileBrowser sources (rendered config.yaml) — P0-state.txt
| box | drive source | import | kept |
|---|---|---|---|
| demo-hp | NVME 1TB → /srv/hdd_1 = /mnt/felhom-drives/hdd_1/userdata |
Beolvasás |
Megőrzött adatok |
| demo-felhom | Külső tárhely (hdd_1) → /srv/hdd_1 = /mnt/felhom-drives/hdd_1/userdata |
Beolvasás |
Megőrzött adatok |
Each box has ONE drive. The drive source root is the drive's userdata/, so media/ and every
media/<movies|tv|music|torrents|transmission|…> folder is reachable as <drive source>/media/<sub> — measured: the
folders exist on both boxes (ls /mnt/felhom-drives/hdd_1/userdata/media/). Source names come from the storage
path's label, else the mount basename — the same rule fbSourceNameForApp uses, so the link builder and the
sidebar agree by construction.