Accidentally deleted "renewal" folder

Was removing a subdomain cert that I don’t need anymore, accidentally deleted the whole renewal folder. Now I can’t renew:

sudo certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

No renewals were attempted.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I ran this command (by accident while meaning to remove a folder inside renewal): rm -rf /etc/letsencrypt/renewal

It produced this output: :frowning:

My web server is (include version): nginx/1.14.0 (Ubuntu)

The operating system my web server runs on is (include version): Ubuntu 18.04.2 LTS

My hosting provider, if applicable, is: digital ocean

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 0.27.0

1 Like

Hi @EncryptKeeper

create a new certificate

sudo certbot
2 Likes

Or restore the directory from a recent backup. You do have a recent backup, right?

2 Likes

Ok - turns out I have a backup from a week ago.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.