• Hi

    How do I force the upgrade.php to run again?

    I am moving a version 2.2 installation to a new server and decided to upgrade at the same time.

    I installed 2.3.1 on the new server. I copied over my wp-config.php, and all the files from wp-content.

    I hit the wp-admin/upgrade.php and it was all upgraded.

    Then I realised I forgot to bring the actual data over to MySQL (I had just set up the database and user). I noticed that the upgrade had changed the table structure in MySQL.

    I deleted the new database and synced my old database over with all the data. I then went to wp-admin/upgrade.php again but it says I’m already upgraded.

    I am guessing I need to somehow force it to do it’s thing again? How?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Well if you DROPped the tables, then brought your old database over, I’d have thought the upgrade.php would have run successully.

    DROP those tables again and bring over those old tables over again.. then do the upgrade.php (assume you have 2.3.1 WordPress files uploaded).

    Thread Starter paulwillis

    (@paulwillis)

    I did drop the tables, in fact i dropped the whole database.

    I should say my site appears to be working ok. It’s just that when I saw the 2.3.1 database after running upgrade.php the table structure was different.

    After bringing my 2.2 database over and hitting upgrade.php again nothing changed. I’m just assuming that something isn’t quite right that will bite me later?

    At new server:
    1. DROP database tables (use phpMyAdmin
    2. Import (with phpMyAdmin) 2.2 database tables
    3. Follow Steps 7 and 8 of Upgrading WordPress Extended
    4. Do the upgrade.php step

    Thread Starter paulwillis

    (@paulwillis)

    OK, this worked, upgrade.php ran and updated the database, as I would have expected because it was basically wipe and reinstall everything.

    Only trouble is now although my content is there I seem to have lost my stylesheets or something.

    I’m not sure what is going on.

    I think I’m going to wipe everything from the new server, install 2.2, move my site over, make sure it all works and then upgrade to 2.3.1

    Thanks for you help anyway.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Re run the upgrade process’ is closed to new replies.