caddy-app-router fails to upsert catchall route — admin socket exists but upsert returns error #8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
caddy-app-routerdaemon repeatedly fails to upsert the catchall route in the*.apps.<domain>server:This repeats every 5 seconds (the reconcile interval). The Caddy admin API IS available (on a Unix socket at
/run/caddy/admin.sock), and the router IS configured to use it (--admin-socket /run/caddy/admin.sock). But the upsert fails.Impact
/data/apps/<slug>/htdocs/return 404 (the catchall route exists but no app-specific routes are injected)Environment
/run/caddy/admin.sock(exists, curl --unix-socket works)admin unix//run/caddy/admin.sockand*.apps.sonomajetcenter.comserver block with the catchall comment*.apps.sonomajetcenter.comblock with a comment about catchall injection, but the catchall route already exists in the admin API configSuggested investigation
Closing as duplicate — the underlying fix was infra-template #10 (caddy-app-router ingress.yaml field name). The dashboard is now serving after correcting the ingress.yaml to use type: static + upstream: instead of type: static-contained + root:.
Duplicate of infra-template #10 (ingress.yaml field name). Dashboard is serving after fixing ingress.yaml to type: static + upstream:. Closing.