letsencrypt + Python Problems!

Started by Dexxa, August 25, 2016, 12:20:00 AM

Previous topic - Next topic

Dexxa

Hi

Im trying to install letsencrypt ssl certs via the control panel, followed the video etc, tried upgrading pyton  but i keep getting the same error message

WARNING! Letsenycrpt Certificate installation failed, please check /etc/letsencrypt/live/**********.co.uk !
Unable to read or file empty /etc/scl/prefixes/python27!


Anyone know how to fix this, it'd be a great help to me :)

Dexxa

Also getting Initialized empty Git repository in /opt/cwp_letsencrypt/.git/

Sandeep

hello contact support for more investigations

Dexxa


theblack

Did you solved this issue? It happened to me too..

Dexxa

Quote from: theblack on September 23, 2016, 05:44:05 PM
Did you solved this issue? It happened to me too..

Yes, on the 32bit version, do this

To solve it:

1- First install python requirements
$yum install epel-release
$rpm -ivh https://rhel6.iuscommunity.org/ius-release.rpm
yum --enablerepo=ius install git python27 python27-devel python27-pip python27-setuptools python27-virtualenv -y
2- Workaround for missing files
$ echo /opt/rh > /etc/scl/prefixes/python27
$mkdir /opt/rh/python27
$touch /opt/rh/python27/enable

This solve for me the problem with the Unable to open: /etc/scl/prefixes/python

Then i got another problem virtualenv not found, this can be solved using symbolink link
$cd /usr/bin
$ln -s  virtualenv-2.7  virtualenv

on the 64bit version you dont need to do anything as it works fine