Unexpected Error when updating Lets Encrypt Plugin

  • Hi,


    I wanted to update the Lets encrypt module but I always get "Unexpected Error" on the plugin site.


    Error:




    Output of imscp-rqstmngr -v


    System is up to date.


    Ubuntu 14.04, i-mscp 1.3.16, lets encrypt plugin version 3.2.1 (last supported for 1.3.x), PHP-FPM per subdomain,


    Steps to reproduce:
    Just install the plugin :(



    I ran "certbot-auto" via console, this seems to work as I can choose domains etc. but the plugin installation always fails.


    Best regards
    Simon

  • @move-admin


    It seem that there are dependencies problems. Please give us access to your server for further investigation.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @move-admin


    Problem fixed ;)


    Basically, the libssl-dev package version installed on your system was too recent (version 1.1.0 while for your python VENV (required by cerbot), the 1.0.1 version was required. This is due to the fact that the libssl-dev package was installed from Ondřej Surý PPA (PHP).


    To fix the problem, I've downgraded the libssl-dev package to the one provided by Ubuntu Trusty Thar:

    Shell-Script
    1. root@srv01:/etc/apt/preferences.d# apt-cache policy libssl-devlibssl-dev: Installed: 1.0.1f-1ubuntu2.23 Candidate: 1.0.1f-1ubuntu2.23 Package pin: 1.0.1f-1ubuntu2.23 Version table: 1.1.0g-2.1+ubuntu14.04.1+deb.sury.org+1 1001 500 http://ppa.launchpad.net/ondrej/apache2/ubuntu/ trusty/main amd64 Packages *** 1.0.1f-1ubuntu2.23 1001 500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages 100 /var/lib/dpkg/status 1.0.1f-1ubuntu2 1001 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

    And of course, to make sure that this libssl-dev package don't get upgraded again to the 1.1.0 version, I've pinned it, that is, I've added the /etc/apt/preferences.d/libssl-dev file with the following content:

    Shell-Script
    1. root@srv01:/etc/apt/preferences.d# cat /etc/apt/preferences.d/libssl-dev
    2. Package: libssl-dev
    3. Pin: release o=Ubuntu,n=trusty
    4. Pin-Priority: 1001

    In the hope that my explanations are clear enough for you ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206