Discussion in 'Installation, Upgrade, and Import Support' started by Mouth, Oct 10, 2013.
504 Gateway Time-out
nginx 1.4, php-fpm 5.5
Goes into detail on some of the problems. I've never had the problem of it occurring but I run my sites on dedicated dual Xeon 5520's with 24GB RAM.
Try the CLI upgrader if you have shell access to your server:
Thanks, incorporated those into my configs but have proceeded with Jake's CLI option below. That's a nice site - spent 15 mins going through it!
Thanks, I ran the CLI and ran the upgrade but received another error. I'll post another thread for that, as I think it's unrelated to this issue.
I'm not sure why I received an alert to this thread creation. I'm not following Mouth or subscribed to this forum and I've not been tagged
This generally happens if a post was split to a new thread (and you had already received an alert for it).
Which this was .... I originally posted it as a message inside http://xenforo.com/community/resources/how-to-upgrade-to-1-2.2397/ and it was split into here
That makes sense.
Sorry to go slightly OT in your thread Mouth. Maybe it would be worth thinking about an option to add a line to the page description below the title when posts are split off from threads to prevent confusion. Something like this perhaps? It would help to give a bit of context to split threads.
Make a suggestion!
@Jake Bunce I'm having the same problem upgrading to 1.2.2 on our test site.
It gets to "Upgrading... 1.2.0 Alpha, Step 10" then fails with a gateway timeout.
Can I literally just run the CLI upgrader or do I need to configure anything first?
Also what is Step 11 as that's the one it seems to be hanging on.
Step 10 involves conversations, step 11 involves the post table, step 12 involves the IP tables. All of these can have quite a lot of data so MySQL may take some time to alter them. You can use SHOW PROCESSLIST; to monitor them.
You should be able to go straight into the CLI. Note that it doesn't strictly provide an advantage -- MySQL won't run the query any faster -- except in the case of a timeout. Where you'd normally get a timeout and have to refresh, you won't get the timeout and the script will continue when the query completes.
Separate names with a comma.