The aggregate tables (stats_*) keep only bytes, and the queries returned 0 as speed, so the Speed
mode was empty for 7d and 30d. Speed is now the bucket average: bytes * 8 / 1e6 / bucket seconds;
for the current incomplete bucket the duration is min(bucket length, time since its start), at least
1 s. Series are labelled "RX Mbps (avg)" / "TX Mbps (avg)" for ranges over 24h. One test.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KC7BXv32Jwj8mY5sKX8u2F
Encrypted packages (databases, PKI, client profiles) with safe restore and
a pre-restore safety copy, usable for server-to-server migration across
container and system-service installs. New Management page, ovp_backups
volume, migrations code in the profiler image, server name in package names.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- install.sh always asks for the install directory (--prefix or a prompt
with confirmation, no default); refuses system directories, the
repository checkout itself, paths inside/containing it and non-empty
directories (a resumed install is allowed). A preflight refusal says
nothing was changed.
- UI is part of the repository: committed build in deploy/ui-dist with
SOURCE_HASH and a staleness guard (check-ui.sh, loud warning). install.sh
and update.sh resolve the UI: --ui-dist FILE|DIR, --build-ui, committed
build; install stops without a UI unless --no-ui. update.sh swaps the UI
when its hash differs from the installed one (.ui-source-hash).
- build-ui.sh: --docker, --local (host Node >= 20.19, temporary copy),
--node-download (portable Node, SHA-256 verified), --publish.
- Verified on Alpine 3.23: install without UI options installs the real UI;
local build equals the Docker build; update skips an unchanged UI and
warns on a stale build. --node-download is untested (needs network).
- Docs: Scenario 2 guide, change summary, plan, README.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>