1. The problem I’m having:
I am starting caddy using caddy run
with the following caddy file: k8s-infrastructure/Caddyfile at 7c58e73a340274f86c722dbd983b30ca8110ad41 · Androz2091/k8s-infrastructure · GitHub
I added a new entry, pdf.androz2091.fr.
2. Error messages and/or full log output:
the pdf certificate does not get created
Note that I included my whole log file but some errors come from /paypal/ipn failing because my manage-invite-api service is down
root@ns561436:~/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory# ls
10mans-adminjs.androz2091.fr cloud.androz2091.fr harbor.androz2091.fr photos.androz2091.fr radarr.androz2091.fr tagger.androz2091.fr
analytics.androz2091.fr dash.manage-invite.xyz haste.androz2091.fr plex.androz2091.fr sabnzbd.androz2091.fr tautulli.androz2091.fr
androz2091.fr ddpe.androz2091.fr kolc-adminjs.androz2091.fr pokercode-quiz-adminjs.androz2091.fr simonlefort.ch timetagger.androz2091.fr
api.manage-invite.xyz diswho.androz2091.fr monica.androz2091.fr prometheus-grafana.androz2091.fr simonlefort.fr vault.androz2091.fr
argocd.androz2091.fr evolution-markets-adminjs.androz2091.fr pgadmin.androz2091.fr qbt.androz2091.fr slash-commands-gui.androz2091.fr
ebian@ns561436:~/k8s-infrastructure$ sudo caddy run
2024/11/30 12:06:30.609 INFO using adjacent Caddyfile
2024/11/30 12:06:30.612 INFO adapted config to JSON {"adapter": "caddyfile"}
2024/11/30 12:06:30.612 WARN Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies {"adapter": "caddyfile", "file": "Caddyfile", "line": 2}
2024/11/30 12:06:30.613 INFO admin admin endpoint started {"address": "localhost:2019", "enforce_origin": false, "origins": ["//localhost:2019", "//[::1]:2019", "//127.0.0.1:2019"]}
2024/11/30 12:06:30.613 INFO http.auto_https enabling automatic HTTP->HTTPS redirects {"server_name": "srv0"}
2024/11/30 12:06:30.613 INFO tls.cache.maintenance started background certificate maintenance {"cache": "0xc000319b00"}
2024/11/30 12:06:30.614 INFO http.auto_https server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "srv1", "https_port": 443}
2024/11/30 12:06:30.614 INFO http.auto_https enabling automatic HTTP->HTTPS redirects {"server_name": "srv1"}
2024/11/30 12:06:30.615 INFO http enabling HTTP/3 listener {"addr": ":32400"}
2024/11/30 12:06:30.615 INFO http.log server running {"name": "srv0", "protocols": ["h1", "h2", "h3"]}
2024/11/30 12:06:30.615 INFO http enabling HTTP/3 listener {"addr": ":443"}
2024/11/30 12:06:30.615 INFO http.log server running {"name": "srv1", "protocols": ["h1", "h2", "h3"]}
2024/11/30 12:06:30.615 INFO http.log server running {"name": "remaining_auto_https_redirects", "protocols": ["h1", "h2", "h3"]}
2024/11/30 12:06:30.615 INFO http enabling automatic TLS certificate management {"domains": ["timetagger.androz2091.fr", "androz2091.fr", "10mans-adminjs.androz2091.fr", "evolution-markets-adminjs.androz2091.fr", "api.manage-invite.xyz", "dash.manage-invite.xyz", "simonlefort.fr", "vault.androz2091.fr", "radarr.androz2091.fr", "harbor.androz2091.fr", "sabnzbd.androz2091.fr", "prometheus-grafana.androz2091.fr", "pokercode-quiz-adminjs.androz2091.fr", "tagger.androz2091.fr", "pgadmin.androz2091.fr", "cloud.androz2091.fr", "analytics.androz2091.fr", "ddpe.androz2091.fr", "simonlefort.ch", "diswho.androz2091.fr", "haste.androz2091.fr", "argocd.androz2091.fr", "plex.androz2091.fr", "tautulli.androz2091.fr", "photos.androz2091.fr", "kolc-adminjs.androz2091.fr", "qbt.androz2091.fr", "slash-commands-gui.androz2091.fr", "pdf.androz2091.fr"]}
2024/11/30 12:06:30.622 INFO tls.obtain acquiring lock {"identifier": "pdf.androz2091.fr"}
2024/11/30 12:06:30.627 INFO autosaved config (load with --resume flag) {"file": "/root/.config/caddy/autosave.json"}
2024/11/30 12:06:30.627 INFO serving initial configuration
2024/11/30 12:06:30.642 INFO tls storage cleaning happened too recently; skipping for now {"storage": "FileStorage:/root/.local/share/caddy", "instance": "ea9c872e-2d5d-4c4f-a241-eedd310ff710", "try_again": "2024/12/01 12:06:30.642", "try_again_in": 86399.999998278}
2024/11/30 12:06:30.642 INFO tls finished cleaning storage units
3. Caddy version:
v2.8.4
4. How I installed and ran Caddy:
a. System environment:
Debian v12.8
b. Command:
sudo caddy run
d. My complete Caddy config:
See below.