De upgrade saga gaat verder

AI-generated summary

The discussion, titled “The upgrade saga continues,” revolves around issues with a self-hosted Discourse setup involving two communities on the same server. MikeNolan reports that inbound email works on the second site but not the first, despite the SMTP server picking up the emails—no logs indicate processing or rejection. After rebooting the server, the issue seemed resolved temporarily, but a new container was created, reintroducing an nginx problem. MikeNolan questions the nginx configuration in 20-https.conf, which redirects traffic based on the hostname huskerlist.tssi.com, suggesting it should also account for the second site’s FQDN. pfaffman asks for clarification on how two Discourse communities are hosted, and tobiaseigen moved the topic to the hosting section and tagged it as unsupported due to non-standard installation practices.

Ik heb de upgrade grotendeels werkend gekregen.

Er zijn twee Discourse-communities op mijn server.

Inkomende e-mail werkt in de secondsite-community, maar niet in de eerste site. Als ik naar de logs kijk, zie ik dat inkomende e-mail wordt opgepikt door de SMTP-server, maar er staat niets in de Discourse e-mail logs dat laat zien dat deze zelfs maar is ontvangen, laat staan verwerkt of geweigerd.

Ik zie geen instellingsverschillen tussen deze twee communities die dit zouden kunnen veroorzaken, en ik weet niet waar ik verder moet zoeken naar aanwijzingen om dit op te lossen.

Het lijkt erop dat het opnieuw opstarten van de server (opnieuw) het heeft opgelost.

Looks like rebooting the server (again) may have fixed it.

However, restarting the server built a new container from the image, so the nginx issue is back.

Can anyone tell me why this code exists in the nginx config files for a Discourse container:

in outlets/server/20-https.conf:

if ($http_host != huskerlist.tssi.com) {
rewrite (.*) https://huskerlist.tssi.com$1 permanent;

IMHO, either this code shouldn’t be there or it should also check $http_host against the secondsite FQDN, etc.

How? Are you using a reverse proxy and have multiple containers running?

Ik heb dit onderwerp verplaatst naar Installation > Hosting, omdat het lijkt te gaan over het aanpassen van een zelf-gehoste Discourse-installatie. Ik heb ook unsupported-install toegevoegd, omdat het duidelijk een installatie betreft die niet de officiële installatiegids volgt.