jump to navigation

Upgrading WordPress-MU to 1.5.1 May 30, 2008

Posted by ficial in brain dump, techy, web 2.0.
trackback

I’ve had occasion over the last couple of days to upgrade our WPMU install from version 1.3 to 1.5.1 and the process was remarkably painless. It took a bit of time to get everything lined up and ready to go but the actual switch over was smooth and easy.

Largely, I followed the guidelines most helpfully shared on Robert Mao’s blog about his upgrade to v1.3. The only onerous parts were getting the DB backed up before I did anything and then getting privs to do the file-system work I needed to do.

Overall, my process was:

  1. Make a backup of the whole database – there are a number of ways to do that. I used the DB copy feature in phpMyAdmin. There’s also a handy little DB backup script posted on the wordpress codex, but it didn’t work for me because the account we’re using didn’t have appropriate privileges.
  2. Download the latest WPMU package
  3. Unpack it at the same level as the current WPMU install. E.g. if your current install in in /web/blogs/ then unpack the latest version to /web/wordpress-new/
  4. Copy form the current install into the new install:
    • wp-config.php : e.g.
      cp blogs/wp-config.php wordpress-new/wp-config.php
    • .htaccess : e.g.
      cp blogs/.htaccess wordpress-new/.htaccess
    • wp-content : e.g.
      cp -r blogs/wp-content/* wordpress-new/wp-content/
    • any custom, support directories / tools : e.g.
      cp -r blogs/latexrender wordpress-new/
  5. change directory names so the new version is live:
    mv blogs blogs_orig; mv wordpress-new blogs
  6. Go to your blog site and log in as the admin
  7. Click on Site Admin (far right), then Upgrade (rightmost on the sub-menu), then the Upgrade Site button
  8. Once the upgrades finish running check your blogs to make sure everything is running OK

I didn’t have to do any special plugin treatment or anything, but I don’t have many to worry about, and the ones I have are pretty simple. The process if problems do arise is to deactivate all of then and then re-activate them one at a time until you find the problem ones. Fixing plugin problems is left as an exercise for the reader :P

Advertisements

Comments»

1. Scar - June 19, 2008

I thank you for your tip;-)

2. David Kane '88 - July 11, 2008

Any updates on the blogs at Williams that this is supporting?

3. Mr Happy » Equatorlive upgraded to Wordpress Mu 1.5.1 - July 16, 2008

[…] ficial.wordpress.com – for giving me the basic outline of what to do […]

4. ficial - July 22, 2008

Hi David,
One of the projects our summer technology interns are working on involved creating a blog there for a department, and an art prof may try something, but besides that there’s not too much excitement on this front. In general those who are interested in such a thing already have gotten one elsewhere, and the remainder falls into two main groups – those who are intrigued but don’t have the time, and those who want nothing to do with such a thing.

So, there will be a good departmental blog there this fall, there may be an art blog there, but not much in the pipeline besides that. We’re currently more focused on exploring standalone WP installs as lightweight CMS tools. We have several sites like that due to be released this fall.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: