decisions 44-45, FIRST-ADMIN link, register (R-701/R-702 closed, R-707..R-709), STATUS, report, evidence
gates / gates (push) Successful in 26s

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:
adminandClaude Opus 5.5 committed 2026-09-28 19:02:06 +02:00
1 parent aedaab8944
commit 56d6de9808
42 files changed
+653 -27

No files matched your search

@@ -0,0 +1,10 @@
BEFORE: default password works:
test password: generated in the guest, length 24, not printed
FELHOM_AFTER_INSTALL_OK
AFTER: default password works:
AFTER: the new password works:
control: a wrong password:
after the change: the default password claper works: ANS=false
control: a wrong password works: ANS=false
@@ -0,0 +1,2 @@
before: gitea.dooplex.hu/admin/felhom-controller:0.277.0
gitea.dooplex.hu/admin/felhom-controller:0.279.0 Up 25 seconds (healthy)
@@ -0,0 +1,12 @@
app page shows a first password for ADMIN_PASSWORD: True length 30
app page: default-login card shown: False | known-login warning shown: False
NEGATIVE the known default admin@claper.co / claper: ANS=false
POSITIVE the generated first password from the app page: ANS=true
CONTROL a wrong password: ANS=false
after_install:
at: "2026-09-28T16:43:07Z"
ok: true
control: /apps/claper loaded: 44661 bytes, has the tagline: True | has the first-steps line: True
default-login card (Alapértelmezett belépés) shown: False
@@ -0,0 +1,17 @@
before the restore: the page shows a first password: True
18:45:38 [R] restoring claper from snapshot 'helyi' (of 1 offered)
18:45:38 [R] POST /backup/restore -> HTTP/2 302 ['location: /backups/restore?flash=flash.restore.started']
18:45:38 + 0.0s restore (True, None, None)
18:46:06 + 28.4s restore (False, None, None)
18:46:06 [R] after restore: state=running hold=None phase=None
restore: {'ok': True, 'http': 'HTTP/2 302', 'seconds': 28.4, 'state_after': 'running'}
after the restore: the page shows a password value: True | same as before: True
after the restore: the page says the backup's login is the one that works: False
NEGATIVE the known default: ANS=false
the first password from BEFORE the restore: ANS=true
CONTROL wrong: ANS=false
after_install:
at: "2026-09-28T16:43:07Z"
ok: true
@@ -0,0 +1,8 @@
bookstack admin@admin.com / password : 302 -> / | control wrong: 302 -> /login
calibre-web admin / admin123 : 302 -> / | control wrong: 200 ->
romm admin / admin (POST /api/login) : 401 | control wrong: 401
bookstack | page bytes 43697 | warning: Ez az alkalmazás egy ismert, közös jelszóval indul: admin@admin.com / password. Telepítés után azonnal változtasd meg.
calibre-web | page bytes 42081 | warning: Ez az alkalmazás egy ismert, közös jelszóval indul: admin / admin123. Telepítés után azonnal változtasd meg.
romm | page bytes 41671 | warning: Ez az alkalmazás egy ismert, közös jelszóval indul: admin / admin. Telepítés után azonnal változtasd meg.
docmost | page bytes 43690 | warning: None
@@ -0,0 +1,4 @@
## 2026-09-28T16:46:28Z floor 0.278.0 -> 0.279.0 (min_agent 0.131.0 from the v0.279.0 header)
HTTP/1.1 303 See Other
Location: /configuration?flash=floor_set
name="min_controller_version" value="0.279.0"
@@ -0,0 +1,9 @@
BEFORE: default admin@admin.com / password -> 302->/ | control wrong -> 302->/login
--email[=EMAIL] The email address for the new admin user
--name[=NAME] The name of the new admin user
--password[=PASSWORD] The password to assign to the new admin user
--generate-password Generate a random password for the new admin user
--initial Indicate if this should set/update the details of the initial admin user
command output: The default admin user has been updated with the provided details!
AFTER: default -> 302->/login | new -> 302->/ | control wrong -> 302->/login
@@ -0,0 +1,10 @@
app page shows a first password: True
app page loaded: True | default-login card shown: False | warning shown: False
NEGATIVE the known default admin@admin.com / password: 302->/login
POSITIVE the generated first password: 302->/
CONTROL wrong: 302->/login
after_install:
at: "2026-09-28T16:53:15Z"
ok: true
@@ -0,0 +1,24 @@
BEFORE: default admin / admin123 -> 302->/ | control wrong -> 200->
uid=1000(abc) gid=1000(abc) groups=1000(abc),100(users)
-rw-r--r-- 1 1000 1000 200704 Sep 28 18:55 /config/app.db
command output: [2026-09-28 18:56:04,711] INFO {cps:92} ProxyFix configured to trust 1 proxy(ies) for X-Forwarded-* headers [2026-09-28 18:56:04,789] INFO {cps.ub:1066} Migrating system magic shelves... [2026-09-28 18:56:04,935] INFO {cps:140} SESSION_COOKIE_SECURE set to False (Standard/LDAP login) Password doe
AFTER: default -> 302->/ | new -> 200-> | control wrong -> 200->
Password doesn't comply with password validation rules
/app/calibre-web-automated/cps/helper.py:796:def valid_password(check_password):
/app/calibre-web-automated/cps/helper.py-797- if config.config_password_policy:
/app/calibre-web-automated/cps/helper.py-798- verify = ""
/app/calibre-web-automated/cps/helper.py-799- if config.config_password_min_length > 0:
/app/calibre-web-automated/cps/helper.py-800- verify += r"^(?=.{" + str(config.config_password_min_length) + ",}$)"
/app/calibre-web-automated/cps/helper.py-801- if config.config_password_number:
/app/calibre-web-automated/cps/helper.py-802- verify += r"(?=.*?\d)"
/app/calibre-web-automated/cps/helper.py-803- if config.config_password_lower:
/app/calibre-web-automated/cps/helper.py-804- verify += r"(?=.*?[\p{Ll}])"
/app/calibre-web-automated/cps/helper.py-805- if config.config_password_upper:
/app/calibre-web-automated/cps/helper.py-806- verify += r"(?=.*?[\p{Lu}])"
/app/calibre-web-automated/cps/helper.py-807- if config.config_password_character:
/app/calibre-web-automated/cps/helper.py-808- verify += r"(?=.*?[\p{Letter}])"
/app/calibre-web-automated/cps/helper.py-809- if config.config_password_special:
/app/calibre-web-automated/cps/helper.py-810- verify += r"(?=.*?[^\p{Letter}\s0-9])"
@@ -0,0 +1,18 @@
18:56:57 [X] stop -> 200 {'ok': True, 'message': 'Stack calibre-web stop completed'}
18:57:02 [X] remove (with drive data) -> 409 {'ok': False, 'error': 'A(z) /mnt/felhom-drives/scratch_hdd/userdata/calibre-web tárhely jelenleg nem elérhető — az alkalmazás nem távolítható el, amíg a meghaj
18:57:02 [X] refused because the drive path cannot be resolved (R-442, fail-closed and right) — removing the app and KEEPING the drive data instead
18:57:29 [X] remove (keeping drive data) -> 200 {'ok': True, 'data': {'removed': 'calibre-web', 'volumes_removed': ['calibre-web_calibre_web_config'], 'hdd_paths_removed': [], 'hdd_paths_preserved': [], 'back
18:57:37 [X] after remove: deployed=False leftovers='/opt/docker/stacks/calibre-web'
felhom-controller filebrowser paperless-postgres paperless-redis paperless-webserver privatebin traefik
0
git:
branch: main
repo_url: https://gitea.dooplex.hu/admin/app-catalog-felhom.eu.git
sync_interval: 15m
token: <redacted>
username: ""
hub:
0
drill = live ccd17da
@@ -0,0 +1,20 @@
# Read-only: one login attempt per app with its KNOWN catalog default, through the app's own login form,
# from inside the guest to traefik (https://127.0.0.1, Host header). A wrong-password control per app.
set -u
DOM=enkisfelhom.hu
J=/tmp/b3jar.$$
try_bookstack() { # $1 password
rm -f $J; T=$(curl -sk -c $J -b $J -H "Host: wiki.$DOM" https://127.0.0.1/login | grep -o 'name="_token" value="[^"]*"' | head -1 | sed 's/.*value="//;s/"$//')
curl -sk -o /dev/null -w '%{http_code} -> %{redirect_url}' -c $J -b $J -H "Host: wiki.$DOM" -X POST --data-urlencode "_token=$T" --data-urlencode "email=admin@admin.com" --data-urlencode "password=$1" https://127.0.0.1/login | sed "s|https\?://[^/]*||"
}
try_calibre() {
rm -f $J; T=$(curl -sk -c $J -b $J -H "Host: books.$DOM" https://127.0.0.1/login | grep -o 'name="csrf_token" value="[^"]*"' | head -1 | sed 's/.*value="//;s/"$//')
curl -sk -o /dev/null -w '%{http_code} -> %{redirect_url}' -c $J -b $J -H "Host: books.$DOM" -X POST --data-urlencode "csrf_token=$T" --data-urlencode "username=admin" --data-urlencode "password=$1" --data-urlencode "remember_me=on" https://127.0.0.1/login | sed "s|https\?://[^/]*||"
}
try_romm() {
curl -sk -o /dev/null -w '%{http_code}' -u "admin:$1" -H "Host: jatek.$DOM" -X POST https://127.0.0.1/api/login
}
echo "bookstack admin@admin.com / password : $(try_bookstack password) | control wrong: $(try_bookstack wrongxyz123)"
echo "calibre-web admin / admin123 : $(try_calibre admin123) | control wrong: $(try_calibre wrongxyz123)"
echo "romm admin / admin (POST /api/login) : $(try_romm admin) | control wrong: $(try_romm wrongxyz123)"
rm -f $J
@@ -0,0 +1,12 @@
set -u
DOM=enkisfelhom.hu; J=/tmp/bsjar.$$
login() { rm -f $J; T=$(curl -sk -c $J -b $J -H "Host: c-bs.$DOM" https://127.0.0.1/login | grep -o 'name="_token" value="[^"]*"' | head -1 | sed 's/.*value="//;s/"$//')
curl -sk -o /dev/null -w '%{http_code}->%{redirect_url}' -c $J -b $J -H "Host: c-bs.$DOM" -X POST --data-urlencode "_token=$T" --data-urlencode "email=admin@admin.com" --data-urlencode "password=$1" https://127.0.0.1/login | sed "s|https\?://[^/]*||"; }
for i in $(seq 1 30); do [ "$(curl -sk -o /dev/null -w '%{http_code}' -H "Host: c-bs.$DOM" https://127.0.0.1/login)" = 200 ] && break; sleep 5; done
echo "BEFORE: default admin@admin.com / password -> $(login password) | control wrong -> $(login wrongxyz123)"
docker exec bookstack sh -c 'php /app/www/artisan bookstack:create-admin --help 2>&1 | grep -E "initial|email|password|name" | head -8'
NEWPW=$(head -c 300 /dev/urandom | tr -dc A-Za-z0-9 | head -c 24)
OUT=$(docker exec bookstack php /app/www/artisan bookstack:create-admin --email=admin@admin.com --name=Admin --password="$NEWPW" --initial 2>&1)
echo "command output: $(echo "$OUT" | tr '\n' ' ' | cut -c1-200)"
echo "AFTER: default -> $(login password) | new -> $(login "$NEWPW") | control wrong -> $(login wrongxyz123)"
unset NEWPW; rm -f $J
@@ -0,0 +1,12 @@
set -u
DOM=enkisfelhom.hu; J=/tmp/cwjar.$$
login() { rm -f $J; T=$(curl -sk -c $J -b $J -H "Host: c-cw.$DOM" https://127.0.0.1/login | grep -o 'name="csrf_token" value="[^"]*"' | head -1 | sed 's/.*value="//;s/"$//')
curl -sk -o /dev/null -w '%{http_code}->%{redirect_url}' -c $J -b $J -H "Host: c-cw.$DOM" -X POST --data-urlencode "csrf_token=$T" --data-urlencode "username=admin" --data-urlencode "password=$1" https://127.0.0.1/login | sed "s|https\?://[^/]*||"; }
for i in $(seq 1 40); do [ "$(curl -sk -o /dev/null -w '%{http_code}' -H "Host: c-cw.$DOM" https://127.0.0.1/login)" = 200 ] && break; sleep 5; done
echo "BEFORE: default admin / admin123 -> $(login admin123) | control wrong -> $(login wrongxyz123)"
docker exec calibre-web sh -c 'id abc 2>&1 | head -1; ls -ln /config/app.db'
NEWPW=$(head -c 300 /dev/urandom | tr -dc A-Za-z0-9 | head -c 24)
OUT=$(docker exec -u abc calibre-web sh -c "cd /app/calibre-web-automated && python3 cps.py -p /config/app.db -s admin:$NEWPW" 2>&1; echo "rc=$?")
echo "command output: $(echo "$OUT" | tr '\n' ' ' | sed "s/$NEWPW/<redacted>/g" | cut -c1-300)"
echo "AFTER: default -> $(login admin123) | new -> $(login "$NEWPW") | control wrong -> $(login wrongxyz123)"
unset NEWPW; rm -f $J
@@ -0,0 +1,5 @@
set -u
AUTH='IO.puts("ANS=#{Claper.Accounts.get_user_by_email_and_password("admin@claper.co", "PW") != nil}")'
auth() { docker exec -e ELIXIR_ERL_OPTIONS=+fnu claper /app/bin/claper rpc "${AUTH//PW/$1}" 2>&1 | grep -o 'ANS=[a-z]*'; }
echo "after the change: the default password claper works: $(auth claper)"
echo "control: a wrong password works: $(auth wrongxyz)"
@@ -0,0 +1,16 @@
set -u
# Elixir code files inside the container, so no shell quoting reaches the code.
docker exec claper sh -c 'cat > /tmp/felhom_auth.exs' <<'EXS'
IO.puts("ANS=#{Claper.Accounts.get_user_by_email_and_password("admin@claper.co", System.get_env("P") || "") != nil}")
EXS
auth() { docker exec -e ELIXIR_ERL_OPTIONS=+fnu claper sh -c "/app/bin/claper rpc \"$(docker exec claper cat /tmp/felhom_auth.exs | sed "s/System.get_env(\"P\") || \"\"/\"$1\"/")\"" 2>&1 | grep -o 'ANS=[a-z]*'; }
echo "BEFORE: default password works: $(auth claper)"
NEWPW=$(head -c 300 /dev/urandom | tr -dc A-Za-z0-9 | head -c 24)
echo "test password: generated in the guest, length ${#NEWPW}, not printed"
CODE='u = Claper.Accounts.get_user_by_email("admin@claper.co"); r = if u, do: Claper.Accounts.update_user_password(u, "claper", %{password: "PW", password_confirmation: "PW"}), else: :no_default_admin; case r do {:ok, _} -> IO.puts("FELHOM_AFTER_INSTALL_OK"); other -> IO.puts("FELHOM_AFTER_INSTALL_FAILED #{inspect(other, limit: 3)}") end'
docker exec -e ELIXIR_ERL_OPTIONS=+fnu claper /app/bin/claper rpc "${CODE//PW/$NEWPW}" 2>&1 | grep -o 'FELHOM_AFTER_INSTALL_[A-Z]*.*' | cut -c1-200
echo "AFTER: default password works: $(auth claper)"
echo "AFTER: the new password works: $(auth "$NEWPW")"
echo "control: a wrong password: $(auth wrongxyz)"
docker exec claper rm -f /tmp/felhom_auth.exs
unset NEWPW
@@ -0,0 +1,20 @@
## 2026-09-28T14:25:22Z Part C — demo-hp restore_storage local-lvm -> nvme-scratch (decision 44)
-rw------- 1 felhom-agent felhom-agent 2451 Sep 24 21:57 /etc/felhom-agent/agent
restore_storage: local-lvm -> nvme-scratch
19c19
< "restore_storage": "local-lvm",
---
> "restore_storage": "nvme-scratch",
600 felhom-agent
active
Sep 28 16:25:22 demo-hp felhom-agent[1370926]: time=2026-09-28T16:25:22.505+02:00 level=INFO msg="backup: restore-test scheduler shutting down" reason="context canceled"
Sep 28 16:25:22 demo-hp felhom-agent[1370926]: time=2026-09-28T16:25:22.505+02:00 level=INFO msg="storage: watchdog shutting down" reason="context canceled"
Sep 28 16:25:22 demo-hp systemd[1]: Stopping felhom-agent.service - Felhom host agent (Proxmox host tier; hub control loop + PBS verify + storage watchdog)...
Sep 28 16:25:22 demo-hp systemd[1]: Stopped felhom-agent.service - Felhom host agent (Proxmox host tier; hub control loop + PBS verify + storage watchdog).
Sep 28 16:25:22 demo-hp systemd[1]: Started felhom-agent.service - Felhom host agent (Proxmox host tier; hub control loop + PBS verify + storage watchdog).
Sep 28 16:25:22 demo-hp felhom-agent[2355282]: time=2026-09-28T16:25:22.547+02:00 level=INFO msg="felhom-agent daemon starting" version=0.137.0 host_id=demo-hp-bb76ea hub_url=https://hub.felhom.eu interval_s=900
Sep 28 16:25:23 demo-hp felhom-agent[2355282]: time=2026-09-28T16:25:23.491+02:00 level=INFO msg="storage: watchdog starting" interval=5s debounce=15s
Sep 28 16:25:23 demo-hp felhom-agent[2355282]: time=2026-09-28T16:25:23.491+02:00 level=INFO msg="pbs: verify loop starting" cadence=6h0m0s
## pool before:
local-lvm lvmthin active 56487936 33017198 23470737 58.45%
nvme-scratch dir active 983379700 50330164 883022924 5.12%
@@ -0,0 +1,27 @@
## 2026-09-28T14:25:36Z one real restore test (selftest=restore-test), as the agent user
=== felhom-agent 0.137.0 selftest=restore-test ===
--- recover: reaping any leaked scratch from a prior crashed test ---
recover: examined=0 scratch_destroyed=0 scratch_clean=0
restoring felhom-pbs:backup/ct/9201/2026-09-24T20:06:25Z into scratch band [990000,990009] on nvme-scratch …
time=2026-09-28T16:25:37.513+02:00 level=INFO msg="restore-test: space preflight passed" storage=nvme-scratch required_bytes=33252620982 avail_bytes=904215474176
time=2026-09-28T16:25:37.634+02:00 level=INFO msg="restore-test: full-fidelity restore params derived from the archive config" scratch=990000 params=4
--- restore-test record ---
{
"source_archive": "felhom-pbs:backup/ct/9201/2026-09-24T20:06:25Z",
"source_tier": "pbs",
"scratch_vmid": 990000,
"pass": false,
"verified": "",
"error": "reconcile: restore-test restore: proxmox: POST /nodes/demo-hp/lxc -\u003e HTTP 403: permission denied at /storage/nvme-scratch (missing privilege Datastore.AllocateSpace)",
"tested_at": "2026-09-28T14:25:37Z",
"duration_seconds": 1.239386731
}
space preflight passed: storage=nvme-scratch required=33252620982 avail=904215474176
[FAIL] restore-test (scratch 990000): reconcile: restore-test restore: proxmox: POST /nodes/demo-hp/lxc -> HTTP 403: permission denied at /storage/nvme-scratch (missing privilege Datastore.AllocateSpace)
rc=1
## pool samples (time storage used% avail):
16:25:36 local-lvm 23470737 58.45%
16:25:36 nvme-scratch 883022924 5.12%
VMID Status Lock Name
9201 running demo-hp
9202 running demo-hp-scratch
@@ -0,0 +1,18 @@
## 2026-09-28T15:58:32Z operator approved: grant FelhomAgentStore on /storage/nvme-scratch (user + token), demo-hp only
BEFORE:
| /storage/felhom-pbs | FelhomAgentStore | user | felhom-agent@pve | 1 |
| /storage/felhom-pbs | FelhomAgentStore | token | felhom-agent@pve!agent | 1 |
| /storage/local | FelhomAgentStore | user | felhom-agent@pve | 1 |
| /storage/local | FelhomAgentStore | token | felhom-agent@pve!agent | 1 |
| /storage/local-lvm | FelhomAgentStore | user | felhom-agent@pve | 1 |
| /storage/local-lvm | FelhomAgentStore | token | felhom-agent@pve!agent | 1 |
COMMAND (target first): pveum acl modify /storage/nvme-scratch --roles FelhomAgentStore (user felhom-agent@pve, token felhom-agent@pve!agent)
AFTER:
| /storage/felhom-pbs | FelhomAgentStore | user | felhom-agent@pve | 1 |
| /storage/felhom-pbs | FelhomAgentStore | token | felhom-agent@pve!agent | 1 |
| /storage/local | FelhomAgentStore | user | felhom-agent@pve | 1 |
| /storage/local | FelhomAgentStore | token | felhom-agent@pve!agent | 1 |
| /storage/local-lvm | FelhomAgentStore | user | felhom-agent@pve | 1 |
| /storage/local-lvm | FelhomAgentStore | token | felhom-agent@pve!agent | 1 |
| /storage/nvme-scratch | FelhomAgentStore | user | felhom-agent@pve | 1 |
| /storage/nvme-scratch | FelhomAgentStore | token | felhom-agent@pve!agent | 1 |
@@ -0,0 +1,99 @@
## 2026-09-28T15:58:42Z one real restore test on nvme-scratch (selftest=restore-test), as the agent user
=== felhom-agent 0.137.0 selftest=restore-test ===
--- recover: reaping any leaked scratch from a prior crashed test ---
recover: examined=0 scratch_destroyed=0 scratch_clean=0
restoring felhom-pbs:backup/ct/9201/2026-09-24T20:06:25Z into scratch band [990000,990009] on nvme-scratch …
time=2026-09-28T17:58:43.148+02:00 level=INFO msg="restore-test: space preflight passed" storage=nvme-scratch required_bytes=33252620981 avail_bytes=904215433216
time=2026-09-28T17:58:43.254+02:00 level=INFO msg="restore-test: full-fidelity restore params derived from the archive config" scratch=990000 params=4
time=2026-09-28T18:07:22.310+02:00 level=INFO msg="audit: gate decision" class=guest_destroy host=demo-hp-bb76ea guest=990000 source=one_shot_job disposition=benign allowed=true reason=benign key_id="" nonce="" durable_id=""
time=2026-09-28T18:07:22.310+02:00 level=INFO msg="gate decision" class=guest_destroy guest=990000 source=one_shot_job disposition=benign allowed=true reason=benign
time=2026-09-28T18:07:28.488+02:00 level=INFO msg="restore-test: scratch guest torn down" vmid=990000
--- restore-test record ---
{
"source_archive": "felhom-pbs:backup/ct/9201/2026-09-24T20:06:25Z",
"source_tier": "pbs",
"scratch_vmid": 990000,
"pass": true,
"verified": "boot+running",
"tested_at": "2026-09-28T16:07:28Z",
"duration_seconds": 526.400585242,
"mount_parity": "ok",
"mount_inventory": [
"mp0=/var/lib/felhom (70G)",
"mp8=/mnt/felhom-drives (throwaway for the archived bind)",
"mp9=/etc/felhom-bootstrap (throwaway for the archived bind)"
]
}
space preflight passed: storage=nvme-scratch required=33252620981 avail=904215433216
=== selftest=restore-test OK (scratch 990000 restored+booted+verified+torn-down in 8m46s) ===
rc=0
## pool samples (time storage used_KiB used%):
17:58:42 local-lvm 33022847 58.46%
17:58:42 nvme-scratch 50330204 5.12%
17:58:58 local-lvm 33022847 58.46%
17:58:58 nvme-scratch 51384200 5.23%
17:59:14 local-lvm 33022847 58.46%
17:59:14 nvme-scratch 52273728 5.32%
17:59:30 local-lvm 33022847 58.46%
17:59:30 nvme-scratch 53087720 5.40%
17:59:46 local-lvm 33022847 58.46%
17:59:46 nvme-scratch 53732108 5.46%
18:00:02 local-lvm 33022847 58.46%
18:00:02 nvme-scratch 54567904 5.55%
18:00:18 local-lvm 33022847 58.46%
18:00:18 nvme-scratch 54665524 5.56%
18:00:34 local-lvm 33022847 58.46%
18:00:34 nvme-scratch 55543996 5.65%
18:00:51 local-lvm 33022847 58.46%
18:00:51 nvme-scratch 56598724 5.76%
18:01:07 local-lvm 33022847 58.46%
18:01:07 nvme-scratch 57386612 5.84%
18:01:23 local-lvm 33022847 58.46%
18:01:23 nvme-scratch 58709180 5.97%
18:01:39 local-lvm 33022847 58.46%
18:01:39 nvme-scratch 58709180 5.97%
18:01:55 local-lvm 33022847 58.46%
18:01:55 nvme-scratch 59700476 6.07%
18:02:11 local-lvm 33022847 58.46%
18:02:11 nvme-scratch 60306788 6.13%
18:02:27 local-lvm 33022847 58.46%
18:02:27 nvme-scratch 61193424 6.22%
18:02:44 local-lvm 33022847 58.46%
18:02:44 nvme-scratch 61865512 6.29%
18:03:00 local-lvm 33022847 58.46%
18:03:00 nvme-scratch 63145012 6.42%
18:03:16 local-lvm 33022847 58.46%
18:03:16 nvme-scratch 63145012 6.42%
18:03:32 local-lvm 33022847 58.46%
18:03:32 nvme-scratch 64424332 6.55%
18:03:48 local-lvm 33022847 58.46%
18:03:48 nvme-scratch 64457976 6.55%
18:04:04 local-lvm 33022847 58.46%
18:04:04 nvme-scratch 65295280 6.64%
18:04:20 local-lvm 33022847 58.46%
18:04:20 nvme-scratch 66332308 6.75%
18:04:36 local-lvm 33022847 58.46%
18:04:36 nvme-scratch 67011780 6.81%
18:04:53 local-lvm 33022847 58.46%
18:04:53 nvme-scratch 67144228 6.83%
18:05:09 local-lvm 33022847 58.46%
18:05:09 nvme-scratch 67835968 6.90%
18:05:25 local-lvm 33022847 58.46%
18:05:25 nvme-scratch 68712568 6.99%
18:05:41 local-lvm 33022847 58.46%
18:05:41 nvme-scratch 69680724 7.09%
18:05:57 local-lvm 33022847 58.46%
18:05:57 nvme-scratch 69768120 7.09%
18:06:13 local-lvm 33022847 58.46%
18:06:13 nvme-scratch 70670236 7.19%
18:06:29 local-lvm 33022847 58.46%
18:06:29 nvme-scratch 71616032 7.28%
18:06:45 local-lvm 33022847 58.46%
18:06:45 nvme-scratch 72544896 7.38%
18:07:01 local-lvm 33022847 58.46%
18:07:01 nvme-scratch 72623192 7.39%
18:07:18 local-lvm 33022847 58.46%
18:07:18 nvme-scratch 74121424 7.54%
VMID Status Lock Name
9201 running demo-hp
9202 running demo-hp-scratch
@@ -0,0 +1 @@
2026/09/28 09:40:18 [INFO] wg registered: host=drill-g0276-b861fc pubkey=Ly0yjK/BwcPQqDdwIhcd2W96UwdPhQsIQ8fY5GcevVQ= ip=10.77.0.5/32 changed=true gen=1 sync=ok
@@ -0,0 +1,22 @@
## 2026-09-28T16:08:13Z ep0 read-only
felhom-hetzner
wg0 KNaFXHiY9l08UhPO4gxUBFQz2WF3RYWyUGL8k+hzDVo= 10.77.0.2/32
wg0 yNVpWt9Ekid9p459/VLHbmCDHIi8xTUYHbgazUp5S00= 10.77.0.250/32
wg0 kdhOHMyADRpaTaFmh8ypwsWngvBpIyMyon80DJK+00M= 10.77.0.4/32
wg0 snkgWxlcN7zXxjy1rG/jefe6uysGq/27E736CVPkbBc= 10.77.0.3/32
wg0 KNaFXHiY9l08UhPO4gxUBFQz2WF3RYWyUGL8k+hzDVo= 1790611636
wg0 yNVpWt9Ekid9p459/VLHbmCDHIi8xTUYHbgazUp5S00= 1790611612
wg0 kdhOHMyADRpaTaFmh8ypwsWngvBpIyMyon80DJK+00M= 1786601749
wg0 snkgWxlcN7zXxjy1rG/jefe6uysGq/27E736CVPkbBc= 1790611684
## saved WireGuard config: count of the test key / of drill-g0276
0
0
## control: a key that IS configured is found:
1
## PBS datastores + namespaces:
felhom-offsite /mnt/pbs-datastore
/mnt/pbs-datastore/ns/demo-felhom
/mnt/pbs-datastore/ns/demo-hp
/mnt/pbs-datastore/ns/tester-1
## grep drill-g0276 across /etc /root /srv (names only):
(end)
@@ -0,0 +1,25 @@
<string>:9: SyntaxWarning: invalid escape sequence '\]'
<string>:9: SyntaxWarning: invalid escape sequence '\]'
<string>:10: SyntaxWarning: invalid escape sequence '\]'
POST /api/debug/backup/night-chain -> ('202', {'data': {'legs': ['db-dump', 'tier2', 'update-leg']}, 'message': 'started', 'ok': True})
second press while it runs -> ('409', {'error': 'refused: a backup or restore is running', 'ok': False})
2026/09/28 16:44:22 night_chain.go:108: [INFO] [night-chain] manual run started from 172.18.0.6:43528: [db-dump tier2 update-leg]
2026/09/28 16:44:22 night_chain.go:84: [INFO] [night-chain] manual run of tonight's chain: dump → second drive → off-site → update leg
2026/09/28 16:44:22 night_chain.go:77: [INFO] [night-chain] db-dump: started
2026/09/28 16:44:22 night_chain.go:104: [WARN] [night-chain] manual run REFUSED: a backup or restore is running
2026/09/28 16:45:05 recovery_unit.go:289: [INFO] [backup] Recovery unit captured for claper → /mnt/sys_drive/felhom-data/backups/primary/claper (images=2, secrets-referenced=3, data_keys=0, portable-carried=2/2, withheld=1)
2026/09/28 16:45:05 recovery_unit.go:289: [INFO] [backup] Recovery unit captured for paperless-ngx → /mnt/felhom-drives/scratch_hdd/userdata/paperless-ngx/backups/primary/paperless-ngx (images=3, secrets-referenced=3, data_keys=
2026/09/28 16:45:05 recovery_unit.go:289: [INFO] [backup] Recovery unit captured for privatebin → /mnt/sys_drive/felhom-data/backups/primary/privatebin (images=1, secrets-referenced=0, data_keys=0, portable-carried=0/0, withheld
2026/09/28 16:45:05 night_chain.go:82: [INFO] [night-chain] db-dump: done in 43s
2026/09/28 16:45:05 night_chain.go:77: [INFO] [night-chain] tier2: started
2026/09/28 16:45:05 tier2.go:425: [INFO] [backup] Tier 2 copied claper → /mnt/felhom-drives/scratch_hdd/backups/secondary/claper (48.7 MB, 0 leg(s), 0s)
2026/09/28 16:45:06 tier2.go:425: [INFO] [backup] Tier 2 copied paperless-ngx → /mnt/sys_drive/felhom-data/backups/secondary/paperless-ngx (76.1 MB, 1 leg(s), 0s) [SSD: state-only]
2026/09/28 16:45:06 tier2.go:425: [INFO] [backup] Tier 2 copied privatebin → /mnt/felhom-drives/scratch_hdd/backups/secondary/privatebin (20.3 KB, 0 leg(s), 0s)
2026/09/28 16:45:06 night_chain.go:82: [INFO] [night-chain] tier2: done in 0s
2026/09/28 16:45:06 night_chain.go:90: [INFO] [night-chain] offsite: no off-site target on this box — skipped, as at night
2026/09/28 16:45:06 night_chain.go:77: [INFO] [night-chain] update-leg: started
2026/09/28 16:45:06 unattended.go:268: [INFO] [update-leg] started (manual-chain): window 02:30, no step starts at or after 22:00
2026/09/28 16:45:06 unattended.go:246: [INFO] [update-leg] update leg (manual-chain): done=0 undone=0 held=0 failed=0 skipped=0 in 0s [skipped: ]
2026/09/28 16:45:06 night_chain.go:82: [INFO] [night-chain] update-leg: done in 0s
2026/09/28 16:45:06 night_chain.go:93: [INFO] [night-chain] finished in 44s
@@ -0,0 +1,13 @@
# logins-nvme — 2026-09-28 evening: default logins (decision 45), demo-hp restore test on the NVMe (decision 44), Part D, ep0, R-705/R-706
Architecture read: `09` §3 decisions 44–45 (new), `01` §5 (the new trust line), `03` (restore storage), `07` §6
(Part D), `06` + R-600 (ep0). Controller v0.279.0. Method: endpoint level (the calls the pages make) and each app's
own CLI/login form; generated passwords are read from the app page and never printed.
| folder | what |
|---|---|
| `B/` | claper + bookstack: probe of the app's own CLI route, then the fresh-install proof through `after_install` (default fails, generated works, wrong fails); claper after a restore; calibre-web's route refused an alphanumeric password (its policy); demo-hp's INSTALLED apps: default logins tried read-only (bookstack + calibre-web still log in; romm's note is stale) and the page warnings; floor 0.279.0 |
| `C/` | demo-hp: `restore_storage` → nvme-scratch; the 403 without a grant; the grant (operator's word); one restore test passed in 8m46s with pool samples |
| `E/` | ep0 read-only: the test install's peer is gone (hub record vs `wg show` vs saved configs, with a positive control) |
| `F/` | the night chain on 9202 (R-705): order, the refusal, the day deadline; Part D raised no false alarm |
| `redproofs/` | RP7–RP15 for v0.279.0, each failing on an assertion |
@@ -0,0 +1,10 @@
# RP10 — the manual leg keeps the night deadline
263c263
< if manual {
---
> if false && manual { // RED-PROOF RP10
unattended_test.go:490: the manual leg's deadline 2026-09-25 07:30:00 +0000 UTC, want 2026-09-25 21:15:00 +0000 UTC
--- FAIL: TestR705_TheManualLegRunsByDay (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/stacks 0.008s
FAIL
@@ -0,0 +1,10 @@
# RP11 — the data check does nothing (pre-0.279.0: a log line only)
87c87
< hollow := m.watchesForData(app) && !unitCarriesData(unitDir)
---
> hollow := false && m.watchesForData(app) && !unitCarriesData(unitDir) // RED-PROOF RP11
r_partd_hollow_watch_test.go:63: operator told [], want exactly [cloud/offsite] (held+stopped and volume-less apps are not flagged)
--- FAIL: TestPartD_ARunningAppWithAnEmptyCopyIsAnAlarm (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/backup 0.008s
FAIL
@@ -0,0 +1,10 @@
# RP12 — the page never gets the sentences
1134c1134
< data["HollowCopyLines"] = s.hollowCopyLines(s.langFor(r)) // Part D: running apps whose copy holds no data
---
> // RED-PROOF RP12
r_partd_hollow_page_test.go:27: the flagged app's sentence is not on the page (code 200)
--- FAIL: TestPartD_TheBackupPageSaysARunningAppHasNoData (0.06s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/web 0.068s
FAIL
@@ -0,0 +1,10 @@
# RP13 — no success-marker check (the exit code alone decides)
139c139
< if err == nil && strings.Contains(out, ai.Success) {
---
> if err == nil && strings.Contains(out, "") { // RED-PROOF RP13: the exit code alone decides
after_install_test.go:76: an exit-0 command without the success marker reported success
--- FAIL: TestAfterInstall_ReplacesTheDefaultLoginOnceAndRecordsIt (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/stacks 0.011s
FAIL
@@ -0,0 +1,10 @@
# RP14 — an undeclared/empty value is filled in
67c67
< if !ok[k] || env[k] == "" {
---
> if false { // RED-PROOF RP14
after_install_test.go:72: expanded with env map[]
--- FAIL: TestAfterInstall_ReplacesTheDefaultLoginOnceAndRecordsIt (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/stacks 0.011s
FAIL
@@ -0,0 +1,12 @@
# RP15 — the default card ignores after_install
23c23
< if meta.AfterInstall == nil {
---
> if true { // RED-PROOF RP15
known_login_test.go:34: after_install declared: before install: in effect = true, want false
known_login_test.go:34: after_install succeeded: in effect = true, want false
known_login_test.go:34: after_install not run yet: in effect = true, want false
--- FAIL: TestKnownLogin_InEffectOnlyUntilReplaced (0.01s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/web 0.016s
FAIL
@@ -0,0 +1,10 @@
# RP7 — removeStack does not delete the verification copy (0.278.0)
1035c1035
< resp.BackupPathsRemoved = append(resp.BackupPathsRemoved, r.removeVerificationCopy(name)...)
---
> // RED-PROOF RP7
r706_verify_copy_test.go:74: removeStack does not call removeVerificationCopy (R-706)
--- FAIL: TestR706_RemovalWithBackupsDeletesTheVerificationCopy (0.01s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/api 0.015s
FAIL
@@ -0,0 +1,12 @@
# RP8 — two legs swapped (off-site before Tier 2)
86d85
< step("tier2", func() error { c.tier2(); return nil })
88a88,90
> }
> step("tier2", func() error { c.tier2(); return nil })
> if false {
r705_night_chain_test.go:47: order [db-dump offsite tier2 update-leg], want [db-dump tier2 offsite update-leg]
--- FAIL: TestR705_NightChainRunsTheLegsInOrderAndRefusesWhenBusy (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/web 0.008s
FAIL
@@ -0,0 +1,11 @@
# RP9 — no busy() refusal
57c57
< if busy, why := c.busy(); busy {
---
> if busy, why := c.busy(); false && busy { // RED-PROOF RP9
r705_night_chain_test.go:54: busy start: ok=true why=""
--- FAIL: TestR705_NightChainRunsTheLegsInOrderAndRefusesWhenBusy (0.00s)
FAIL
/mnt/5_hdd/felhom.eu/git/felhom-controller/controller/internal/web/r705_night_chain_test.go:25 +0x36
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/web 0.012s
FAIL
@@ -0,0 +1,19 @@
"""claperproof.py — decision 45 proof on a FRESH claper: the known default fails, the generated one (read
from the app page the household sees) works, through claper's own authentication. The value is never printed."""
import re, sys, html as H
import walk as w
w.login()
page = w.page("/stacks/claper/deploy")
m = re.search(r'name="ADMIN_PASSWORD"[^>]*value="([^"]*)"', page) or re.search(r'value="([^"]*)"[^>]*name="ADMIN_PASSWORD"', page)
gen = H.unescape(m.group(1)) if m else ""
print("app page shows a first password for ADMIN_PASSWORD:", bool(gen), "length", len(gen))
info = w.page("/apps/claper")
print("app page: default-login card shown:", "admin@claper.co / claper" in info, "| known-login warning shown:", "ismert, közös jelszóval" in info)
auth = 'IO.puts("ANS=#{Claper.Accounts.get_user_by_email_and_password("admin@claper.co", "PW") != nil}")'
script = "set -u\n" + "\n".join(
f"echo \"{label}: $(docker exec -e ELIXIR_ERL_OPTIONS=+fnu claper /app/bin/claper rpc '{auth.replace('PW', pw)}' 2>&1 | grep -o 'ANS=[a-z]*')\""
for label, pw in (("NEGATIVE the known default admin@claper.co / claper", "claper"),
("POSITIVE the generated first password from the app page", gen),
("CONTROL a wrong password", "wrongxyz123")))
print(w.guest(script))
print(w.guest("grep -A3 '^after_install:' /opt/docker/stacks/claper/app.yaml"))
@@ -0,0 +1,22 @@
"""After a RESTORE of claper from its own unit: the default must still fail, the first password (read from
the page BEFORE the restore) must still work, and the page must not show a value that does not work."""
import re, html as H, os
import walk as w
w.login()
def pw_on_page():
m = re.search(r'name="ADMIN_PASSWORD"[^>]*value="([^"]*)"', w.page("/stacks/claper/deploy"))
return H.unescape(m.group(1)) if m else ""
before = pw_on_page()
print("before the restore: the page shows a first password:", bool(before))
res = w.restore("claper")
print("restore:", {k: res.get(k) for k in ("ok", "http", "seconds", "state_after")})
after = pw_on_page()
print("after the restore: the page shows a password value:", bool(after), "| same as before:", after == before and bool(after))
d = w.page("/stacks/claper/deploy")
print("after the restore: the page says the backup's login is the one that works:", "restored" in d.lower() or "mentésből" in d)
auth = 'IO.puts("ANS=#{Claper.Accounts.get_user_by_email_and_password("admin@claper.co", "PW") != nil}")'
script = "set -u\n" + "\n".join(
f"echo \"{l}: $(docker exec -e ELIXIR_ERL_OPTIONS=+fnu claper /app/bin/claper rpc '{auth.replace('PW', p)}' 2>&1 | grep -o 'ANS=[a-z]*')\""
for l, p in (("NEGATIVE the known default", "claper"), ("the first password from BEFORE the restore", before), ("CONTROL wrong", "wrongxyz123")))
print(w.guest(script))
print(w.guest("grep -E -A2 '^(after_install|restored_logins):' /opt/docker/stacks/claper/app.yaml"))
@@ -0,0 +1,18 @@
"""loginproof.py <app> <sub> <email> — decision 45 proof on a FRESH install of a BookStack-shaped app (a Laravel
login form): the known default fails, the generated first password read from the app page works, a wrong one fails.
The value is never printed."""
import re, sys, html as H
import walk as w
app, sub, email, default = sys.argv[1:5]
w.login()
m = re.search(r'name="ADMIN_PASSWORD"[^>]*value="([^"]*)"', w.page(f"/stacks/{app}/deploy"))
gen = H.unescape(m.group(1)) if m else ""
print("app page shows a first password:", bool(gen))
info = w.page(f"/apps/{app}")
print("app page loaded:", len(info) > 20000, "| default-login card shown:", "Alapértelmezett belépés" in info, "| warning shown:", "known-login-line" in info)
fn = f'''J=/tmp/lp.$$; login() {{ rm -f $J; T=$(curl -sk -c $J -b $J -H "Host: {sub}.{w.DOMAIN}" https://127.0.0.1/login | grep -o 'name="_token" value="[^"]*"' | head -1 | sed 's/.*value="//;s/"$//'); curl -sk -o /dev/null -w '%{{http_code}}->%{{redirect_url}}' -c $J -b $J -H "Host: {sub}.{w.DOMAIN}" -X POST --data-urlencode "_token=$T" --data-urlencode "email={email}" --data-urlencode "password=$1" https://127.0.0.1/login | sed "s|https\\?://[^/]*||"; }}'''
print(w.guest(fn + f'''
echo "NEGATIVE the known default {email} / {default}: $(login '{default}')"
echo "POSITIVE the generated first password: $(login '{gen}')"
echo "CONTROL wrong: $(login wrongxyz123)"; rm -f $J'''))
print(w.guest(f"grep -A3 '^after_install:' /opt/docker/stacks/{app}/app.yaml"))