mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 23:23:32 +01:00
multi-domains: behavior on failure to continue for each other entries #462
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tst2005 on GitHub (Mar 2, 2020).
Hello,
I'm using dehydrated 0.6.5, with http challenge.
My
domains.txtfile seems like :Everything is managed on one server named
server1.example.com.I'm working to migrate everything on
server2.example.com.I started by migrate one part. It took time.
I got an issue.
All the certificates needs to be renewed everything should be fine except one of the vhost (
foo.example.com) that is move on the new server. The challenge produced by theserver1is not found onserver2by letsencrypt servers.I used a simple workaround : comment the
foo.example.comto renew all the other certificates.The current behavior is "stop everything" on error.
I got:
Feature/bug request:
@txr13 commented on GitHub (Mar 2, 2020):
Are you using the
--keep-goingflag?See the parameter list under "Usage" on the main page:
@tst2005 commented on GitHub (Mar 2, 2020):
oh... I really missed this option ?!
It seems exactly what I needs !
but ... why it is not the default behavior ?
@txr13 commented on GitHub (Mar 2, 2020):
When you're using
--keep-going, the script will continue normally. You'll need to review the cron logs or have some other way of verifying that your certificates were all renewed successfully. You won't have a non-zero exit code to indicate that the program terminated abnormally.@lukas2511 commented on GitHub (Mar 3, 2020):
Thanks @txr13. Closing this as it's solved :)
@tst2005 commented on GitHub (Mar 4, 2020):
Really ? dehydrated are unable to manage a simple global error status ?!
This option is a trap...
I implemented the behavior by myself.
Regards,