LetsEncrypt PlugIn: python2 deprecation warning

  • Hi,


    I'm on Buster (10.2) with i-MSCP Git 1.5.x, when I reinstalled i-MSCP last week everything went well after I removed the "leftover" /etc/devuan_version.


    Now I need a new cert for changed domain name, but letsencrypt seems to insist to call python2.


    I already changed the alternatives, on shel I get:

    Code
    1. ╭─root@imscp ~
    2. ╰─➤ python --version
    3. Python 3.7.3



    But when activation the domain, this is in the status field:

    Quote


    DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. 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/…process/#python-2-support

    Is there any known way to fix this issue?

  • Nuxwin

    Added the Label to be investigated
  • Is there any chance to get it up manually for the time being?


    I can run certbot without error, but i-MSCP doesn't see it, of course, so a newly created domain gets no ssl :-(

  • tracer

    Try to run this

    Code
    1. /var/www/imscp/gui/plugins/LetsEncrypt/bin/certbot-auto

    This will upgrade the certbot itself and the Plugin Let's Encrypt is running again


    Old version

    Code
    1. /usr/local/sbin/certbot --version
    2. certbot 0.26.1


    New version

    Code
    1. /usr/local/sbin/certbot --version
    2. certbot 1.0.0


    After the update i'd created a new cert and everything works fine

  • Thx for the reply, but:

    I have no bin dir below LetsEncrypt and cerbot is below /opt/eff


    And Plugin-version is 2.0.5?!?


    Installation of the current one is not possible, it throws an error "contact your admin".


    I'll try to debootstrap the machine back to Stretch tomorrow.


    Edith says:


    I just got an eMail: