Skip to content

Conversation

@seanblanchfield
Copy link
Contributor

I was impacted by a bug in the retry login in certbot.sh that would lead to a domain being skipped if it the certbot dry-run did not succeed on the first attempt (this was common in my case, for a service that was launching at the same time as this container). In short, the break statement would prevent $exitcode being set, which means that even when the dry-run eventually succeeded, this success was not detected. To fix this I refactored the logic a little.

In addition, I had to replace the certbot-auto script, which is now deprecated and no longer works on Debian systems. While I was at it, I also upgraded to Ubuntu 18.04 LTS.

…main breaking out of the retry logic, and lead to the domain being skipped. Also updated to Ubuntu 18.04 bionic, and replaced deprecated certbot-auto with certbot (via apt-get).
@hamburml
Copy link
Owner

Thx!

@hamburml hamburml merged commit 5c8b88f into hamburml:master May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants