Certbot-auto not working anymore

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: si.diese.org, relecture.diese.org, wiki.diese.org

I ran this command: certbot-auto renew

It produced this output:


Ign http://security.debian.org wheezy/updates/main Translation-en_US
Ign http://security.debian.org wheezy/updates/main Translation-en
Err http://security.debian.org wheezy/updates/main Sources
404 Not Found [IP: 151.101.120.204 80]
Err http://security.debian.org wheezy/updates/main amd64 Packages
404 Not Found [IP: 151.101.120.204 80]
Ign http://http.debian.net wheezy-backports/main Translation-en_US
Ign http://http.debian.net wheezy-backports/main Translation-en
Err http://http.debian.net wheezy-backports/main amd64 Packages
404 Not Found [IP: 151.101.120.204 80]
W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80]

W: Failed to fetch http://ftp.fr.debian.org/debian/dists/wheezy/main/source/Sources 404 Not Found [IP: 212.27.32.66 80]

W: Failed to fetch http://ftp.fr.debian.org/debian/dists/wheezy/main/binary-amd64/Packages 404 Not Found [IP: 212.27.32.66 80]

W: Failed to fetch http://ftp.fr.debian.org/debian/dists/wheezy-updates/main/source/Sources 404 Not Found [IP: 212.27.32.66 80]

W: Failed to fetch http://ftp.fr.debian.org/debian/dists/wheezy-updates/main/binary-amd64/Packages 404 Not Found [IP: 212.27.32.66 80]

W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/source/Sources 404 Not Found [IP: 151.101.120.204 80]

W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.120.204 80]

W: Failed to fetch http://http.debian.net/debian/dists/wheezy-backports/main/binary-amd64/Packages 404 Not Found [IP: 151.101.120.204 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
apt-get update hit problems but continuing anyway…
Reading package lists… Done
Building dependency tree
Reading state information… Done
gcc is already the newest version.
python is already the newest version.
python-dev is already the newest version.
python-virtualenv is already the newest version.
libffi-dev is already the newest version.
libssl-dev is already the newest version.
openssl is already the newest version.
libaugeas0 is already the newest version.
augeas-lenses is already the newest version.
ca-certificates is already the newest version.
The following packages were automatically installed and are no longer required:
iso-codes liblinear-tools liblinear1 python3 python3-minimal python3.2 python3.2-minimal
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Creating virtual environment…
Installing Python packages…
/opt/eff.org/certbot/venv/bin/python: No module named pip.main; ‘pip’ is a package and cannot be directly executed
Traceback (most recent call last):
File “/tmp/tmp.zoHL37cWOP/pipstrap.py”, line 177, in
sys.exit(main())
File “/tmp/tmp.zoHL37cWOP/pipstrap.py”, line 149, in main
pip_version = StrictVersion(check_output([python, ‘-m’, ‘pip’, ‘–version’])
File “/usr/lib/python2.7/subprocess.py”, line 544, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command ‘[’/opt/eff.org/certbot/venv/bin/python’, ‘-m’, ‘pip’, ‘–version’]’ returned non-zero exit status 1

My web server is (include version): Apache/2.2.22

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

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

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

Hi @maxime.song

you have created a new Letsencrypt certificate yesterday ( https://check-your-website.server-daten.de/?q=si.diese.org ):

CRT-Id Issuer not before not after Domain names LE-Duplicate next LE
1368142576 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US 2019-04-09 14:39:10 2019-07-08 14:39:10 si.diese.org duplicate nr. 1
1103613835 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US 2019-01-12 07:22:59 2019-04-12 06:22:59 si.diese.org
1103611861 CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US 2019-01-12 07:22:28 2019-04-12 06:22:28 phpldapadmin.diese.org, relecture.diese.org, si.diese.org, wiki.diese.org

But Wheezy is EOL, so it's not longer supported.

So you should update your OS.

Hi, thank you for your answer.
As you saw, certbot-auto wasn’t working so i looked for answer on the web and i found somewhere a solution which has worked but only for si.diese.org, not the others.
Furthermore the server is on Debian 8.7, so Certbot should still be working on the server no?

What worked? Which client, which command?

Yes, certbot-auto should work on Debian 8 (Jessie). Can you check again that you're really using Jessie?

Wheezy is Debian 7.

(That error happens because you have to use a different repository server for old versions.)

That error happens because modern versions of certbot-auto aren't compatible with the old version of pip in Wheezy.

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