Hub 2.3.3: refuse server settings the apps can't start with

TRUST_PROXY=TRUE made an Events install build for minutes, then crash at
startup. Saving a server's configuration now refuses it, and installs and
updates are refused (CONFIG_INVALID) while an older saved configuration has
one. Contracts 1.6.0 vendored (agent.checkEnvValue / invalidValues).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 10:25:57 +02:00
co-authored by Claude Opus 5.5
parent 166ea451f4
commit 94230d0ba9
13 changed files with 55 additions and 15 deletions
+2 -1
View File
@@ -413,7 +413,8 @@ or FASTPANEL: agents reach the Hub on its normal address.
every FASTPANEL site still answers after restarting frps), then Servers → Add server →
Central, and run the command it shows as root.
5. **Each church server:** Add server → Church, run the command, then on its page set its
configuration: `TRUST_PROXY` (`loopback` behind frp) and the database (`DB_HOST`, `DB_PORT`,
configuration: `TRUST_PROXY` (`loopback` behind frp, lowercase: the Hub refuses a value the apps
can't start with, such as `TRUE`) and the database (`DB_HOST`, `DB_PORT`,
`DB_ADMIN_URL`, or nothing for the local PostgreSQL).
6. **Existing installs:** Servers → Installs → Link existing (server, folder name, its two ports).
Installs still on 2.1.x from `hope-events` then get a **Move onto the monorepo** (an `adopt` job,