ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Upgrading to 2.4 without the upgrade wizard

May 03, 2012 4:26am

Subscribe [2]
  • #1 / May 03, 2012 4:26am

    iammikek

    10 posts

    I’m in the process of upgrading a ee site from 2.2 to 2.4. I’ve made all the file system changes as per http://ellislab.com/expressionengine/user-guide/installation/update.html and am now running the upgrade wizard.

    The issue i’m getting is how long its taking to upgrade. Currently > 12 hours on a site with 9000+ channel entries.

    The url that constantly refreshes is:
    admin.php?C=wizard&M=do_update&agree=yes&progress=no&ajax_progress=yes&language=english

    Is there a faster way /any command line tools which will allow me to upgrade the db directly without going through the browser or is there something i’ve missed in upgrading that is preventing this from completing?

    Thanks

    (ps i can restore my db if i need to restart anything)

  • #2 / May 03, 2012 2:08pm

    Dan Decker

    7338 posts

    Hi iammikek,

    That is an awful long time!

    I suspect your database is large enough, it should trigger the “large database upgrade” warning.

    Can you check the size of the database and let me know? In the meantime, I would suggest rolling back to 2.2 until we can get a clear picture of how to help you move forward.

    I’ll keep an eye out for your reply!

    Cheers,

  • #3 / May 04, 2012 4:40am

    iammikek

    10 posts

    hi dan
    thanks for getting back to me.
    turns out the installer was having issue with the way my config file was configured.

    although the site doesnt object to the following in config.php, the installer did.

    if($_SERVER['HTTP_HOST'] == 'secure.clientsite.co.uk') {
    include 'config.production.php';
    } else{
    include 'config.local.php';
    };

    just copying in config.local.php over the top of config.php fixed it and the installer has run us up to 2.4 now.

    is there a prefered approach for config switching dependent on url? we use deploy_helper to set stuff in the db when we publish up but could do with something more static so we can just push our dev to live via svn

    thanks
    mike

     

     

     

  • #4 / May 07, 2012 3:43pm

    Dan Decker

    7338 posts

    Hey Mike,

    You may be interested in the Focus Lab Master Config - it works a treat in VCS and auto-detects based on the environment it is running on.

    Is there anything else I can assist you with?

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases