Certbot-auto renew error


Please fill out the fields below so we can help you better.

My domain is:
I ran this command:
./certbot-auto renew
It produced this output:
Error: couldn’t get currently installed version for /root/.local/share/letsencrypt/bin/letsencrypt:
Traceback (most recent call last):
File “/root/.local/share/letsencrypt/bin/letsencrypt”, line 7, in
from certbot.main import main
File “/root/.local/share/letsencrypt/local/lib/python2.7/dist-packages/certbot/main.py”, line 11, in
import zope.component
File “/root/.local/share/letsencrypt/local/lib/python2.7/dist-packages/zope/component/init.py”, line 16, in
from zope.interface import Interface
ImportError: No module named interface

My operating system is (include version):

My web server is (include version):
Server version: Apache/2.4.23 (Amazon)
Server built: Jul 29 2016 21:42:17

My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):


The thread - Getting “Error: couldn't get currently installed version for letsencrypt” when trying to renew my certificates should hopefully explain this issue I think.

If you remove some of the conflicting files

rm -rf “${XDG_DATA_HOME:-~/.local/share}/letsencrypt”

Then try again, it will hopefully resolve your issue.


Great! Thank you very much! That worked.


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