# Renewal problem

**URL:** https://community.letsencrypt.org/t/renewal-problem/110352
**Category:** Help
**Created:** [January 11, 2020, 7:21pm UTC](https://community.letsencrypt.org/t/renewal-problem/110352 "2020-01-11T19:21:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mikmer](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@mikmer](https://community.letsencrypt.org/u/mikmer)
#### Post date: [January 11, 2020, 7:21pm UTC](https://community.letsencrypt.org/t/renewal-problem/110352/1 "2020-01-11T19:21:27Z")

</div>

My domain is:  
[mikmer.fr](http://mikmer.fr) or [www.mikmer.fr](http://www.mikmer.fr)

I ran this command:  
certbot renew

It produced this output:  
Plugins selected: Authenticator webroot, Installer None  
Renewing an existing certificate  
Performing the following challenges:  
http-01 challenge for [mikmer.fr](http://mikmer.fr)  
http-01 challenge for [www.mikmer.fr](http://www.mikmer.fr)  
Cleaning up challenges  
Attempting to renew cert ([mikmer.fr](http://mikmer.fr)) from /etc/letsencrypt/renewal/mikmer.fr.conf produced an unexpected error: Missing command line flag or config entry for this setting:  
Input the webroot for [mikmer.fr](http://mikmer.fr):. Skipping.

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

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

My hosting provider, if applicable, is:

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

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

Here is the content of my .conf file  
\<VirtualHost \*:80\>  
DocumentRoot /var/www/html/wordpress  
ServerName [mikmer.fr](http://mikmer.fr)  
ServerAlias [www.mikmer.fr](http://www.mikmer.fr)

# RewriteEngine on

# RewriteRule ^.well-known - [L]

Redirect permanent / [https://www.mikmer.fr/](https://www.mikmer.fr/)

\<VirtualHost \*:443\>  
DocumentRoot /var/www/html/wordpress  
ServerName [mikmer.fr](http://mikmer.fr)  
ServerAlias [www.mikmer.fr](http://www.mikmer.fr)

\<Directory “/var/www/html/wordpress”\>  
Options -Indexes  
Order allow,deny  
Allow from all  
AllowOverride FileInfo  
Require all granted

Include /etc/letsencrypt/options-ssl-apache.conf

SSLCertificateFile /etc/letsencrypt/live/mikmer.fr/fullchain.pem  
SSLCertificateKeyFile /etc/letsencrypt/live/mikmer.fr/privkey.pem

Header always set Content-Security-Policy "default-src https: data: ‘unsafe-inline’ 'unsafe-eval$  
Header always set Feature-Policy "geolocation ‘none’; midi ‘none’; camera ‘none’; usb ‘none’; ma$  
Header always set Referrer-Policy “same-origin”

ErrorLog /var/log/apache2/wp.error.log  
CustomLog /var/log/apache2/wp.access.log combined

I tried to find an answer in the forum without succes…  
Any help would be appreciated 🙂

---

<div class="post-metadata">

### Author: ![mnordhoff](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mnordhoff/32/22583_2.png) [@mnordhoff](https://community.letsencrypt.org/u/mnordhoff)
#### Post date: [January 11, 2020, 7:38pm UTC](https://community.letsencrypt.org/t/renewal-problem/110352/2 "2020-01-11T19:38:00Z")

</div>

Due to a bug fixed in a later version of Certbot, `/etc/letsencrypt/renewal/mikmer.fr.conf` is missing your web root path setting.

Manually specifying it with “`certbot renew -w /var/www/html/wordpress`” – or whatever the path is – may work.

If not, try running the command you used to create the certificate originally, e.g. “`certbot certonly --webroot -d mikmer...`”.

---

<div class="post-metadata">

### Author: ![mikmer](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@mikmer](https://community.letsencrypt.org/u/mikmer)
#### Post date: [January 11, 2020, 7:42pm UTC](https://community.letsencrypt.org/t/renewal-problem/110352/3 "2020-01-11T19:42:39Z")

</div>

Thanks a lot mnordhoff : it works with -w option !

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)
#### Post date: [February 10, 2020, 7:42pm UTC](https://community.letsencrypt.org/t/renewal-problem/110352/4 "2020-02-10T19:42:45Z")

</div>

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