Idea when Upgrading your discourse

Maybe it’s stupid, but who knows… maybe it end up usefully, cause for me it would be definetly useful. Whats the word about;

When pressing Upgrade to auto post on your Facebook Page, Twitter… or any other social media that could be configured somehow in your admin panel. So we can easly inform our fellow users whats going on while we doing that. (I think it’s nice touch for any community having this.) :slight_smile:

If you’re upgrading from the /admin/upgrade link, site isn’t supposed to be very much impacted so there isn’t any need for that.

And if you’re rebuilding then the first thing that happens is that your container is shut down so it can’t do much.

Maybe you can check if your forum is up using something like ifttt and trigger to social channels from there?

Yeah, you even open better view of it. Upgrade button (upgrading) will make not so much effect. But when rebuilding its different story like u said. – Actually also idea with ifttt is good to, i’ll test it out, and see what can i achieve.


  • to ping site every 5+mins to check the status
  • if no response for % amount of seconds > Trigger default excuse for offline on social media.
  • (And when to integrate /something/ that when site is back online, to trigger again default “we are online sort of message”. (not sure about this one tbh, but will test and see what i can) :slight_smile:
1 Like

Maybe try checking ok on the page /srv/status and if it returns anything else then send and automated message like
“We’re experiencing technical difficulties on our forum. Please stand with us while we resolve the issue”

and then when it returns okay,
“Our services have resumed to normal. Thanks for standing by”
or maybe a manual post explaining what it was done manually by someone who has access to the social streams.

1 Like

Why post this to social media when you could also just show it to anyone who tries to access your site? :slight_smile:

1 Like

There is a usecase where the users will start spamming the social accounts as soon as they see an down for maintenance page.

1 Like

if you have an nginx proxy in front you can configure error pages

location / {
        error_page 502 =502 /errorpages/mysite_offline.html;
        proxy_intercept_errors on;
        proxy_set_header Host $http_host;
        proxy_http_version 1.1;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_redirect https://mysite.web:10080/ https://mysite.web;

Visitors are informed of what going then?