nginx-proxy-manager
nginx-proxy-manager copied to clipboard
lets encrypt broken, no logs, no error message
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latest
docker image?- Yes
- Are you sure you're not using someone else's docker image?
- Yes
- Have you searched for similar issues (both open and closed)?
- Yes
After fresh install, i logged in on port 81, changed password. Then i created proxy host (domain 4.level proxy.saas.mydomain.com
) and enabled https:
I got error message, tried to debug it. All log files are empty:
docker logs gives:
[3/31/2023] [7:52:02 PM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #2: proxy.sc.chainblock.it
[3/31/2023] [7:52:02 PM] [SSL ] › ℹ info Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-2" --agree-tos --authenticator webroot --email "[email protected]" --preferred-challenges "dns,http" --domains "proxy.sc.chainblock.it"
[3/31/2023] [7:52:05 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_2.conf
[3/31/2023] [7:52:05 PM] [Nginx ] › ℹ info Reloading Nginx
[3/31/2023] [7:52:11 PM] [Express ] › ⚠ warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-2" --agree-tos --authenticator webroot --email "[email protected]" --preferred-challenges "dns,http" --domains "proxy.saas.domain.com"
Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details.
lets encrypt log files should be persistent outside container
Nginx Proxy Manager Version latest as of today
Operating System ubuntu 22.04
Additional context i liked npm, because it could do letsencrypt out of the box
Hello!I have same problem Ubuntu 20.04 latest version of Nginx Proxy Manager
I figured out, that 4th level domain is cloudflare problem. Missing logs are NPM problems. Fixing docker and compose files is not difficult. Good software should produce reasonable logs.
Issue is now considered stale. If you want to keep it open, please comment :+1:
I have same problem, Ubuntu 20.04 latest version of Nginx Proxy Manager