letsencrypt first install problem

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
wkossen
Posts: 62
Joined: Friday 06 November 2020 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

letsencrypt first install problem

Post by wkossen »

Hi,

I read this: https://www.domoticz.com/wiki/Native_se ... ts_Encrypt and thought, that would be nice.

then i started following the steps and it sais to do sudo ./letsencrypt-auto, which is actually still really at the beginning of the procedure.

it starts with a few apt-get things and then tries to do some virualenv which fails. it then stops really not having done anything usefull except add crap to the disk.

it tells me this:

Code: Select all

Creating virtual environment...
usage: virtualenv [--version] [--with-traceback] [-v | -q] [--app-data APP_DATA] [--reset-app-data] [--upgrade-embed-wheels] [--discovery {builtin}] [-p py] [--creator {builtin,cpython2-posix}] [--seeder {app-data,pip}] [--no-seed]
                  [--activators comma_sep_list] [--clear] [--system-site-packages] [--symlinks | --copies] [--no-download | --download] [--extra-search-dir d [d ...]] [--pip version] [--setuptools version] [--wheel version] [--no-pip]
                  [--no-setuptools] [--no-wheel] [--no-periodic-update] [--symlink-app-data] [--prompt prompt] [-h]
                  dest
virtualenv: error: unrecognized arguments: --no-site-packages
Traceback (most recent call last):
  File "<stdin>", line 27, in <module>
  File "<stdin>", line 19, in create_venv
  File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['virtualenv', '--no-site-packages', '--python', '/usr/bin/python2.7', '/opt/eff.org/certbot/venv']' returned non-zero exit status 2
so i see it's trying to do something virtualenv isn't happy with. but i know nothing about virtualenv, including but not limited to what it does or doesn't like. i'm not that personal with my programs, you see... let's just say it breaks and therefor letsnotencrypt :(

is there anything simple i can do to make this work? or should i give up on the idea. I have worked with zero-ssl before, but domoticz does something weird with the certfile by adding things together in a single file, which i haven't really understood well, and i don't have the 'chain' bit from zero-ssl, although i might figure that out. i just liked the idea of a fully automated soltuion with letsencrypt.because i'm laz... no i just have so many other things to do.

any pointers would be highly appreciated

Cheers
Willem
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest