Troubleshooting
The badge says "Caddy offline"
- Check the Caddy Admin URL on Settings > Global and click Test.
- With
cpm-app, do not uselocalhost: that is the CPM container itself. Use the IP of the host, for examplehttp://192.168.1.10:2019. - Make sure Caddy listens on the network:
admin 0.0.0.0:2019in the global options of the Caddyfile.
My change was not saved
Caddy rejected the new config. The message shows the line and the reason. Common causes:
- A typo in a header set, snippet or Advanced config.
- A plugin is enabled that is not in your Caddy build. See Plugins.
After a Caddy restart all my sites are gone
You use Memory storage. Click Re-apply, or switch to File + load on Settings > Global so Caddy keeps its config after a restart.
"Permission denied" when saving with File + load
CPM cannot write to the config folder. With cpm-app, CPM runs as user id 65532. Run the permission commands from Installation, then click Test under Configuration storage.
No certificate, or a certificate warning
- Check that the domain points to your server and ports
80and443are forwarded. - Check that Dry-run is off. In dry-run mode Caddy uses test certificates.
- Wildcard domains (
*.example.com) need a DNS plugin such as Cloudflare DNS. See the Cloudflare steps. - Still a "Caddy Local Authority" certificate after switching to a real one? Restart Caddy once.
The source dot is red, but the site works
The up/down check runs from inside your network. Without hairpin NAT on your router, your own public domain cannot be reached from inside. Add a local DNS entry for the domain, or ignore the source dot.
The destination dot is red
CPM cannot reach the service. With cpm-app, localhost points to the CPM container. Use an IP address that the container can reach.
The Logs page is empty
- Set Logs to Caddy Proxy Manager on Settings > Global, for example
192.168.1.20:9514(orcpm:9514in the same Docker network). - Port
9514must be reachable from Caddy. IfCPM_LOG_ALLOWis set, it must include the IP of Caddy.
The Files button says CPM cannot reach the folder
With cpm-app, mount the file server root into the CPM container as well, for example /file_server:/file_server, and give user id 65532 write access. Or copy files with docker cp.
I forgot my password
There is no reset link. Ask another administrator to set a new password under Settings > Users.
Edit this page on GitHub · Loaded live from R0GGER/Caddy-Proxy-Manager