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 process not updating database schema

June 22, 2012 12:49pm

Subscribe [1]
  • #1 / Jun 22, 2012 12:49pm

    tracesmart

    9 posts

    Hi there,

    I’m trying to upgrade Expression Engine from 2.1.0 to 2.5.2.
    The upgrade process appears to complete normally and progresses to each newer version with no errors, but the database schema is left unchanged.

    Due to several changes in the newer versions (e.g. the move to a salt-based hashing system),  the users are then unable to log into the admin control panel.

    Do you have any idea why this would happen, and how I can fix it?

    Thanks

  • #2 / Jun 25, 2012 3:50pm

    Dan Decker

    7338 posts

    Hi tracesmart,

    Welcome to the forums! I am sorry to see you’ve had trouble with the update process.

    The upgrade process appears to complete normally and progresses to each newer version with no errors, but the database schema is left unchanged.

    What leads you to believe the schema is unchanged? One table to look for is exp_developer_log. If that table exists, the update made changes.

    Have any of the users gone through the “Forgot password” process to reset their passwords?

    I look forward to your reply!

    Cheers,

     

  • #3 / Jun 28, 2012 8:11am

    tracesmart

    9 posts

    Hi there,

    I just performed another upgrade from the backup copy I made.
    It proceeds to version 2.5.2 with no errors, but when I try to reset the admin password I get the following error:

    A Database Error Occurred
    Error Number: 1054

    Unknown column ‘salt’ in ‘field list’

    UPDATE `exp_members` SET `salt` = ‘(removed)

    Filename: libraries/Auth.php

    Line Number: 423

  • #4 / Jun 29, 2012 4:51pm

    Dan Decker

    7338 posts

    Hi tracesmart,

    Can you verify the database selected in /system/expressionengine/config/database.php

    Are the credentials there correct for your site?

    Cheers,

  • #5 / Jul 03, 2012 5:29am

    tracesmart

    9 posts

    Yes, the database details are correct.

  • #6 / Jul 04, 2012 4:23pm

    Dan Decker

    7338 posts

    Hi Paul,

    I’ve honestly never seen anything like this.

    Have you renamed or moved your /system folder?

    Do you have an alternate prefix for your database tables?

    If you have changed the name of /system , make sure you update /admin.php with that information. admin.php is new between 2.1 (not included) and 2.5.2 It was first included with ExpressionEngine 2.2

    Can you tell me exactly what process you are going through to perform the update?

    Cheers,

  • #7 / Jul 05, 2012 5:39am

    tracesmart

    9 posts

    We have moved the system folder, the structure looks like this:

    -- sitename/public/ (Apache document root)
         -- images/
         -- themes/
         -- index.php etc..
    
     -- sitename/admin/
         -- expressionengine/
             -- config/
                 -- database.php
                 -- config.php etc..
    
     -- sitenameadmin/public/ (Apache document root)
         -- index.php

    The last file in that list contains the $system_path setting and this is accessed as a different VirtualHost in Apache for security reasons.

    To perform the update, I follow the standard instructions and use the URL for our Admin CP.

  • #8 / Jul 06, 2012 10:52am

    Shane Eckert

    7174 posts

    Hey tracesmart,

    Quick question.

    Is the database on the same host as ExpressionEngine?

    I am not sure what that last location is about, the one on the bottom with another index.php.

    Thank you,

  • #9 / Jul 06, 2012 11:07am

    tracesmart

    9 posts

    The database is on a different host.

    The last location is the primary index.php for the Admin CP and pulls in the bootstrap from the middle set of directories.

  • #10 / Jul 09, 2012 1:35pm

    Dan Decker

    7338 posts

    Hi Paul,

    While what you are doing here is certainly not main-stream, it should technically work.

    So, we would like to get in for a closer look. Be on the lookout for an email from EllisLab and be sure to include a means for us to access your database.

    Cheers,

  • #11 / Jul 11, 2012 11:57am

    Dan Decker

    7338 posts

    Hi Paul,

    Have you had a chance to look at the email we sent?

    We would really like to give you some hands-on assistance with this if you still need help!

    Cheers,

  • #12 / Jul 17, 2012 5:59am

    tracesmart

    9 posts

    Hi there.

    I asked Paul and he didn’t get the email (I’m a SysAdmin at our company who’s trying to upgrade EE).
    I’ll try some other ways of upgrading then post back if it doesn’t work out.

  • #13 / Jul 17, 2012 5:13pm

    Shane Eckert

    7174 posts

    Hey tracesmart,

    Thanks for letting us know. We will be on the lookout for an update from you.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases