Skip to content

docs: document validate conflicts with exclusive resources - #569

Open
faiyazrahmann wants to merge 1 commit into
caddyserver:masterfrom
faiyazrahmann:docs-validate-running-instance
Open

docs: document validate conflicts with exclusive resources#569
faiyazrahmann wants to merge 1 commit into
caddyserver:masterfrom
faiyazrahmann:docs-validate-running-instance

Conversation

@faiyazrahmann

Copy link
Copy Markdown

Docs follow up for caddyserver/caddy#8004.

caddy validate provisions modules for real, so it fails when a running
instance already holds an exclusive resource. acme_server is the common
case: its database can only be open in one process at a time, so validate
times out even though the config is fine.

Adds an explanation in the caddy validate section, and a short note on the
acme_server directive pointing back to it. Both say to validate before
starting Caddy, or use caddy reload to check against a running instance.

@steadytao you offered a review on this, so tagging you here.

Copilot AI lite review requested due to automatic review settings September 9, 2026 10:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@steadytao steadytao changed the title docs: note that validate cannot run against a running instance docs: document validate conflicts with exclusive resources Sep 10, 2026
Comment thread src/docs/markdown/command-line.md Outdated
caddy validate provisions modules for real. acme_server opens a database
that only one process can hold at a time, so validating while Caddy runs
times out even though the config is fine.

Explain this in the caddy validate section and add a short note on the
acme_server directive pointing back to it.
@faiyazrahmann
faiyazrahmann force-pushed the docs-validate-running-instance branch from 1c19642 to 3a32167 Compare September 10, 2026 04:48

@steadytao steadytao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants