Upgrading to WordPress 2.7 Coltrane
| Posted by watashii | Filed under Unix, WordPress
I have just gone through the tedious task of upgrading my WP from 2.5 to 2.7. What i’m looking forward to this is the WP Upgrader feature which I can upgrade WP directly via the Admin panel. This means I don’t need to manually move files in/out of my linux web server in the future. Of course i have to manually put 2.7 in the first place to do that!
Upgrade document is available here, below are my steps.
1) Backup all my file contents on web server.
tar -cvf - $WEBHOME/blog_dir | gzip -9 $WEBHOME/backup_dir/my_blog.tar.gz
2) Backup the mysql database. I used WP-DBManager plugin to help me do this. A single click and that’s it!
3) Deactivated all the plugins via admin panel.
4) Delete wp-admin and wp-includes directories on web server.
rm -rf $WEBHOME/blog_dir/wp-admin $WEBHOME/blog_dir/wp-includes
5) Download the new WP and place/replace all the files on web server.
6) Login to the admin panel and accept the database upgrade changes.
7) Activate the required plugins. If using the WordPress.com Stats plugin, I had to ‘transfer’ my old site stats to a new site, even though its the same site.