Hub 2.11.0: ports checked on both servers before an install; frp config on each server's page

- A new install reserves candidate ports, asks the central and church servers which are free
  (probe-ports), and runs on the first pair free on both (3 rounds, then called off).
- Each server's page reads and changes frps's / frpc's config (agent 1.4.0): secrets stay on the
  server, two-factor, verify, backup, restart, put back if frp doesn't start.
- Alerts name the config file the agent uses; a missing config gets its own alert.
- Vendors contracts 1.15.0. Migration 20261121110000_server_frp_config.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-21 11:08:29 +02:00
co-authored by Claude Opus 5.5
parent 0aed4f72b3
commit 0acc61d4d8
18 changed files with 586 additions and 23 deletions
+4
View File
@@ -485,6 +485,10 @@ model Server {
joinedAt DateTime @default(now())
removedAt DateTime?
notes String?
// Hub 2.11.0: the frps (central) or frpc (church) config path set here (null: the agent finds it),
// and the last frp-read result (crosscode.agent frpReadResult, secrets hidden on the server).
frpConfigPath String?
frpConfig Json?
stats ServerStat[]
jobs Job[]
deployments Deployment[]