mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #1856] NPM not autorenewing certs #1358
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1358
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @unixbird on GitHub (Feb 15, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1856
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
Auto renew is failing and not running
Nginx Proxy Manager Version
2.9.15
To Reproduce
Steps to reproduce the behavior:
Certs do not auto renew once they get close to expiry
Expected behavior
Certs renew automatically
Screenshots
Operating System
Docker Swarm
Additional context
Renewing SSL certs close to expiry... nginxproxy_app.1.mgfk9romsudb@Ramiel | [2/15/2022] [4:54:15 AM] [SSL ] › ✖ error Error: Command failed: certbot renew --non-interactive --quiet --config "/etc/letsencrypt.ini" --preferred-challenges "dns,http" --disable-hook-validation nginxproxy_app.1.mgfk9romsudb@Ramiel | Renewal configuration file /etc/letsencrypt/renewal/npm-1.conf is broken. nginxproxy_app.1.mgfk9romsudb@Ramiel | The error was: expected /etc/letsencrypt/live/npm-1/cert.pem to be a symlink nginxproxy_app.1.mgfk9romsudb@Ramiel | Skipping. nginxproxy_app.1.mgfk9romsudb@Ramiel | Renewal configuration file /etc/letsencrypt/renewal/npm-3.conf is broken. nginxproxy_app.1.mgfk9romsudb@Ramiel | The error was: expected /etc/letsencrypt/live/npm-3/cert.pem to be a symlink nginxproxy_app.1.mgfk9romsudb@Ramiel | Skipping. nginxproxy_app.1.mgfk9romsudb@Ramiel | Renewal configuration file /etc/letsencrypt/renewal/npm-4.conf is broken.Errors above
@v1-valux commented on GitHub (Mar 20, 2022):
I can confirm problems on my side with auto-renewal..
Also a completely new request (without dns-challenge) fails, too.
The log instead lists "dns" under
--preferred-challenges "dns,http"- is this correct?Getting the following error when trying to renew my certs manually:
EDIT:
I reverted to 2.9.15 which didn't work at first,
then I cleared my browser cache and suddenly manual renewal worked.
Don't quite know which one was the solution (at least for the manual renewal)..
@boehser-enkel commented on GitHub (Aug 11, 2022):
Same problem for me @2.9.18
@github-actions[bot] commented on GitHub (Feb 24, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@battletux commented on GitHub (Dec 18, 2024):
I was having this issue and tried the temp work around from #2881 but it was not working for me initially so I restarted the container and disabled the force SSL for it to start working.
@github-actions[bot] commented on GitHub (Aug 18, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍
@CuzImBisonratte commented on GitHub (Feb 17, 2026):
This is still an issue (using v2.14.0).
Here is a snippet from docker logs:
The workaround from #2881 doesn't help here and manual refresh from the certificates tab doesn't work as well, but rather just selecting the Host > SSL > Request new certificate works. But this doesn't fix auto-renew working again but just requests a new cert.