Recently I discover that letsencrypt didnt renew on my server:
Code
- Traceback (most recent call last):
- File "/usr/local/sbin/certbot", line 6, in <module>
- from certbot.main import main
- File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 5, in <module>
- import logging.handlers
- File "/usr/lib/python2.7/logging/__init__.py", line 26, in <module>
- import sys, os, time, cStringIO, traceback, warnings, weakref, collections
- File "/usr/lib/python2.7/weakref.py", line 14, in <module>
- from _weakref import (
- ImportError: cannot import name _remove_dead_weakref at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 834.
I tried to deactivate plugin and receive this error on reactivate:
Code
- An unexpected error occurred:
- Plugin::LetsEncrypt::enable: Error: couldn't get currently installed version for /opt/eff.org/certbot/venv/bin/letsencrypt: Traceback (most recent call last): File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 6, in from certbot.main import main File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 5, in import logging.handlers File "/usr/lib/python2.7/logging/__init__.py", line 26, in import sys, os, time, cStringIO, traceback, warnings, weakref, collections File "/usr/lib/python2.7/weakref.py", line 14, in from _weakref import (
- ImportError: cannot import name _remove_dead_weakref at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 266
My server:
-
Debian 10
-
i-MSCP 1.5.3 Build: 2018120800 Codename: Ennio Morricone
-
Lets Encrypt