Prod upgrade fixes: profiler compatibility with new FastAPI, pinned dependencies

- profiler: Literal instead of Query(enum=...) (broke on FastAPI 0.162)
- pin fastapi/starlette/uvicorn/pydantic for the profiler, upper bounds for APP_CORE
- health check: show the service log when an HTTP check fails
- update.sh: the "before" version comes from deploy.state
- migrate.py: hint about OVPMON_*_DB_PATH when the default database is missing
- docs: --source --no-pull mode, dependency pinning, PIP_CONSTRAINT
- tests: new test for the section parameter, fixed test_server_process.py

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ayurishchevandClaude Sonnet 5.5 committed 2026-11-13 00:03:39 +03:00
1 parent 1bbf9b7cc1
commit 79c950f8f7
14 files changed
+156 -38

No files matched your search

+2
View File
@@ -23,6 +23,8 @@ Nginx is the only public entry point. More: [Overview](DOCS/General/Overview.md)
2. The script prints the URL and the **administrator password once** (no default account exists).
3. Follow [First steps](DOCS/Deployment/First_Steps.md): secure the account, initialize the PKI, configure and start the VPN server, create the first client.
Update notes (2026-11-12): profiler dependencies are pinned (`fastapi`, `starlette`, `uvicorn`, `pydantic`), the health check prints the service log on failure, `update.sh` takes the "before" version from `deploy.state`, `migrate.py` hints at `OVPMON_*_DB_PATH`; `--source --no-pull` and `PIP_CONSTRAINT`: [Operations](DOCS/Deployment/System_Services/Operations.md).
Optional: NAT, MSS clamping and TTL for the VPN clients on system-service hosts: `deploy/native/firewall.sh --dry-run` ([Firewall](DOCS/Deployment/System_Services/Firewall.md)).
## Documentation