Renewing an existing certificate for casaroca.org and www.casaroca.org
Failed to renew certificate casaroca.org with error: Missing command line flag or config entry for this setting:
Input the webroot for casaroca.org:
You did not provide many details but it looks like the webroot_path might be missing from your renewal config file here:
/etc/letsencrypt/renewal/casaroca.org.conf
Someone earlier today had a similar problem. If that solution does not help you please post again but with the answers to the other questions in the form you were shown so we can give better advice.
Also show the contents of your renewal conf file. Thanks
===========================
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
My version of certbot is (from certbot --version):
Server GCP
root@instance-1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
I don't know what can be happening from the ssh console
root@instance-1:~# /etc/letsencrypt/renewal/casaroca.org.conf
-bash: /etc/letsencrypt/renewal/casaroca.org.conf: Permission denied
As you can see in your renewal conf file it is missing the webroot path similar to the other thread I referenced. I am logging out for the night but please show your certbot version and someone can help you if you cannot see how to repair your renewal conf.
It says "webroot", but no webroot is given.
Which may indicate a bug in the version of certbot use when the cert was issued.
Since the renewal.conf file is already suffering from that effect, it needs to be corrected.
Try finding the issuing command in the history, with: history | grep -i certbot | grep -i webroot
root@instance-1:~# grep -ERi 'servername|serveralias|root' /etc/apache2/sites-enabled/`
/etc/apache2/sites-enabled/000-default-le-ssl.conf: # The ServerName directive sets the request scheme, hostname and port that
/etc/apache2/sites-enabled/000-default-le-ssl.conf: # redirection URLs. In the context of virtual hosts, the ServerName
/etc/apache2/sites-enabled/000-default-le-ssl.conf: #ServerName www.example.com
/etc/apache2/sites-enabled/000-default-le-ssl.conf: DocumentRoot /var/www/html
/etc/apache2/sites-enabled/000-default-le-ssl.conf:ServerName casaroca.site
/etc/apache2/sites-enabled/000-default-le-ssl.conf:ServerAlias www.casaroca.site
/etc/apache2/sites-enabled/000-default.conf: # The ServerName directive sets the request scheme, hostname and port that
/etc/apache2/sites-enabled/000-default.conf: # redirection URLs. In the context of virtual hosts, the ServerName
/etc/apache2/sites-enabled/000-default.conf: #ServerName www.example.com
/etc/apache2/sites-enabled/000-default.conf: DocumentRoot /var/www/html