Auto Renew AWS Linux


#1

I am trring to renew my certificate, and after some effort got this far…

sudo /usr/local/bin/pip install --upgrade pip // (to upgrade pip)
sudo /usr/local/bin/pip install virtualenv --upgrade // (to upgrade virtualenv)

(as sudo -i)
virtualenv -p /usr/bin/python27 venv27
. venv27/bin/activate

cd letsencrypt
git pull (upgrade letsencrypt)

(and finally…)
./certbot-auto renew --debug

However now I get…

Installing Python packages…
Installation succeeded.
./certbot-auto: line 959: /root/.local/share/letsencrypt/bin/letsencrypt: No such file or directory

If I mkdir /root/.local/share/letsencrypt/bin/letsencrypt prior to running certbot-auto renew --debug the dir is gone and the error above appears!!

Help!


#2

Jeeze - that was tricky…turned out the permissions on /webroot folder needed to be change, so…

sudo chmod 777 webroot

was the last piece of the puzzle.


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.