Files
felhom.eu/documentation/audits/night-restore-2026-10-17/P1/B-onbox.txt
T

80 lines
7.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
##### PATH B — on-box restore (Visszaallitas) after a reinstall
23:24:08 seed rallly r1106-B: INSERT 0 1
r1106-A2
r1106-B
23:24:13 seed grimmory r1106-B: r1106-A2
r1106-B
23:24:17 file: c90bc7913f76e3b72bd245b1f4f0b6c3b2be0a6de62bf95374eb47f62b9fb7cf /mnt/felhom-drives/hdd_1/userdata/media/grimmory/r1106-B.txt
23:24:17 off-site before: status=ok last_run=2026-10-16T21:16:23Z snapshots=234
23:24:17 POST /backup/offbox/run {} -> HTTP/2 302 /backups/remote?flash=flash.offbox.run_started
23:24:17 + 0.0s ('running', 'dump', '', 0) files 0/0 bytes /
23:27:10 + 172.5s ('running', '', 'opengist', 0) files 0/0 bytes /
23:27:13 + 175.6s ('running', '', 'docmost', 0) files 0/0 bytes /
23:27:16 + 178.6s ('running', '', 'kimai', 0) files 0/0 bytes /
23:27:19 + 181.6s ('running', '', 'plex', 0) files 0/0 bytes /
23:27:22 + 184.6s ('running', '', 'prowlarr', 100) files 4/4 bytes 9.1 KB/9.1 KB
23:27:25 + 187.7s ('running', '', 'romm', 0) files 0/0 bytes /
23:27:28 + 190.7s ('running', '', 'sonarr', 0) files 0/0 bytes /
23:27:31 + 193.7s ('running', '', 'bentopdf', 0) files 0/0 bytes /
23:27:34 + 196.8s ('running', '', 'rallly', 0) files 0/0 bytes /
23:27:37 + 199.8s ('running', '', 'rallly', 100) files 8/8 bytes 67.0 MB/67.0 MB
23:27:40 + 202.8s ('running', '', 'grimmory', 0) files 0/0 bytes /
23:27:43 + 205.8s ('running', '', 'bookstack', 0) files 0/0 bytes /
23:27:46 + 208.9s ('running', '', 'calibre-web', 0) files 0/0 bytes /
23:27:49 + 211.9s ('running', '', 'home-assistant', 0) files 0/0 bytes /
23:27:52 + 214.9s ('running', 'retention', '', 0) files 0/0 bytes /
23:27:58 + 221.0s ('ok', '', '', 0) files 0/0 bytes /
23:27:58 off-site after: status=ok last_run=2026-10-16T21:27:57Z duration=3m35s snapshots=250 size=687.5 MB error=''
23:28:41 remove rallly (keepbackups: remove_hdd_data=True, remove_backups=False) -> 200 {'ok': True, 'data': {'removed': 'rallly', 'volumes_removed': ['rallly_rallly_postgres_data'], 'hdd_paths_removed': [], 'hdd_paths_preserved': [], 'hdd_note': 'Az alkalmazás nem tárolt saját adatot kü
23:29:15 remove grimmory (keepbackups: remove_hdd_data=True, remove_backups=False) -> 200 {'ok': True, 'data': {'removed': 'grimmory', 'volumes_removed': ['grimmory_grimmory_db'], 'hdd_paths_removed': ['/mnt/felhom-drives/hdd_1/appdata/grimmory/data (4.0K)'], 'hdd_paths_preserved': [], 'us
23:29:19 household deletes the books-folder files: 3
23:29:20 [1] deploy -> 202 {'ok': True, 'message': 'Telepítés elindítva – az állapot a kártyán követhető'}
23:30:15 [1] deployed, controller state=running, pinned={'rallly': 'lukevella/rallly:4.15.3', 'rallly-postgres': 'postgres:18-alpine'}
23:30:15 install rallly: True
23:30:15 [1] required fields filled beyond DOMAIN/SUBDOMAIN: ['HDD_PATH']
23:30:15 [1] deploy -> 202 {'ok': True, 'message': 'Telepítés elindítva – az állapot a kártyán követhető'}
23:31:36 [1] deployed, controller state=running, pinned={'grimmory': 'ghcr.io/grimmory-tools/grimmory:v3.5.0', 'grimmory-db': 'mariadb:11.4'}
23:31:36 install grimmory: True
## B negative control after the reinstall
23:31:36 check rallly: deployed=True state=running hold=None
23:31:40 marker row: 'ERROR: relation "r1106_marker" does not exist\nLINE 1: select note from r1106_marker;\n ^' (want 'r1106-B' present)
23:31:43 rallly log auth errors (10 min) / status: 0 | Up | About | a | minute | (healthy)
23:31:46 app login to its DB (the app's own DATABASE_URL user): 1
23:31:50 front door: 301
23:31:50 check grimmory: deployed=True state=running hold=None
23:31:53 marker row: "--------------\n\nERROR 1146 (42S02) at line 1: Table 'grimmory.r1106_marker' doesn't exist" (want 'r1106-B' present)
23:31:56 root login (the product's dump user): 1
23:32:00 app user login (the app's own DB user): 1
23:32:03 app health: Up About a minute (healthy)
{"data":{"status":"UP","message":"Application is running smoothly.","timestamp":"2026-10-16T23:32:02.311256259","version":"v3.5.0"},"message":"Pong","status":200,"timestamp":"2026-10-16T23:32:02.31127
23:32:06 file: sha256sum: /mnt/felhom-drives/hdd_1/userdata/media/grimmory/r1106-B.txt: No such file or directory
23:32:06 [R] restoring rallly from snapshot 'helyi' (of 1 offered)
23:32:06 [R] POST /backup/restore -> HTTP/2 302 ['location: /backups/restore?flash=flash.restore.started']
23:32:06 + 0.0s restore (True, None, None)
23:32:34 + 28.3s restore (False, None, None)
23:32:34 [R] after restore: state=running hold=None phase=None
23:32:38 onbox restore: {"ok": true, "snapshot_id": "helyi", "http": "HTTP/2 302", "location": ["location: /backups/restore?flash=flash.restore.started"], "seconds": 28.4}
23:32:38 restore-status: {"running": false, "op": "restore", "stack": "rallly", "started_at": "2026-10-16T21:32:06.602574836Z", "last": {"op": "restore", "stack": "rallly", "ok": true, "message": "A(z) rallly: 1 adatkötet és az adatbázis visszaállítva — az alkalmazás újraindult.", "finished_at": "2026-10-16T21:32:33.370797695Z"}, "last_recent": true}
23:32:38 [R] restoring grimmory from snapshot 'helyi' (of 1 offered)
23:33:18 [R] POST /backup/restore -> HTTP/2 302 ['location: /backups/restore?flash_error=Ez+a+ment%C3%A9s+nem+tartalmazza+az+alkalmaz%C3%A1s+f%C3%A1jljait%2C+ez%C3%A9rt+nem+%C3%A1ll%C3%ADtjuk+vissza+az+adatb%C3%A1zist+f%C3%B6l%C3%A9j%C3%BCk+%E2%80%94+a+f%C3%A1jlok+%C3%ADgy+a+hely%C3%BCk%C3%B6n+maradnak.+A+f%C3%A1jlok+a+t%C3%A1voli+m%C3%A1solatb%C3%B3l+%C3%A1ll%C3%ADthat%C3%B3k+vissza%3A+Biztons%C3%A1gi+ment%C3%A9s+%E2%86%92+Vissza%C3%A1ll%C3%ADt%C3%A1s%2C+%E2%80%9ETeljes+vissza%C3%A1ll%C3%ADt%C3%A1s+%28f%C3%A1jlok+%2B+adatb%C3%A1zis%29%E2%80%9D.']
23:33:18 + 0.0s restore (False, None, None)
23:33:25 [R] after restore: state=running hold=None phase=None
23:33:28 onbox restore: {"ok": true, "snapshot_id": "helyi", "http": "HTTP/2 302", "location": ["location: /backups/restore?flash_error=Ez+a+ment%C3%A9s+nem+tartalmazza+az+alkalmaz%C3%A1s+f%C3%A1jljait%2C+ez%C3%A9rt+nem+%C3%A1ll%C3%ADtjuk+vissza+az+adatb%C3%A1zist+f%C3%B6l%C3%A9j%C3%BCk+%E2%80%94+a+f%C3%A1jlok+%C3%ADgy+a+hely%C3%BCk%C3%B6n+maradnak.+A+f%C3%A1jlok+a+t%C3%A1voli+m%C3%A1solatb%C3%B3l+%C3%A1ll%C3%ADthat%C3%B3k+vissza%3A+Biztons%C3%A1gi+ment%C3%A9s+%E2%86%92+Vissza%C3%A1ll%C3%ADt%C3%A1s%2C+%E2%80%9ETeljes+vissza%C3%A1ll%C3%ADt%C3%A1s+%28f%C3%A1jlok+%2B+adatb%C3%A1zis%29%E2%80%9D."], "seconds": 6.1}
23:33:28 restore-status: {"running": false, "op": "restore", "stack": "rallly", "started_at": "2026-10-16T21:32:06.602574836Z", "last": {"op": "restore", "stack": "rallly", "ok": true, "message": "A(z) rallly: 1 adatkötet és az adatbázis visszaállítva — az alkalmazás újraindult.", "finished_at": "2026-10-16T21:32:33.370797695Z"}, "last_recent": true}
## B after the on-box restore
23:34:14 check rallly: deployed=True state=running hold=None
23:34:17 marker row: 'r1106-A2\nr1106-B' (want 'r1106-B' present)
23:34:21 rallly log auth errors (10 min) / status: 0 | Up | About | a | minute | (healthy)
23:34:24 app login to its DB (the app's own DATABASE_URL user): 1
23:34:27 front door: 301
23:34:27 check grimmory: deployed=True state=running hold=None
23:34:31 marker row: "--------------\n\nERROR 1146 (42S02) at line 1: Table 'grimmory.r1106_marker' doesn't exist" (want 'r1106-B' present)
23:34:34 root login (the product's dump user): 1
23:34:37 app user login (the app's own DB user): 1
23:34:41 app health: Up 3 minutes (healthy)
{"data":{"status":"UP","message":"Application is running smoothly.","timestamp":"2026-10-16T23:34:39.959127823","version":"v3.5.0"},"message":"Pong","status":200,"timestamp":"2026-10-16T23:34:39.95916
23:34:44 file: sha256sum: /mnt/felhom-drives/hdd_1/userdata/media/grimmory/r1106-B.txt: No such file or directory
##### DONE