I rebuilt Discourse to v2.1.0.beta3 +20 following notification this morning that there was a critical update. There were no errors during the rebuilding. However, the Admin dashboard now returns a 502 after trying to load unsuccessfully for a few minutes.
When I SSH into the server and
curl https://forum.quartertothree.com/admin/dashboard/general.json, the page seems to be returned. However, when trying to hit it externally, the following is in the Nginx log:
2018/07/27 18:01:50 [error] 309#309: *50963 upstream prematurely closed connection while reading response header from upstream, client: 188.8.131.52, server: _, request: "GET /admin/dashboard/general.json?_=1532713667907 HTTP/1.1", upstream: "http://127.0.0.1:3000/admin/dashboard/general.json?_=1532713667907", host: "forum.quartertothree.com", referrer: "https://forum.quartertothree.com/admin"
/var/discourse/shared/standalone/log/rails/unicorn.stderr.log the following appears:
E, [2018-07-27T18:07:20.883373 #323] ERROR -- : worker=3 PID:12195 timeout (31s > 30s), killing I, [2018-07-27T18:07:26.991147 #12648] INFO -- : worker=3 ready
We’ve tried turning off Cloudflare and/or various components of it, including the firewall. Regardless, the admin dashboard won’t load. Everything else about the forum is working as expected. Everything was working as expected prior to rebuilding.
Every other part of the Admin section works as expected… it’s only the dashboard portion that won’t load.