WordPress.org

Ready to get started?Download WordPress

Forums

Long overdue update (2 posts)

  1. WillemGrooters
    Member
    Posted 5 months ago #

    I know it's ridiculous that I;m running such an old version but believe me, I have good reasons for that. Nevertheless, I want to move on - but given the number of versions to skip, that is rather a lengthy road, when I would follow the recommendation to go step-by-step, a max of two versions in between....
    I know I should do:
    * disable all plugins
    * disable all themes that I use and revert to the default
    * run the update, test it.
    * and the next
    * and the next .... and so on, until I'm at the latest version.
    The other (fast track) would be to export all data, install the latest version, create a new database and import the previous data. But that would only work proper;y if the database schema hasn't changed, of have been thoroughly be documented. Neither is true, I think: I haven't seen anything on the site for both....

    Any ideas on how I can speed things up without ruining my database? (I do,. of course, have backups that I can restore, but that, again, takes time.)

  2. Abhishek Ghosh
    Member
    Posted 5 months ago #

    Any ideas on how I can speed things up without ruining my database? (I do,. of course, have backups that I can restore, but that, again, takes time.)

    For practical purpose, unfortunately Shortcut can fail. Take a backup (of database) and test it is very importing. You will see the options to compare for changes against old files. For some you'll get direct comments like this by Ryan.

    Obviously there will be database schema changes. For ver 2.3 changes were in three places. I can remember because I got pathetic pain! Probably it is an impossible way to think unless you are Matt, Ryan, Mark or someone like who was with WordPress core since ver ~1.5...Plus MySQL might have some significant changes...

    You can check the files in Trac here.

    The shortcut is to take backup (as sql or tar ball of sql) of few tables - wp posts, wp post meta, wp- comments, wp-comments meta etc. Obviously, deactivate all the plugins before doing it. Install WordPress on dev site (it is a demo for you, do not do in production site before testing).
    Go to PHPMyAdmin and delete the wp posts, wp post meta, wp- comments, wp-comments meta etc. MySQL Tables and import your old WordPress installation's same named MySQL Tables. You are basically replacing. Test if it works. Success depends on how much you are used with handing at least MySQL database.

Reply

You must log in to post.

About this Topic

Tags