Let's Encypt error while installation

  • Hello guys,

    after buying and uploading the plugin I get the following message, which does not change / finishes so far (>10 minutes).
    In german "Installation in Bearbeitung..."

    In english "Installation in Progress..."

    pasted-from-clipboard.png


    How can I solve the problem?

  • OS version ?

    i-MSCP version ?

    other useful data ?


    Code
    1. apt update & apt upgrade

    returns that everyting is correctly updated with no errors ?


    Try to kill the setup process on the server and fix other issues (for example with RoundcubePlugins also)

  • The following error message:


    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 checked the given line. There is a execute command

    $rs = execute(

    [ "$main::imscpConfig{'PLUGINS_DIR'}/LetsEncrypt/bin/certbot-auto", '--non-interactive', '--no-self-upgrade', '--version' ],


    When I start this manual I get:

    pip prints the following errors:

    =====================================================

    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. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

    Collecting argparse==1.4.0

    Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB)

    Collecting pycparser==2.14

    Downloading pycparser-2.14.tar.gz (223 kB)

    Collecting asn1crypto==0.22.0

    Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97 kB)

    Collecting cffi==1.10.0

    Downloading cffi-1.10.0-cp27-cp27mu-manylinux1_x86_64.whl (392 kB)

    Collecting ConfigArgParse==0.12.0

    Downloading ConfigArgParse-0.12.0.tar.gz (41 kB)

    Collecting configobj==5.0.6

    Downloading configobj-5.0.6.tar.gz (33 kB)

    Collecting cryptography==2.2.2

    Downloading cryptography-2.2.2-cp27-cp27mu-manylinux1_x86_64.whl (2.2 MB)

    Collecting enum34==1.1.2

    Downloading enum34-1.1.2.tar.gz (46 kB)

    Collecting funcsigs==1.0.2

    Downloading funcsigs-1.0.2-py2.py3-none-any.whl (17 kB)

    Collecting idna==2.5

    Downloading idna-2.5-py2.py3-none-any.whl (55 kB)

    Collecting ipaddress==1.0.16

    Downloading ipaddress-1.0.16-py27-none-any.whl (17 kB)

    Collecting josepy==1.1.0

    Downloading josepy-1.1.0-py2.py3-none-any.whl (53 kB)

    Collecting linecache2==1.0.0

    Downloading linecache2-1.0.0-py2.py3-none-any.whl (12 kB)

    Collecting mock==1.3.0

    Downloading mock-1.3.0-py2.py3-none-any.whl (56 kB)

    Collecting ordereddict==1.1

    Downloading ordereddict-1.1.tar.gz (2.1 kB)

    Collecting packaging==16.8

    Downloading packaging-16.8-py2.py3-none-any.whl (23 kB)

    Collecting parsedatetime==2.1

    Downloading parsedatetime-2.1-py2-none-any.whl (37 kB)

    Collecting pbr==1.8.1

    Downloading pbr-1.8.1-py2.py3-none-any.whl (89 kB)

    Collecting pyOpenSSL==16.2.0

    Downloading pyOpenSSL-16.2.0-py2.py3-none-any.whl (43 kB)

    Collecting pyparsing==2.1.8

    Downloading pyparsing-2.1.8-py2.py3-none-any.whl (54 kB)

    Collecting pyRFC3339==1.0

    Downloading pyRFC3339-1.0-py2.py3-none-any.whl (8.4 kB)

    Collecting python-augeas==0.5.0

    Downloading python-augeas-0.5.0.tar.gz (90 kB)

    Collecting pytz==2015.7

    Downloading pytz-2015.7-py2.py3-none-any.whl (476 kB)

    Collecting requests==2.12.1

    Downloading requests-2.12.1-py2.py3-none-any.whl (574 kB)

    Collecting six==1.10.0

    Downloading six-1.10.0-py2.py3-none-any.whl (10 kB)

    Collecting traceback2==1.4.0

    Downloading traceback2-1.4.0-py2.py3-none-any.whl (16 kB)

    Collecting unittest2==1.1.0

    Downloading unittest2-1.1.0-py2.py3-none-any.whl (96 kB)

    Collecting zope.component==4.2.2

    Downloading zope.component-4.2.2.tar.gz (546 kB)

    Collecting zope.event==4.1.0

    Downloading zope.event-4.1.0.tar.gz (476 kB)

    Collecting zope.interface==4.1.3

    Downloading zope.interface-4.1.3.tar.gz (141 kB)

    Collecting requests-toolbelt==0.8.0

    Downloading requests_toolbelt-0.8.0-py2.py3-none-any.whl (54 kB)

    Collecting letsencrypt==0.7.0

    Downloading letsencrypt-0.7.0-py2-none-any.whl (3.0 kB)

    Collecting certbot==0.26.1

    Downloading certbot-0.26.1-py2.py3-none-any.whl (302 kB)

    Collecting acme==0.26.1

    Downloading acme-0.26.1-py2.py3-none-any.whl (77 kB)

    Collecting certbot-apache==0.26.1

    Downloading certbot_apache-0.26.1-py2.py3-none-any.whl (223 kB)

    Collecting certbot-nginx==0.26.1

    Downloading certbot_nginx-0.26.1-py2.py3-none-any.whl (78 kB)

    Requirement already satisfied: setuptools>=1.0 in /opt/eff.org/certbot/venv/lib/python2.7/site-packages (from josepy==1.1.0->-r /tmp/tmp.cO833sLyeQ/letsencrypt-auto-requirements.txt (line 99)) (45.0.0)

    ERROR: Package 'setuptools' requires a different Python: 2.7.12 not in '>=3.5'

    =====================================================

    Certbot has problem setting up the virtual environment.

    We were not be able to guess the right solution from your pip

    output.

    Consult https://certbot.eff.org/docs/install.html#problems-with-python-virtual-environment

    for possible solutions.

    You may also find some support resources at https://certbot.eff.org/support/ .