Caddy add-package hangs indefinitely

1. The problem I’m having:

This problem: Add-package hangs indefinitely

2. Error messages and/or full log output:

No errors show

3. Caddy version:

v2.11.4 h1:XKxkMTgNSizEvKG6QHue6cAsFOteU2qA61w2tKkCWi0=

4. How I installed and ran Caddy:

From the Caddy Ubuntu/Debian apt repo

a. System environment:

Ubuntu 24.04 x86_64

b. Command:

systemd unit

c. Service/unit/compose file:

stock file from deb package

d. My complete Caddy config:

N/A

5. Links to relevant resources:

Type here

You shouldn’t rely on that, we plan on getting rid of it anyway. See proposal: remove `{add,remove}-package` and `upgrade` commands from core · Issue #7010 · caddyserver/caddy · GitHub

You should build Caddy with xcaddy instead. See Build from source — Caddy Documentation