I can't renew certificates with letsencrypt certificates for my HTTPS ubuntu 16.04.
I have tried to renew certificates and it just doesn’t seem to work. When I type in the command: sudo certbot renew I get
The following error was encountered:
[Errno 13] Permission denied: ’/var/log/letsencrypt/.certbot.lock’
If running as non-root, set –config-dir, –work-dir, and –logs-dir to writeable paths.
muna@Private-Server-Basic:~$ sudo letsencrypt renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Renewal configuration file /etc/letsencrypt/renewal/www.coffeeinnleyton.co.uk.conf produced an unexpected error: ‘Namespace’ object has no attribute 'apache_enmod’. Skipping.
Renewal configuration file /etc/letsencrypt/renewal/www.ionlinemarketing.co.uk.conf produced an unexpected error: 'Namespace’ object has no attribute 'apache_enmod’. Skipping.
No renewals were attempted.
Additionally, the following renewal configuration files were invalid:
0 renew failure(s), 2 parse failure(s)
Any help would be appreciated! Thanks in advance
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×