You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
start.sh --hosted rewrites the Caddyfile and drops operator-added site blocks on upgrade #4149
On a hosted-layout install, start.sh --hosted now rewrites /etc/caddy/Caddyfile on every start (the change that added the proxy re-render). An operator who added a site block by hand for their own hostname loses it on the next upgrade: the hostname stops answering until the block is restored from a backup. Seen on an upgrade from v1.0.0 to dev at c6107a9 on 2026-11-01: about seven minutes of downtime on the instance's public hostname, fixed by restoring the previous Caddyfile.
Done when
start.sh --hosted preserves operator-added site blocks (or a documented include file) when it re-renders the Caddyfile, or refuses to overwrite a Caddyfile it did not write without a flag, and says so.
The upgrade docs for hosted installs say what the script rewrites and where an operator's own blocks must live.
A test or a dry-run mode shows the rendered file before it is written.
Context
Hosted mode and the Caddy re-render: trinity#3439 (trusted proxies, start.sh --hosted re-renders Caddy). Public-network plain HTTP: trinity#3821.
Activity
dolho commentedon Nov 2, 2026
/claim — working on this.
github-actions commentedon Nov 2, 2026
@dolho This issue is already assigned to dolho. Use
/unclaimfirst if you want to take over.dolho commentedon Nov 2, 2026
PR: #4176
fix(deploy): an operator's Caddy sites are never overwritten or left …
fix(deploy): start.sh --hosted keeps an operator's Caddy sites (#4149) (