Certificat Update Error

Hi everyboby,

I have a Problem with my Let´s encrypt Certificat.

I run Nextcloud on a Raspberry pi with a SSL Certificate.

When I start the update Progress to renew my Certificate i have this Error:

Bootstrapping dependencies for Debian-based OSes… (you can skip this with --no-bootstrap)
Hit:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease
Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
augeas-lenses is already the newest version (1.8.0-1+deb9u1).
ca-certificates is already the newest version (20161130+nmu1).
gcc is already the newest version (4:6.3.0-4).
libaugeas0 is already the newest version (1.8.0-1+deb9u1).
libffi-dev is already the newest version (3.2.1-6).
libssl-dev is already the newest version (1.1.0f-3+deb9u1).
openssl is already the newest version (1.1.0f-3+deb9u1).
python is already the newest version (2.7.13-2).
python-dev is already the newest version (2.7.13-2).
python-virtualenv is already the newest version (15.1.0+ds-1).
virtualenv is already the newest version (15.1.0+ds-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Creating virtual environment…
Installing Python packages…
Had a problem while installing Python packages.

pip prints the following errors:

Collecting argparse==1.4.0 (from -r /tmp/tmp.RjxDWHh2yc/letsencrypt-auto-requirements.txt (line 11))
Exception:
Traceback (most recent call last):
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/commands/install.py”, line 342, 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 380, 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 554, in _prepare_file
require_hashes
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/req/req_install.py”, line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/index.py”, line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/index.py”, line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/index.py”, line 568, in _get_pages
page = self._get_page(location)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/index.py”, line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/pip/index.py”, line 795, in get_page
resp.raise_for_status()
File “/opt/eff.org/certbot/venv/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/models.py”, line 893, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 404 Client Error: Not Found for url: https://www.piwheels.hostedpi.com/simple/zope.components/argparse/

Certbot has problem setting up the virtual environment.

We were not be able to guess the right solution from your pip
output.

Consult https://certbot.eff.org/docs/install.html#problems-with-python-virtual-environment
for possible solutions.
You may also find some support resources at https://certbot.eff.org/support/ .

Can someone tell me how I can fix this?

Can you review https://github.com/certbot/certbot/issues/5330 and see if the suggested changes to pip.conf help?

Hi, it doesn´t work :frowning:

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