[GCE] Error - Creating virtual environment...Cannot locate wrapped file


#1

I am running into an issue with running ‘letsencrypt-auto’ on the GCE Bitnami Ghost image.
The issue can be reproduced using the base installer below:
https://cloud.google.com/launcher/solution/bitnami-launchpad/ghost

Here is the command I use, and it’s output:
sudo wget https://github.com/letsencrypt/letsencrypt/archive/master.zip
sudo unzip master.zip
cd letsencrypt
sudo /opt/bitnami/ctlscript.sh stop
sudo ./letsencrypt-auto --debug

**Reading package lists… Done **
Reading package lists… Done
**Building dependency tree **
Reading state information… Done
ca-certificates is already the newest version.
dialog is already the newest version.
gcc is already the newest version.
libffi-dev is already the newest version.
python is already the newest version.
python-dev is already the newest version.
python-virtualenv is already the newest version.
libssl-dev is already the newest version.
augeas-lenses is already the newest version.
libaugeas0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Checking for new version…
Creating virtual environment…
Cannot locate wrapped file

Dependencies were all installed without issue. I have tried from both the ‘home’ directory and the root of the drive.
Any ideas what could be causing the wrapped file issue?

Thanks,
Jon


#2

Problem solved. Thanks for the suggestions here: https://github.com/letsencrypt/letsencrypt/issues/2554

The key with on Bitnami seems to be to run the command on the “bitnami console” More info about this here: https://wiki.bitnami.com/Components/BitNami_console


#3

Here are the steps I followed to create the SSL Certs in the Bitnami Ghost image:
Start in the home directory.

wget https://github.com/letsencrypt/letsencrypt/archive/master.zip

unzip master.zip

rm master.zip

mv letsencrypt-master letsencrypt

cd /opt/bitnami

sudo /opt/bitnami/ctlscript.sh stop

sudo ./use_ghost

bash-4.2# cd /home/<USER>/letsencrypt/

bash-4.2# ./letsencrypt-auto certonly

Follow on screen prompt and configure Apache conf’s:

sudo nano /home/bitnami/apps/ghost/conf/httpd-vhosts.conf
sudo nano /home/bitnami/stack/apache2/conf/bitnami/bitnami.conf

Restart Bitnami
sudo /opt/bitnami/ctlscript.sh start