LetsEncrypt Error, LetsEncrypt.pm line 266

  • Code
    1. Ein unerwarteter Fehler ist aufgetreten:
    2. Plugin::LetsEncrypt::enable: Died at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 266.

    I get the following error. No more information about the error.
    apt-get update && apt-get uprade -y seems OK no error.


    Its Ubuntu 16.04 with i-mscp 1.5.3 on an internal network server (Hyper-V)


    I also can not delete the Plugin anymore

  • Hi,


    I have the same issue with this plugin.


    The problem is certbot-auto script is very old in this plugin: v0.26.1


    Code
    1. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support


    I've replaced this script to the latest version and the installation ran successfully without error.


    Code
    1. wget https://dl.eff.org/certbot-auto
    2. cp certbot-auto /var/www/imscp/gui/plugins/LetsEncrypt/bin/
    3. /var/www/imscp/gui/plugins/LetsEncrypt/bin/certbot-auto --non-interactive --no-self-upgrade --version

    After that you can run "force retry" command on i-MSCP admin page.