With command
ee site update domainname.tld --letsencrypt
I’ve got this message:
(ERROR) ee : Unable to setup, Let's Encrypt (ERROR) ee : Please make sure that your site is pointed to same server on which you are running Let's Encrypt Client to allow it to verify the site automatically.
This is the last part of ee log file
Command Error: The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Exception: Traceback (most recent call last): File "/home/ubuntu/.local/share/letsencrypt/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main logger.critical(str(exc)) File "/home/ubuntu/.local/share/letsencrypt/local/lib/python2.7/site-packages/pip/commands/install.py", line 350, in run requirement_set.cleanup_files() File "/home/ubuntu/.local/share/letsencrypt/local/lib/python2.7/site-packages/pip/commands/install.py", line 436, in get_lib_location_guesses File "/home/ubuntu/.local/share/letsencrypt/local/lib/python2.7/site-packages/pip/locations.py", line 140, in distutils_scheme d = Distribution(dist_args) File "/home/ubuntu/.local/share/letsencrypt/local/lib/python2.7/site-packages/setuptools/dist.py", line 365, in __init__ if key not in keep: File "/home/ubuntu/.local/share/letsencrypt/local/lib/python2.7/site-packages/setuptools/dist.py", line 372, in _finalize_requires install_dir = self.get_egg_cache_dir() AttributeError: Distribution instance has no attribute 'install_requires' Traceback (most recent call last): File "/tmp/tmp.m39EnHYx0y/pipstrap.py", line 146, in <module> exit(main()) File "/tmp/tmp.m39EnHYx0y/pipstrap.py", line 133, in main shell=True) File "/usr/lib/python2.7/subprocess.py", line 574, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command 'pip install --no-index --no-deps -U /tmp/pipstrap-q2G0fN/pip-8.0.3.tar.gz /tmp/pipstrap-q2G0fN/setuptools-20.2.2.tar.gz /tmp/pipstrap-q2G0fN/wheel-0.29.0.tar.gz' returned non-zero exit status 2
2017-07-20 20:39:51,712 (ERROR) ee : Unable to setup, Let's Encrypt 2017-07-20 20:39:51,712 (ERROR) ee : Please make sure that your site is pointed to same server on which you are running Let's Encrypt Client to allow it to verify the site automatically.
Thank you in advance.