Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
Many domains.
I ran this command:
/usr/bin/letsencrypt renew --agree-tos
It produced this output:
An unexpected error occurred:
ImportError: cannot import name le_util
Please see the logfile ‘/tmp/tmpo3GwVV’ for more details.
root@host1:~# cat /tmp/tmpo3GwVV
2020-01-20 09:08:08,431:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File “/usr/bin/letsencrypt”, line 9, in
load_entry_point(‘certbot==0.27.0’, ‘console_scripts’, ‘certbot’)()
File “/usr/lib/python2.7/dist-packages/certbot/main.py”, line 1338, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File “/usr/lib/python2.7/dist-packages/certbot/plugins/disco.py”, line 206, in find_all
plugin_ep = PluginEntryPoint(entry_point)
File “/usr/lib/python2.7/dist-packages/certbot/plugins/disco.py”, line 52, in init
self.plugin_cls = entry_point.load()
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2229, in load
return self.resolve()
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2235, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/usr/lib/python2.7/dist-packages/letsencrypt_apache/configurator.py”, line 18, in
from letsencrypt import le_util
ImportError: cannot import name le_util
2020-01-20 09:08:08,431:ERROR:certbot.log:An unexpected error occurred:
My web server is (include version):
root@host1:~# apache2ctl -V
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2019-09-16T13:13:53
Server’s Module Magic Number: 20120211:52
Server loaded: APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
The operating system my web server runs on is (include version):
NAME=“Ubuntu”
VERSION=“16.04.4 LTS (Xenial Xerus)”
My hosting provider, if applicable, is:
None
I can login to a root shell on my machine (yes or no, or I don’t know):
Yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
root@host1:~# certbot --version
An unexpected error occurred:
ImportError: cannot import name le_util
Please see the logfile ‘/tmp/tmp49rqXU’ for more details.