Renewal error certificates

Hello
When I use the command to renew the certificate I have error messages. I use debian 8 with nginx, my internet provider is online.net.

I show you the error for a website, but I have the same error for the 7 websites I have

Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for plex.okki.me
http-01 challenge for www.plex.okki.me
Cleaning up challenges
Encountered exception during recovery
[Errno 20] Not a directory: '/var/www/.well-known/acme-challenge/XXXXXXXXXXXXXXXXXXXXXXXX'
Traceback (most recent call last):
  File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/error_handler.py", line 99, in _call_registered
    self.funcs[-1]()
  File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/auth_handler.py", line 284, in _cleanup_challenges
    self.auth.cleanup(achalls)
  File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/webroot.py", line 226, in cleanup
    os.remove(validation_path)
OSError: [Errno 20] Not a directory: '/var/www/.well-known/acme-challenge/XXXXXXXXXXXXXXXXXXXXXXXXXXX'
Attempting to renew cert from /etc/letsencrypt/renewal/plex.okki.me.conf produced an unexpected error: [Errno 20] Not a directory: u'/var/www/.well-known/acme-challenge/XXXXXXXXXXXXXXXXXXXXXXXXXXXXX'. Skipping.

Here are my log of renewal

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/plex.okki.me.conf
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/sync.okki.me.conf
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/seafile.okki.me.conf
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/blog.okki.me.conf
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/okki.me.conf
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/torrent.okki.me.conf
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/stat.okki.me.conf
-------------------------------------------------------------------------------

All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/plex.okki.me/fullchain.pem (failure)
  /etc/letsencrypt/live/sync.okki.me/fullchain.pem (failure)
  /etc/letsencrypt/live/seafile.okki.me/fullchain.pem (failure)
  /etc/letsencrypt/live/blog.okki.me/fullchain.pem (failure)
  /etc/letsencrypt/live/okki.me/fullchain.pem (failure)
  /etc/letsencrypt/live/torrent.okki.me/fullchain.pem (failure)
  /etc/letsencrypt/live/stat.okki.me/fullchain.pem (failure)

Thank you in advance for your help

I will respond to myself.
It was simply a permission issue on the /var/www/.well-known file.
Thanks to the Let’s Encrypt team for the work you do.
:heart_eyes:

1 Like

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