SSL LetsEncrypt renewal not working (due to an extra reverse proxy on the outside)

Did you find the root cause of why the certificate was not automatically renewing?

On the site I noted it was because it is not in a production mode so all e-mails are suspended, including the e-mails that would renew the the certificate.

image

The reason the e-mail was suspended is that it is part of the process of restoring the database, in the specific case it was restored from a different instance of Discourse.

The e-mail is disabled so that two sites are not sending out the same e-mails.