OpenSourceBrain / redmine

This is a customised version of redmine for the Open Source Brain website
http://www.opensourcebrain.org
5 stars 3 forks source link

Multiple errors on pages requiring email confirmations #332

Closed pgleeson closed 4 years ago

pgleeson commented 4 years ago

Emails get sent (after a delay) but page shows gateway error/502/503.

sanjayankur31 commented 4 years ago

The issue here was that sendmail requires a FQDN for the hostname. If this is not available, sendmail takes over a minute to send the e-mail. This blocks the redmine server and results in the bad gateways. A fix is to ensure that the redmine container always has a FQDN as its hostname.

Current hotfix: edit /etc/{hosts,hostname} in the container to convert the hostname to a FQDN.

The persistent fix is to use the hostname: directive in the docker-compose file. This is currently being worked on and tested.