Closed BryceStevenWilley closed 1 year ago
What version of certbot
was installed previously? Version 2.6.0 was released May 9, 2023, so it isn't very old. Another user encountered this issue, but their system version was more than a year old, so they were running certbot
version 1.15.0. Upgrading certbot
to 2.7.0 should fix the issue when certbot
is very old, but I don't know whether 2.6.0 is bad.
For convenience of users I should probably mention certbot
in the setup.py
file, but it really isn't a dependency of the docassemble Python code in any way, so that seems wrong.
People really ought to do system upgrades regularly because otherwise they aren't getting OS-level security patches, so I'm not sure I should do things to enable people to delay doing their system upgrades.
What version of certbot was installed previously?
I checked and it was previously at 1.15.0
too. I hadn't thought to try upgrading to 2.6.0
first based on what I saw in the linked issue, but I just tried and it works, so you're right, this upgrade doesn't seem to be as necessary as I thought.
I appreciate the thoughts on system upgrades vs in setup.py
. You are right that OS security patches are important, I get encouraging people to do that often.
One of our servers' TLS cert expired, and it looks like something in certbot was the issue. When I tried running it manually, I got the following error:
Which led to https://github.com/certbot/certbot/issues/9722. Updating to the latest certbot (2.7.0) and re-running it fixed the issue, so I updated that version in the Dockerfile.
Misc question: is there a way to update the
certbot
andcertbot-nginx
packages after the Docker image is made? I.e. should those packages be added tosetup.py
install requires, so people only need to do a python upgrade instead of a system upgrade or manual fix?