Updating certificates

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: shopvacuk.com

I ran this command: sudo -H ./letsencrypt-auto renew

It produced this output:

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.15).
openssl is already the newest version (1.0.2g-1ubuntu4.15).
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).
0 upgraded, 0 newly installed, 0 to remove and 240 not upgraded.
Creating virtual environment…
Installing Python packages…
Exception:
Traceback (most recent call last):
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/basecommand.py”, line 209, in main
status = self.run(options, args)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/commands/install.py”, line 317, in run
requirement_set.prepare_files(finder)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/req/req_set.py”, line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/req/req_set.py”, line 600, in _prepare_file
req_to_install.check_if_exists()
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/req/req_install.py”, line 1011, in check_if_exists
self.req.project_name
AttributeError: ‘Requirement’ object has no attribute ‘project_name’
Traceback (most recent call last):
File “/tmp/tmp.4gz7nNhJnI/pipstrap.py”, line 177, in
sys.exit(main())
File “/tmp/tmp.4gz7nNhJnI/pipstrap.py”, line 164, in main
check_output(command)
File “/usr/lib/python2.7/subprocess.py”, line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command ‘[’/opt/eff.org/certbot/venv/bin/python’, ‘-m’, ‘pip’, ‘install’, ‘–no-index’, ‘–no-deps’, ‘-U’, ‘–no-cache-dir’, ‘/tmp/pipstrap-7knYUW/pip-9.0.1.tar.gz’, ‘/tmp/pipstrap-7knYUW/setuptools-40.6.3.zip’, ‘/tmp/pipstrap-7knYUW/wheel-0.29.0.tar.gz’]’ returned non-zero exit status 2

My web server is (include version):
Linode 4GB (pending upgrade): 2 CPU, 48GB Storage, 4GB RAM

London, UK

178.79.183.176

2a01:7e00::f03c:91ff:fe16:9ba1

Ubuntu 16.04 LTS

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
No all done through ssh in the terminal

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

If I check for the certbot-auto version I get the following…

root@ubuntu:/# certbot-auto --version
Bootstrapping dependencies for Debian-based OSes…
Hit:1 http://mirrors.linode.com/ubuntu xenial InRelease
Get:2 http://mirrors.linode.com/ubuntu xenial-updates InRelease [109 kB]
Hit:3 https://deb.nodesource.com/node_4.x xenial InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:5 http://mirrors.linode.com/ubuntu xenial-backports InRelease [107 kB]
Get:6 http://mirrors.linode.com/ubuntu xenial-updates/main amd64 Packages [920 kB]
Get:7 http://mirrors.linode.com/ubuntu xenial-updates/main i386 Packages [804 kB]
Get:8 http://mirrors.linode.com/ubuntu xenial-updates/universe amd64 Packages [738 kB]
Get:9 http://mirrors.linode.com/ubuntu xenial-updates/universe i386 Packages [676 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [5,604 B]
Get:11 http://mirrors.linode.com/ubuntu xenial-updates/universe Translation-en [305 kB]
Get:12 http://mirrors.linode.com/ubuntu xenial-updates/multiverse amd64 Packages [16.6 kB]
Get:13 http://mirrors.linode.com/ubuntu xenial-updates/multiverse i386 Packages [15.8 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [5,764 B]
Fetched 3,811 kB in 1s (2,832 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.15).
openssl is already the newest version (1.0.2g-1ubuntu4.15).
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).
0 upgraded, 0 newly installed, 0 to remove and 240 not upgraded.
Upgrading certbot-auto 0.12.0 to 0.32.0…
Replacing certbot-auto…
Creating virtual environment…
Installing Python packages…
Exception:
Traceback (most recent call last):
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/basecommand.py”, line 209, in main
status = self.run(options, args)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/commands/install.py”, line 317, in run
requirement_set.prepare_files(finder)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/req/req_set.py”, line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/req/req_set.py”, line 600, in _prepare_file
req_to_install.check_if_exists()
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/req/req_install.py”, line 1011, in check_if_exists
self.req.project_name
AttributeError: ‘Requirement’ object has no attribute ‘project_name’
Traceback (most recent call last):
File “/tmp/tmp.jCBXLaA3td/pipstrap.py”, line 177, in
sys.exit(main())
File “/tmp/tmp.jCBXLaA3td/pipstrap.py”, line 164, in main
check_output(command)
File “/usr/lib/python2.7/subprocess.py”, line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command ‘[’/opt/eff.org/certbot/venv/bin/python’, ‘-m’, ‘pip’, ‘install’, ‘–no-index’, ‘–no-deps’, ‘-U’, ‘–no-cache-dir’, ‘/tmp/pipstrap-pFqw6w/pip-9.0.1.tar.gz’, ‘/tmp/pipstrap-pFqw6w/setuptools-40.6.3.zip’, ‘/tmp/pipstrap-pFqw6w/wheel-0.29.0.tar.gz’]’ returned non-zero exit status 2
root@ubuntu:/#

This is a lazy workaround, but you could try just doing “mv -i /opt/eff.org/certbot ~/certbot-0.12.0” or something, so that certbot-auto will reinstall it totally fresh.

And/or maybe try downloading the current version of certbot-auto.

By the way, you could also get rid of certbot-auto and switch to the Certbot PPA. (It currently has version 0.31.0.)

Disorganized thoughts below:

I don’t get it, but it seems to be an incompatibility thing related to an internal change in pip 8.1.2, released in May 2016.

Certbot 0.12.0 was released in March 2017.

Ubuntu 16.04 packages version 8.1.1 of pip.

I have no idea what’s incompatible with what.

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