Systemctl reload caddy command is stuck

1. The problem I’m having:

When I use systemctl reload caddy to reload my config, It’s stuck

image

2. Error messages and/or full log output:

It’s just stuck ,no error message, and it’s seems like the new config is reload successfully.
And I can stop and start caddy again success. And after restart caddy, and run systemctl reload caddy, it will return success quickly.
image

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

3. Caddy version:

caddy: 2.7.6

4. How I installed and ran Caddy:

ubuntu use apt install

a. System environment:

ubuntu 22.04

b. Command:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

c. Service/unit/compose file:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

d. My complete Caddy config:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

5. Links to relevant resources:

Try putting this into your global options.

2 Likes

Please completely fill out the help topic template as per the forum rules. Show your logs (use journalctl, see Keep Caddy Running — Caddy Documentation), show your Caddyfile config.

Please use the latest version, you’re behind. Latest is v2.8.4.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.