Sudo certbot renew - Webroot error

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: csquaredmusic.com

I ran this command: sudo certbot renew

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /etc/letsencrypt/renewal/csquaredmusic.com.conf


Cert is due for renewal, auto-renewing...

Plugins selected: Authenticator webroot, Installer apache

Renewing an existing certificate for csquaredmusic.com

Performing the following challenges:

http-01 challenge for csquaredmusic.com

Cleaning up challenges

Failed to renew certificate csquaredmusic.com with error: Missing command line flag or config entry for this setting:

Input the webroot for csquaredmusic.com:


All renewals failed. The following certificates could not be renewed:

/etc/letsencrypt/live/csquaredmusic.com/fullchain.pem (failure)


1 renew failure(s), 0 parse failure(s)

My web server is (include version):
Server version: Apache/2.4.29 (Ubuntu)

The operating system my web server runs on is (include version): ubuntu 18.04.5 LTS

My hosting provider, if applicable, is:
none

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):
certbot 1.12.0

I am not able to renew my certificate, any help is much appreciated. I've gone through quite a few articles and can't seem to resolve this. I should also say that my owncloud installation is the website I'm hosting if that means anything. thanks in advance!

I found this command and it seemed to work for me....

sudo certbot renew --cert-name csquaredmusic.com -w /var/www/owncloud

All is good

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