SSL | Intern error
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker 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
Describe the bug
Nginx Proxy Manager Version
Nginx Proxy Manager Version v2.10.2
To Reproduce

Expected behavior
ERROR form Docker Nginx Proxy Manager
[5/5/2023] [10:17:33 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_5.conf
[5/5/2023] [10:17:33 PM] [Nginx ] › ℹ info Reloading Nginx
[5/5/2023] [10:17:33 PM] [Express ] › ⚠ warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-5" --agree-tos --authenticator webroot --email "@outlook.de" --preferred-challenges "dns,http" --domains "portainer.the-dodo.de"
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.
[5/5/2023] [10:29:06 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf
[5/5/2023] [10:29:06 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf.err
[5/5/2023] [10:29:06 PM] [Nginx ] › ⬤ debug Could not delete file: {
"errno": -2,
"syscall": "unlink",
"code": "ENOENT",
"path": "/data/nginx/proxy_host/1.conf.err"
}
[5/5/2023] [10:29:06 PM] [Nginx ] › ℹ info Reloading Nginx
[5/5/2023] [10:29:11 PM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #6: portainer.the-dodo.de
[5/5/2023] [10:29:11 PM] [SSL ] › ℹ info Command: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-6" --agree-tos --authenticator webroot --email "@outlook.de" --preferred-challenges "dns,http" --domains "portainer.the-dodo.de"
[5/5/2023] [10:29:12 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_6.conf
[5/5/2023] [10:29:12 PM] [Nginx ] › ℹ info Reloading Nginx
[5/5/2023] [10:29:12 PM] [Express ] › ⚠ warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-6" --agree-tos --authenticator webroot --email "@outlook.de" --preferred-challenges "dns,http" --domains "portainer.the-dodo.de"
Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
An unexpected error occurred:
Error creating new order :: too many failed authorizations recently: see https://letsencrypt.org/docs/failed-validation-limit/
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.
In /tmp/letsencrypt-log/letsencrypt.log is nothing
Operating System Ubuntu 20
Git exactly the same error, here. Looking at letsencrypt.log says that let's encrypt cannot access the challenge. Very strange. @TheDoDoo : I think you see nothing in "/tmp/letsencrypt-log/letsencrypt.log" because the file is in the docker path : /var/lib/docker/overlay2/[yourcontainerID]/merged/var/log/letsencrypt/letsencrypt.log. Looke duplicate with #2881 with a interesting workaround (not working for me).
I guess it's done until a patch...
Ive been having the same issue for a couple months now also, not sure what the problem is. Cant generate any certs only difference is im using unraid.
Can't add custom certificate either, same error.
[5/29/2023] [9:53:43 AM] [Nginx ] › ⬤ debug Could not delete file: {
"errno": -2,
"syscall": "unlink",
"code": "ENOENT",
"path": "/data/nginx/proxy_host/1.conf"
}
[5/29/2023] [9:53:43 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf.err
[5/29/2023] [9:53:43 AM] [Nginx ] › ⬤ debug Could not delete file: {
"errno": -2,
"syscall": "unlink",
"code": "ENOENT",
"path": "/data/nginx/proxy_host/1.conf.err"
}
then the hostfile disappear, server offline.
This may also be the same issue described in #2873 (I am also experiencing this issue still, running unRAID, workaround from #2881 not working for me.)
Can't add custom certificate either, same error.
[5/29/2023] [9:53:43 AM] [Nginx ] › ⬤ debug Could not delete file: { "errno": -2, "syscall": "unlink", "code": "ENOENT", "path": "/data/nginx/proxy_host/1.conf" } [5/29/2023] [9:53:43 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf.err [5/29/2023] [9:53:43 AM] [Nginx ] › ⬤ debug Could not delete file: { "errno": -2, "syscall": "unlink", "code": "ENOENT", "path": "/data/nginx/proxy_host/1.conf.err" }then the hostfile disappear, server offline.
I am getting the exact same error
Has anyone solved this issue?
Duplicate relation "access_list" in a relation expression. You should use "a.[b, c]" instead of "[a.b, a.c]". This will cause an error in objection 2.0 [6/20/2023] [9:52:40 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/4.conf [6/20/2023] [9:52:40 PM] [Nginx ] › ⬤ debug Could not delete file: { "errno": -2, "syscall": "unlink", "code": "ENOENT", "path": "/data/nginx/proxy_host/4.conf" } [6/20/2023] [9:52:40 PM] [Nginx ] › ℹ info Reloading Nginx [6/20/2023] [9:52:55 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/4.conf [6/20/2023] [9:52:55 PM] [Nginx ] › ℹ info Reloading Nginx [6/20/2023] [9:54:50 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/5.conf [6/20/2023] [9:54:50 PM] [Nginx ] › ⬤ debug Could not delete file: { "errno": -2, "syscall": "unlink", "code": "ENOENT", "path": "/data/nginx/proxy_host/5.conf" }
I have the exact same problem... Don't know why this was closed since many have the same problem.
@aj1322001 If you understand this enough to articulate the issue clearly, would you be willing to create a new issue mentioning this?
I'm having exactly this issue after a clean install. I also had this issue after upgrading from an earlier version.
Hello,
Same here ..
Hi, same problem here :-(
Is anyone not having this issue? I have done a clean install on version 2.9.22 and 2.10.3 and both have this issue. Its working without SSL.
Hello @GitTworn
I think is a problem with Ubuntu/Debian, but i dont Knox why. I think this, because i try on Fedora, Centos, Alpine is work. On fresh installé Ubuntu 18.04 to 22.04 and Debian Buster not work, same problem.
So, on alpine, i have a error, with a file not deleting, but i have my ssl certificat.
If you use docker-compose, set network to host. Just for try.
Having the same issue since i reinstalled my server today and redeployed my dockers.
Having the same issue since i reinstalled my server today and redeployed my dockers.
What is your os ?
For the past 2-3 days I've been having so many issues (after fresh install). Finally after setting up SSL and scrolling up in logs, I saw the same issue. Not sure what's causing this but yep, it's causing too many error after setting SSL and then adding host(s), it no longer load nginx proxy manager dashboard and throws 500 and all I see in logs is a bunch of Could not delete file (ssl) and Could not delete file (for all the host(s) I've added).
Same issue here with a custom SSL certificate.
I have same problem, on Ubuntu host and Alpine. But in Alpine, it's work.
I dont now if really this the problem.
I thinks is a conf of Docker-Compose or Docker engine, maybe docker host network... i dont know
But, in Alpine, Fedora and Redhat i have same error, but the certificat ( custom or lets'encrypt) is perfect work.
I got this error for the first time after an upgrade, however, when downgrading the error persisted, even after a fresh install of an earlier working version. So I suspect in the meantime, docker got updated and it might be a docker related issue.