-
Notifications
You must be signed in to change notification settings - Fork 3k
how to delete old domains already deleted that do not appear in the web interface #1162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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 |
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. |
if they are domains removed from the interface |
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.
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. |
Anyone got a solution to clean up certificates which were deleted from the GUI but are still renewed and stored? |
Workaround preventing NPM renewing certs which are not visible in GUI but on filesystem:
|
Issue is now considered stale. If you want to keep it open, please comment 👍 |
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. |
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 |
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:
|
Now this causes:
|
What worked for me is deleting from the |
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#allowEager
method is deprecated. You should useallowGraph
instead.allowEager
method will be removed in 3.0proxy_v6 | `QueryBuilder
The text was updated successfully, but these errors were encountered: