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

Upgrading beta1 to beta2 doesn't work. Forum is stuck

Discussion in 'Installation, Upgrade, and Import Support' started by Brother Malachi, Oct 28, 2010.

  1. Brother Malachi

    Brother Malachi New Member

    Our forum seems to be stuck. Main page is disabled, admin CP says need to upgrade, the upgrade page says "No upgrade available" and has a "rebuild masterdata" button. When I click on that it "loads" for some 30 seconds then changes to "An error occurred. The request is being resubmitted."
    Afterwards, it changes to a 500 internal server error.

    What do I do??
  2. Brother Malachi

    Brother Malachi New Member

    I enabled debug mode, but no additional error was posted.
    I also found a post that talked about modifying js/xenforo/cache_rebuild.js and increasing the timeout value for one of the variables. I did so, but nothing changes.
    I still get the final 500 internal server error. How can I check what the error is? I looked in cpanel, but the error log does not provide any additional info regarding the 500 error.
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The "No Upgrade Available" page means that the file version matches the current version of the forum. There must have been a problem with the file upload. I suggest you try uploading the beta2 files again.
  4. Brother Malachi

    Brother Malachi New Member

    Well, when I go to the /install url i see this:
    No Upgrade Available
    You are already running the current version (1.0.0 Beta 2). To do a fresh install, click here.
    With a button: <Rebuild Master Data>

    Should I still try reuploading?
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It seems as though the forum was upgraded to beta2. Did it allow you to run the upgrade initially before these problems started happening? If so then were there any errors during that initial upgrade process?
  6. Brother Malachi

    Brother Malachi New Member

    Nope, the exact thing happened. I uploaded the files, went to forums/install which redirected to the upgrade page then the "request is being resubmitted" error came up and now im stuck.
    Reuploading files...hopefully that helps
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Hmm. We really need to know the underlying error message.

    You say it loads for about 30 seconds and then throws the generic error message. 30 seconds happens to be a common timeout for PHP scripts, so this might be a timeout problem.

    To address a possible timeout problem you can ask your host to increase PHP's max_execution_time.

    You can also try changing the max_execution_time yourself. These methods don't always work, but try adding this to your library/config.php file:

     ini_set('max_execution_time', 120);
    Or add this to a .htaccess file on your server (only works on Apache servers):

     php_value max_execution_time 120
  8. Brother Malachi

    Brother Malachi New Member

    That didn't help. It's actually a bit less than 30 seconds. Maybe 15-20 before the first error comes up then another 10 and the page reloads.

    No one else has had this problem? The site has been down since last night 10PM :(
  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    At this point I suggest you look in the server logs for the specific error message. You might need to consult with your host to obtain the logs.
  10. Brother Malachi

    Brother Malachi New Member

    I was looking at some of the other threads and found one where Mike suggested commenting out this line:
    from library/XenForo/DataWriter/PermissionGroup.php and that did the trick. Our forums are back to a normal state now.
    I'll still look into obtaining the log files and posting here what exactly was causing the issue. Hopefully it will help someone in the future.

    Thanks for your time Jake.
    It's greatly appreciated.

    - Nick
  11. Mike

    Mike XenForo Developer Staff Member

    Beta 3 has various changes to improve this.
  12. Brother Malachi

    Brother Malachi New Member

    Great news! Is there an ETA?
  13. Ruven

    Ruven Well-Known Member

    calm the **** down!
    oh and thanks for fixing the site this morning :D

Share This Page