mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #1162] how to delete old domains already deleted that do not appear in the web interface #954
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#954
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 @njavilas on GitHub (Jun 7, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1162
Hello how to delete old domains ?
Failed to renew certificate npm-2 with error: Some challenges have failed.
proxy_v6 | All renewals failed. The following certificates could not be renewed:
proxy_v6 | /etc/letsencrypt/live/npm-1/fullchain.pem (failure)
proxy_v6 | /etc/letsencrypt/live/npm-10/fullchain.pem (failure)
proxy_v6 | /etc/letsencrypt/live/npm-11/fullchain.pem (failure)
proxy_v6 | /etc/letsencrypt/live/npm-12/fullchain.pem (failure)
proxy_v6 | /etc/letsencrypt/live/npm-13/fullchain.pem (failure)
proxy_v6 | /etc/letsencrypt/live/npm-2/fullchain.pem (failure)
proxy_v6 | 6 renew failure(s), 0 parse failure(s)
at ChildProcess.exithandler (node:child_process:326:12)
proxy_v6 | at ChildProcess.emit (node:events:369:20)
proxy_v6 | at maybeClose (node:internal/child_process:1067:16)
proxy_v6 | at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
proxy_v6 |
QueryBuilder#allowEagermethod is deprecated. You should useallowGraphinstead.allowEagermethod will be removed in 3.0proxy_v6 | `QueryBuilder
@RobinVanCauter commented on GitHub (Jun 8, 2021):
I've been having this issue as well, none of my certs are renewing because it's failing on old domains that aren't in the UI anymore
@chaptergy commented on GitHub (Jun 8, 2021):
Do you remember how you deleted these certificates? Did some error occur?
The other certs should be fine, just the expiry date in date in the ui does not update if one of the certificates failed to renew.
Unfortunately I can't think of a different fix than to just delete the certificates from certbot which are still there but shouldn't.
@njavilas commented on GitHub (Jun 17, 2021):
if they are domains removed from the interface
@fiveangle commented on GitHub (Oct 29, 2021):
I am having same issue: no errors observed in GUI when deleting a cert, but cert remains and the cert doesn't show up in the GUI at all.
npm-9.confis the errant cert below:I've pulled the latest image w/no avail. At the least some rudimentary logic on startup to validate the certs NPM things it should have are all it should have.
@davhae commented on GitHub (Oct 11, 2022):
Anyone got a solution to clean up certificates which were deleted from the GUI but are still renewed and stored?
@davhae commented on GitHub (Nov 22, 2022):
Workaround preventing NPM renewing certs which are not visible in GUI but on filesystem:
@github-actions[bot] commented on GitHub (Mar 10, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@mrfuntime commented on GitHub (Jun 29, 2024):
I've got a ton of these as well; I have never found a guide or other ad hoc instructions on how to properly kill off certs for deleted proxy hosts/domains. I would be forever indebted to whomever can point me to this information if it exists.
I have no idea how to deal with certbot directly in this context, or at all really. Welcome all constructive comments/information. Thanks and have a great day!
p.s. Apologies for resurrecting an old thread; figured it was better than creating a new one.
@nik2208 commented on GitHub (Aug 27, 2024):
I kinda managed to solve the issue setting manually to 0 the column is_deleted of all deleted proxy hosts in table certificate. this prevent the bot to keep trying on renewing deleted hosts (or at list it seems to)
it looks like when deleting a proxy host, the relevant row of the table certificate isnt updated properly
@jm-deltaxp commented on GitHub (Feb 14, 2025):
I had the same issue of a dangling unused expired ssl certificate not shown in the NPM gui that was causing errors in the log. I followed these instructions to delete the certificate through certbot: https://serverfault.com/questions/896711/how-to-totally-remove-a-certbot-created-ssl-certificate
List certificates managed by certbot to identify the name of the one to delete:
Delete the certificate by name, in my case npm-5:
@mathieu-clement commented on GitHub (May 5, 2025):
Now this causes:
@mathieu-clement commented on GitHub (May 5, 2025):
What worked for me is deleting from the
certificatetable.@github-actions[bot] commented on GitHub (Nov 10, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍