nginx-proxy-manager: Error creating let's encrypt certificates.

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

Describe the bug

I started the docker image after a while and i saw the certs expired, i tried to renew and ie get error and then it says Make sure NPM is installed.

for the log of the proxy i have the following

1/27/2023] [7:56:16 PM] [Express ] › ⚠ warning Command failed: certbot certonly --config “/etc/letsencrypt.ini” --cert-name “npm-51” --agree-tos --authenticator webroot --email “email address” --preferred-challenges “dns,http” --domains “domain” Another instance of Certbot is already running.

Seeing the log it says the following

/tmp/tmpqptp28lj # tail -f log File “/usr/lib/python3.9/site-packages/certbot/_internal/lock.py”, line 45, in init self.acquire() File “/usr/lib/python3.9/site-packages/certbot/_internal/lock.py”, line 60, in acquire self._lock_mechanism.acquire() File “/usr/lib/python3.9/site-packages/certbot/_internal/lock.py”, line 112, in acquire self._try_lock(fd) File “/usr/lib/python3.9/site-packages/certbot/_internal/lock.py”, line 130, in _try_lock raise errors.LockError(‘Another instance of Certbot is already running.’) certbot.errors.LockError: Another instance of Certbot is already running. 2023-01-27 19:56:15,874:ERROR:certbot._internal.log:Another instance of Certbot is already running.

Nginx Proxy Manager Version

Latest

To Reproduce Steps to reproduce the behavior:

  1. Go to ‘…’ Hosts -> proxy Hosts

  2. Click on ‘…’ Add Proxy host.

  3. Scroll down to ‘…’ Go to SSL, require new certificate , select needed. Press Save

  4. See error Internal error…

Expected behavior

To issue the cert and to work

Screenshots

Operating System

X64 server , running Docker

Additional context

About this issue

Most upvoted comments

No cloudflare. Self hosted without any 3rd party service in between.

I was able to get the certs signed without any problem when I deployed it some time in November, but now the won’t renew.