gates / gates (push) Successful in 7m4s
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
P1b — resetting FileBrowser's admin password WITHOUT the old one (spike, demo-hp guest 9201 only, 2026-10-16)
Verdict: a safe reset exists. Built.
The mechanism, read at the pinned tag
gtstef/filebrowser:1.5.6-stable = gtsteffaniak/filebrowser tag v1.5.6-stable (5d9b4df).
- CLI
filebrowser set -u <user>,<password> -c <config>—backend/cmd/cli.go:60-67(the flag set),:117-126(dispatch),:206-269setUser: an existing user getsuser.Password = password, its TOTP secret cleared, andstore.Users.Save(user, true, false)(hashes the password). It needs NO old password. - It opens the database with
storm.Open(path)(backend/database/storage/storage.go:26) with no timeout: while the server runs, the bolt lock is held and the CLI would wait forever. So the server is STOPPED for the CLI, and the CLI runs in a one-shot container with the running container's volumes (docker run --rm --volumes-from filebrowser). - Not chosen:
FILEBROWSER_ADMIN_PASSWORD/auth.adminPassword(backend/common/settings/config.go:923-926, applied inbackend/cmd/user.go:50-57validateUserInfo) — it re-applies on EVERY start (R-513 measured the same on 1.3.3), so it would need a compose change plus two recreates, and the value would sit in the container env.
Measured (spike-step1.txt, spike-step2.txt, spike-step3.txt, spike-cleanup.txt; script fbspike.sh)
- State
operator, password unknown (R-513 left it 2026-09-15). A DB backup copied first. - Reset to K1 with the server stopped: CLI rc 0, „successfully updated user", healthy 7 s after the stop; K1 → 200.
- A test user and a test share made as K1 (user 201, share 200). Settings hash
12a6170ac405fa72. - Reset to K2 without K1: K2 → 200, K1 → 401, admin/admin → 401; users
admin+fbspike, the share, and the settings hash unchanged. - Test user and share deleted (200/200).
Passwords were generated on DooPlex (16 letters and digits — never a comma, which the CLI's user,password form would
split on), sent as files (0600), used from files, and never printed. The CLI carries the password on its command line
for about one second inside the guest; this is the only exposure and it is inside the household's own box.
After the spike demo-hp's FileBrowser password is K2 (kept out-of-band in the session scratchpad) and the controller
still records operator — the built button replaces it (Part 1b build).