nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Keeps trying to renew deleted certificates

Open Waldorf3 opened this issue 1 year ago • 2 comments

After changing from using domain based certificates to DNS based challenge, and now having just one wild-card cert for all my domains, I deleted all the old per-domain certificates (through the GUI, one by one).

Container logs now show it still tries (and fails) to renew all the deleted certificates. Obviously something goes wrong when certificates are deleted, and the database isn't updated correctly.

npm  | Failed to renew certificate npm-11 with error: Some challenges have failed.
npm  | Failed to renew certificate npm-12 with error: Some challenges have failed.
npm  | Failed to renew certificate npm-13 with error: Some challenges have failed.
npm  | Failed to renew certificate npm-14 with error: Some challenges have failed.
npm  | Failed to renew certificate npm-2 with error: Some challenges have failed.
npm  | Failed to renew certificate npm-3 with error: Some challenges have failed.
npm  | Failed to renew certificate npm-4 with error: Some challenges have failed.
npm  | Failed to renew certificate npm-5 with error: Some challenges have failed.
npm  | Failed to renew certificate npm-8 with error: Some challenges have failed.
npm  | Failed to renew certificate npm-9 with error: Some challenges have failed.
npm  | All renewals failed. The following certificates could not be renewed:
npm  |   /etc/letsencrypt/live/npm-11/fullchain.pem (failure)
npm  |   /etc/letsencrypt/live/npm-12/fullchain.pem (failure)
npm  |   /etc/letsencrypt/live/npm-13/fullchain.pem (failure)
npm  |   /etc/letsencrypt/live/npm-14/fullchain.pem (failure)
npm  |   /etc/letsencrypt/live/npm-2/fullchain.pem (failure)
npm  |   /etc/letsencrypt/live/npm-3/fullchain.pem (failure)
npm  |   /etc/letsencrypt/live/npm-4/fullchain.pem (failure)
npm  |   /etc/letsencrypt/live/npm-5/fullchain.pem (failure)
npm  |   /etc/letsencrypt/live/npm-8/fullchain.pem (failure)
npm  |   /etc/letsencrypt/live/npm-9/fullchain.pem (failure)
npm  | 10 renew failure(s), 0 parse failure(s)

v2.10.4 © 2023 jc21.com. Theme by Tabler

Waldorf3 avatar Oct 10 '23 12:10 Waldorf3