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.

Upgrade Wizard does not detect existing installation

August 16, 2010 4:18pm

Subscribe [7]
  • #1 / Aug 16, 2010 4:18pm

    ACT

    42 posts

    I just downloaded the latest 2.1 and I am trying to upgrade from the latest install of 1.6.9.

    I have followed the upgrade instructions at http://ellislab.com/expressionengine/user-guide/installation/update_from_1.x.html.

    I point my browser to http://alachuaconservationtrust.org.lhost7.atlantic.net/system/ and I get:

    Welcome to the ExpressionEngine Installation and Update wizard.

    This utility enables ExpressionEngine to be installed for the first time or updated from an older version.

    I click Click here to Continue and the next page does not allow me to upgrade.  There is one link and it says:

    Click here to install a brand new copy of ExpressionEngine

    How do I get it to recognize my existing installation?

  • #2 / Aug 16, 2010 9:22pm

    Brandon Jones

    5500 posts

    ACT,

    Per Step 2 of those instructions, have you uploaded the backed up (1.x) copy of config.php to system/expressionengine/config/ ?

  • #3 / Aug 16, 2010 10:07pm

    ACT

    42 posts

    I tried to make a new one by editing the one from the install.  There may be a problem with my config file.  I have no idea what that idea is.

    I will try one last time.

  • #4 / Aug 16, 2010 10:56pm

    ACT

    42 posts

    Hi Brandon,

    I am working with the latest download and upgrading from 1.6.9

    I am back at

    An Error Was Encountered
    
    There was an error moving your existing template files to an archive folder. Please manually move any folders in the form system/expressionengine/templates/<site_short_name>/ to a backup location and then Resume the Update.
    
    « Back

    The url is http://alachuaconservationtrust.org.lhost7.atlantic.net/system/index.php?C=wizard&M=do_update&agree=yes&ajax_progress=yes&language=english

    I do not have any templates in the file system and I do not have a /alachua/ (or similar folder beneath templates.

    I clicked Back.

    I am leaving it as it is, ready to upgrade but not upgraded.  I will wait for further instructions.

    Thank you,

    Andrew Bloss

  • #5 / Aug 17, 2010 3:09pm

    ACT

    42 posts

    Hello again,

    How can I avoid the issue with the template folder?  Can I make a sub-folder of templates to keep it happy and add a file?  If so what should the file and folder be called.

    I have tried rerunning the wizard after clicking the Back button because of the error in the previous post and got:

    We have detected that you are currently running ExpressionEngine version 2.0.2
    
    If you are ready to update ExpressionEngine to version 2.1.0 click the link below:
    
    Click here to update ExpressionEngine to Version 2.1.0

    I started on version 1.6.9.  Should I edit config.php and set app_version to 169?

  • #6 / Aug 17, 2010 10:36pm

    Lisa Wess

    20502 posts

    Hi, ACT - it sounds like the updater has run up to 2.0.2.  Do you have something similar to ud_next_step in your config.php?  If so, please post what that says.

  • #7 / Aug 18, 2010 11:34am

    ACT

    42 posts

    I have restored so I can not look at the config.php.

    I ran the wizard again and at:
    http://www.example.com/system/index.php?C=wizard&M=do_update&agree=yes&ajax_progress=yes&language=english

    get:

    An Error Was Encountered
    
    There was an error moving your existing template files to an archive folder. Please manually move any folders in the form system/expressionengine/templates/<site_short_name>/ to a backup location and then Resume the Update.
    
    « Back

    At this point the config.php has not yet been changed by the wizard.

    I do not have any template file or folders so I can not follow the instructions to manually move any folder in the system/expressionengine/templates/<site_short_name> to a backup location.

    So I click Resume the Update. 

    I get to http://www.example.com/system/index.php?C=wizard&M=do_update&agree=yes&language=english&ajax_progress=yes

    and see:

    {"error":"
    
    Error Number: 1054
    \n\n
    
    Unknown column 'last_revision_id' in 'exp_wiki_page'
    \n\n
    
    ALTER TABLE `exp_wiki_page` CHANGE `last_revision_id` `last_revision_id` INT(10) NULL DEFAULT NULL
    "}

    I have attached the starting and current config files.

    Mod: Edited for security

  • #8 / Aug 18, 2010 11:59am

    ACT

    42 posts

    In what version was the the column last_revision_id added to table exp_wiki_page?

    It is not present in the table after I upgrade from 1.6.7 to the latest download of 1.6.9.

  • #9 / Aug 19, 2010 1:49am

    John Henry Donovan

    12339 posts

    ACT,

    I have restored so I can not look at the config.php.

    You say this but you have attached both your configs. Where are you now. Have you rolled back to 1.6.9 completely

    Can you roll back your database to before you attempted your upgrade please
    Then complete or doublecheck all steps in the upgrade docs as far as step 3.

    I tried to make a new one by editing the one from the install.  There may be a problem with my config file.

    Don’t do this please. As per the docs you upload the backed up copy of config.php to system/expressionengine/config/.

    Please reply here when at step 3

  • #10 / Aug 19, 2010 12:25pm

    ACT

    42 posts

    Hi John,

    I am at step 3. The config is original.  It fails both ways.  I investigated the config.php after the upgrade failed.

    Ready to proceed. 

    Andrew

  • #11 / Aug 20, 2010 1:11am

    John Henry Donovan

    12339 posts

    Andrew,

    Ok lets double check the following.

    You downloaded the most recent build of EE as of yesterday and that’s what you uploaded?

    You haven’t set the cache folder permissions yet as outlined in step 3
    Please set all the permissions as outlined in Step 3

    Can you also set the permission of system/expressionengine/templates/ to 777

  • #12 / Aug 20, 2010 12:05pm

    ACT

    42 posts

    Hi John,

    I have the download that was added to my download area when I bought it.  It is 2.1.0 - Build: 20100810.  I do not see a more recent version. 

    I have finished step 3 and changed the ee/templates/ to 777. 

    What’s next?

  • #13 / Aug 20, 2010 7:24pm

    Brandon Jones

    5500 posts

    Hi ACT,

    Can you confirm your database is the 1.6.9 version, and please post the /system/expressionengine/config/config.php you have in place? Be sure to remove all sensitive information from the file before posting it.

  • #14 / Aug 20, 2010 9:34pm

    ACT

    42 posts

    <?php
    
    if ( ! defined('EXT')){
    exit('Invalid file request');
    }
    
    $conf['app_version'] = "169";
    $conf['license_number'] = "";
    $conf['debug'] = "1";
    $conf['install_lock'] = "1";
    $conf['db_hostname'] = "mysql1.atlantic.net";
    $conf['db_username'] = "xxx";
    $conf['db_password'] = "xxx";
    $conf['db_name'] = "xxx";
    $conf['db_type'] = "mysql";
    $conf['db_prefix'] = "exp";
    $conf['db_conntype'] = "0";
    $conf['system_folder'] = "system";
    $conf['doc_url'] = "http://expressionengine.com/docs/";
    $conf['is_system_on'] = "y";
    $conf['allow_extensions'] = "n";
    $conf['multiple_sites_enabled'] = "n";
    $conf['cookie_prefix'] = "";
    ?>
  • #15 / Aug 22, 2010 3:07pm

    Greg Salt

    3988 posts

    Hi ACT,

    Okay, that looks correct. Please confirm that the current version of the DB is the 1.6.9 version?

    Cheers

    Greg

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

ExpressionEngine News!

#eecms, #events, #releases