Can´t run letsencrypt as chron Job


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

My domain is:

I ran this command:
/usr/bin/letsencrypt certonly -c /etc/letsencrypt/cli.ini

It produced this output:
Traceback (most recent call last):
File “/usr/bin/letsencrypt”, line 9, in
load_entry_point(‘letsencrypt==0.4.1’, ‘console_scripts’, ‘letsencrypt’)()
File “/usr/lib/python2.7/dist-packages/pkg_resources/”, line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/lib/python2.7/dist-packages/pkg_resources/”, line 2569, in load_entry_point
return ep.load()
File “/usr/lib/python2.7/dist-packages/pkg_resources/”, line 2229, in load
return self.resolve()
File “/usr/lib/python2.7/dist-packages/pkg_resources/”, line 2235, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/usr/lib/python2.7/dist-packages/letsencrypt/”, line 34, in
from letsencrypt import client
File “/usr/lib/python2.7/dist-packages/letsencrypt/”, line 17, in
from letsencrypt import auth_handler
File “/usr/lib/python2.7/dist-packages/letsencrypt/”, line 11, in
from letsencrypt import achallenges
File “/usr/lib/python2.7/dist-packages/letsencrypt/”, line 64, in
class RecoveryContact(AnnotatedChallenge):
File “/usr/lib/python2.7/dist-packages/letsencrypt/”, line 67, in RecoveryContact
acme_type = challenges.RecoveryContact
AttributeError: ‘module’ object has no attribute ‘RecoveryContact’

My operating system is (include version):
Kubuntu 16.04 LTS

My web server is (include version):
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2016-07-14T12:32:26

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

LetsEncrypt AttributeError: 'module' object has no attribute 'RecoveryContact'

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