Hi
Trying to renew my certificate I get exit status 1,
I am on Ubuntu 16.04.3 LTS, it the micro instance on amazon aws.
The certificate update used to work all last year, it is a small instance, I have also added some swap space. Any ideas why it would fail?
Looking at the logs below, it does create a virtual environment by doing also a pip install
subprocess.CalledProcessError: Command ‘pip install --no-index --no-deps -U --no-cache-dir /tmp/pipstrap-tPqyjI/pip-9.0.1.tar.gz /tmp/pipstrap-tPqyjI/setuptools-40.6.3.zip /tmp/pipstrap-tPqyjI/wheel-0.29.0.tar.gz’ returned non-zero exit status
How can i replicate the steps to find the source of the problem?
Thanks
./letsencrypt-auto certonly --debug --standalone -d example.com
Requesting to rerun ./letsencrypt-auto with root privileges…
Bootstrapping dependencies for Debian-based OSes… (you can skip this with --no-bootstrap)
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:2 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:4 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Hit:5 https://apt.postgresql.org/pub/repos/apt trusty-pgdg InRelease
Fetched 325 kB in 1s (297 kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
gcc is already the newest version (4:5.3.1-1ubuntu1).
libffi-dev is already the newest version (3.2.1-4).
augeas-lenses is already the newest version (1.4.0-0ubuntu1.1).
ca-certificates is already the newest version (20170717~16.04.2).
libaugeas0 is already the newest version (1.4.0-0ubuntu1.1).
libssl-dev is already the newest version (1.0.2g-1ubuntu4.14).
openssl is already the newest version (1.0.2g-1ubuntu4.14).
python is already the newest version (2.7.12-1~16.04).
python-dev is already the newest version (2.7.12-1~16.04).
python-virtualenv is already the newest version (15.0.1+ds-3ubuntu1).
virtualenv is already the newest version (15.0.1+ds-3ubuntu1).
The following packages were automatically installed and are no longer required:
comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit9 libkadm5srv-mit9 libkdb5-8 linux-aws-headers-4.4.0-1049 linux-aws-headers-4.4.0-1052
linux-aws-headers-4.4.0-1054 linux-aws-headers-4.4.0-1055 linux-aws-headers-4.4.0-1057 linux-aws-headers-4.4.0-1060 linux-aws-headers-4.4.0-1061
linux-aws-headers-4.4.0-1062 linux-aws-headers-4.4.0-1065 linux-aws-headers-4.4.0-1066 linux-aws-headers-4.4.0-1069 linux-aws-headers-4.4.0-1070
linux-headers-4.4.0-1049-aws linux-headers-4.4.0-1052-aws linux-headers-4.4.0-1054-aws linux-headers-4.4.0-1055-aws linux-headers-4.4.0-1057-aws
linux-headers-4.4.0-1060-aws linux-headers-4.4.0-1061-aws linux-headers-4.4.0-1062-aws linux-headers-4.4.0-1065-aws linux-headers-4.4.0-1066-aws
linux-headers-4.4.0-1069-aws linux-headers-4.4.0-1070-aws linux-image-4.4.0-1049-aws linux-image-4.4.0-1052-aws linux-image-4.4.0-1054-aws
linux-image-4.4.0-1055-aws linux-image-4.4.0-1057-aws linux-image-4.4.0-1060-aws linux-image-4.4.0-1061-aws linux-image-4.4.0-1062-aws
linux-image-4.4.0-1065-aws linux-image-4.4.0-1066-aws linux-image-4.4.0-1069-aws linux-image-4.4.0-1070-aws
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded.
Creating virtual environment…
Installing Python packages…
Command “/opt/eff.org/certbot/venv/bin/python2.7 -u -c “import setuptools, tokenize;file=’/tmp/pip-IQpHhf-build/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(’\r\n’, ‘\n’), file, ‘exec’))” install --record /tmp/pip-_rt078-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/eff.org/certbot/venv/include/site/python2.7/pip” failed with error code 1 in /tmp/pip-IQpHhf-build/
Traceback (most recent call last):
File “/tmp/tmp.yCKR7d3gI9/pipstrap.py”, line 177, in
exit(main())
File “/tmp/tmp.yCKR7d3gI9/pipstrap.py”, line 164, in main
shell=True)
File “/usr/local/lib/python2.7/subprocess.py”, line 219, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command ‘pip install --no-index --no-deps -U --no-cache-dir /tmp/pipstrap-tPqyjI/pip-9.0.1.tar.gz /tmp/pipstrap-tPqyjI/setuptools-40.6.3.zip /tmp/pipstrap-tPqyjI/wheel-0.29.0.tar.gz’ returned non-zero exit status 1