1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Upgrade stuck at 1.2 alpha step 10

Discussion in 'Installation, Upgrade, and Import Support' started by Renegade, Jul 30, 2013.

  1. Renegade

    Renegade Well-Known Member

    Does the upgrade take too long at this step? It has been stuck at this stage for last 10 minutes now.

    Any suggestions?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If this is the first time you are upgrading from 1.1.5 it can take a while but not usually that long.

    Are you on a particularly slow server?
  3. Mike

    Mike XenForo Developer Staff Member

    There are a couple steps that have large alter table queries (that may take MySQL a while, depending on your server configuration and DB size). If you have a large forum, you may wish to use the CLI upgrade. Otherwise, simply refreshing should be fine.
  4. Renegade

    Renegade Well-Known Member


    Damn I have no clue what to do now.. I did take a full cpanel backup but I wonder how to pull the DB out of it.

  5. Andy.N

    Andy.N Well-Known Member

    Forum Watch addon by xfrock?
    You should disable all addon in config.php before upgrade.
  6. wickedstangs

    wickedstangs Well-Known Member

    How do you remove addon in the config.php file?
  7. Renegade

    Renegade Well-Known Member

    Nope I do not have that add-on installed. I disabled all add-ons from the admincp before upgrading.
  8. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to visit the relevant discussion threads for those add-ons and see what the resolutions are to upgrade to 1.2.

    Disabling the add-on works in most cases, unless the database has been modified.
    wickedstangs likes this.
  9. Renegade

    Renegade Well-Known Member

    Can't do that unless I know which add-on it is. The only xfrocks add-ons I have installed are tag me and widget framework
  10. Brogan

    Brogan XenForo Moderator Staff Member

    Which other add-ons do you have installed @Renegade?

    I have seen this error before but the other person I was assisting never responded.
  11. Rob

    Rob Well-Known Member

    My upgrade always falls over at step 10/11. As Mike says there are some intensive ALTER queries running on the posts table. Any sizeable board could easily time out on this step. I Defo recommend the CLI upgrade option..... Its painless.
  12. duderuud

    duderuud Active Member

    @Renegade , do the CLI upgrade:
    php library/XenForo/Install/run-upgrade.php
    My (large) board was also stuck at step 10 but the CLI upgrade went fine.
    My testforum with about 24mln posts took about 20-30 minutes to upgrade (on a not so fast virtual server).
    Rob likes this.
  13. Renegade

    Renegade Well-Known Member

    I have restored the earlier copy of the DB but now I cannot uninstall the add-ons as I can't reach the admincp. It shows, board is being upgraded please check back later.

    I have 15 or so add-ons installed but now I cannot see that list.

    The famous 5 minute upgrade has taken me 5 hours now and still counting.
  14. Brogan

    Brogan XenForo Moderator Staff Member

    If you want to restore your site to the pre-upgrade state then you will also need to restore the server files from the release you were using.

    We need to determine which add-on is the cause of the problem and come up with a solution.
  15. Mike

    Mike XenForo Developer Staff Member

    If the board upgrade message is showing, then the upgrade didn't finish. You need to go back to the upgrade system and pick it up again. (You may want to look at the MySQL process list / server load to determine if the alter is still running; if it is, there's not a lot that can be done until it's finished. You will want to check your MySQL config for the future though.)
    Brogan likes this.
  16. Renegade

    Renegade Well-Known Member

    I restored the DB and the files. I uninstalled most add-ons, upgraded those that were left and then disabled all of them before running an upgrade. The upgrade script is just stuck on the Upgrading... 1.2.0 Alpha, Step 10 for the last 5 or more hours.

    This upgrade is the most frustrating ever in the last 8 years of running a forum.
    Last edited: Jul 31, 2013
  17. Renegade

    Renegade Well-Known Member

    Alright I checked the mysql processlist and there were no processes running except the one to check the processlist. So I ran the CLI upgrade and it is showing Upgrade completed successfully. I cannot believe my eyes so just want to ask, does that mean everything went fine or will I discover missing tables/columns later?
  18. Rob

    Rob Well-Known Member

    Its fine :)
  19. multibam

    multibam Member

    Yes, command line upgrade is the way to go on big boards, otherwise php and/or your browser might time out...

Share This Page