Author Topic: letsencrypt + Python Problems!  (Read 14391 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
letsencrypt + Python Problems!
« on: August 25, 2016, 12:20:00 AM »
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 :)

Offline
*
Re: letsencrypt + Python Problems!
« Reply #1 on: August 25, 2016, 11:19:04 AM »
Also getting Initialized empty Git repository in /opt/cwp_letsencrypt/.git/

Offline
*****
Re: letsencrypt + Python Problems!
« Reply #2 on: August 25, 2016, 08:42:50 PM »
hello contact support for more investigations

Offline
*
Re: letsencrypt + Python Problems!
« Reply #3 on: August 26, 2016, 01:03:20 AM »
I have done that :)

Offline
*
Re: letsencrypt + Python Problems!
« Reply #4 on: September 23, 2016, 05:44:05 PM »
Did you solved this issue? It happened to me too..

Offline
*
Re: letsencrypt + Python Problems!
« Reply #5 on: September 28, 2016, 06:55:23 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