Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug in retry logic, updated to Bionic and updated certbot #51

Merged
merged 1 commit into from May 10, 2021

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.

None yet

2 participants