Renewal problem Nginx Debian

My domain is:
1wise.es labirreria.es webbingteam.com

I ran this command:
certbot --nginx

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Which names would you like to activate HTTPS for?

1: 1wise.es
2: www.1wise.es
3: labirreria.es
4: www.labirreria.es
5: webbingteam.com
6: www.webbingteam.com

Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel):
çAttempting to parse the version 0.33.1 renewal configuration file found at /etc/letsencrypt/renewal/1wise.es.conf with version 0.11.1 of Certbot. This might not work.
Cert is due for renewal, auto-renewing…
Renewing an existing certificate
Performing the following challenges:
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.
Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.

My web server is (include version):
nginx version: nginx/1.14.2

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

My hosting provider, if applicable, is:
ovh

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):
a mess
-certbot 0.11.1

-certbot-auto --version
Error: couldn’t get currently installed version for /opt/eff.org/certbot/venv/bin/letsencrypt:
Traceback (most recent call last):
File “/opt/eff.org/certbot/venv/bin/letsencrypt”, line 7, in
from certbot.main import main
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py”, line 6, in
import logging.handlers
File “/usr/lib/python2.7/logging/init.py”, line 26, in
import sys, os, time, cStringIO, traceback, warnings, weakref, collections
File “/usr/lib/python2.7/weakref.py”, line 14, in
from _weakref import (
ImportError: cannot import name _remove_dead_weakref

What do “which certbot” and “sudo which certbot” show?

How is Certbot installed?

Are you really running Debian 10?

The packaged version of Certbot is 0.31.0.

As for the certbot-auto error, I’d suggest renaming or deleting /opt/eff.org/certbot/ so it will reinstall itself. The installation might be broken if you did something like upgrade from an earlier version of Debian.

1 Like

Server was upgraded from jessie to buster previously to this error, I :

pip install --upgrade acme

pip install --upgrade certbot-nginx

pip install --upgrade certbot

and

certbot --nginx

went fluid

SOLVED !!!

1 Like