Archive for December, 2007
Easy WordPress Upgrade
Monday, December 31st, 2007Now that I’ve been using WordPress for a while, I wanted to simplify the upgrade process. Like many users, I’ve customized my WordPress installation enough that doing the unzip over the top just does not feel safe. I’ve wanted a Unified Diff for a while, but have just been lazy about it. WordPress uses Subversion to manage their source code, so it is pretty easy to do. Here’s what you need to do.
Edit: You will need shell access to the server as well as the Subversion client installed.Â
Note: BACKUP YOUR WORKING COPY! I will take NO responsibility for broken WordPress installations!
- run
svn diff http://svn.automattic.com/wordpress/tags/2.3.1 http://svn.automattic.com/wordpress/tags/2.3.2 > wp-upgrade.patch
to get your unified diff patch file. Keep in mind, just change the versions at the end of those URLs to the versions you are upgrading. The first version number should be your current WordPress version, the second should be the one you want to upgrade to. - Check to see what the patch is doing, and make sure it is not dinking with anything in the wp-content directory… If so, review those patches carefully and optionally remove them.
- Disable all the plugins.
- Move the patch file into the directory for the WordPress installation you are upgrading.
- Run
patch -p0 < wp-upgrade.patch
(Note: you may need to do this as a super user depending on permissions) - Be sure that patched file owners/permissions match the existing owners/permissions.
- Go to http://www.yoursite.foo/wp-admin/upgrade.php.
- Reactivate plugins.
Then you are all done! I hope this makes your upgrading process feel safer!
Teehee!
Sunday, December 30th, 2007HAHA!
Saturday, December 29th, 2007mmmNoodleSoup
Friday, December 28th, 2007Learning!
Thursday, December 27th, 2007Garrett says Hi Erin!
Thursday, December 27th, 2007Cars @ the Saucer
Thursday, December 27th, 2007W00t
Thursday, December 27th, 2007There they are!
Thursday, December 27th, 2007Waiting for the trains!
Thursday, December 27th, 2007How many miles in a year?
Tuesday, December 25th, 2007Not all of them, since I did have to take a few 1 way connectors for multi-city trips, but from what I can track on my main airline…
- Segments Flown: 115 (plus at least 2 others that I know were not counted).
- Miles Flown: 114,450 (not including aforementioned segments).
- Airlines flown: 3.
Phew…. Enjoying time off!
Merry Christmas everyone!
Tuesday, December 25th, 2007Hope you all enjoy it! We are FINALLY living the dream of staying home on Christmas, and as soon as with wife is ready, Garrett gets to enjoy his THIRD!