Work only ./letsencrpt-auto and not /opt/letsencrpt/letsencrpt-auto (py26reqs.txt) bug?


#1

so i git clone letsencrypy under
/opt/letsencrypt/

and wrote a script
/home/nemis/le_script/rennovate-owncloud.sh

/opt/letsencrypt/letsencrypt-auto \
  --agree-dev-preview \
  --renew-by-default \
  -a webroot \
  --webroot-path /usr/share/owncloud \
 --email admin@owncloud.xxxx \
  --verbose \
  --text \
  -d owncloud.xxxxx \
  certonly

this give me error

Updating letsencrypt and virtual environment dependencies... Requirement already up-to-date: setuptools in /root/.local/share/letsencrypt/lib/python2.7/site-packages Requirement already up-to-date: pip in /root/.local/share/letsencrypt/lib/python2.7/site-packages Could not open requirements file: [Errno 2] No such file or directory: 'py26reqs.txt'

BUT if i change dir to /opt/letsencrypt and launch ./letsencrypt-auto as :smile:
/home/nemis/le_script/rennovate-owncloud2.sh

cd /opt/letsencrypt/
.letsencrypt-auto \
  --agree-dev-preview \
  --renew-by-default \
  -a webroot \
  --webroot-path /usr/share/owncloud \
 --email admin@owncloud.xxxx \
  --verbose \
  --text \
  -d owncloud.xxxxx \
  certonly

this give me the SSL.


#2

I opened an issue on github


#3

And here we go: https://github.com/letsencrypt/letsencrypt/pull/1631