Wordpress 2.3 Upgrade wows

It never fails me, no matter how “easy” I try to make the wordpress upgrades with SVN and supllying my own repos there’s always something that goes wrong.

This time when setting up my sites with my own wordpress repo that I apply updates to I mistakingly overwrote the wp-contents folder, taking it out of checkout and then resulting in the svn update to bomb when it got to that folder.

It shouldn’t have been a big deal, just delete the folder or rename it then do another update. Well I ended up running some of the update.php scripts prior to noticing the problem and the upgrade when bad. I’m not sure how they became related but my guess is there were some files in the includes or the admin folder that weren’t included.

I ended up having to restore two dbs, including this one and rerunning the script (again) after a proper checkout. Argg, and I also had to stay up this late messing around when I should be sleeping.

I’m going to suggest that the wordpress devs include a force upgrade script, since that would have alleviated the restores. I wonder what and where get_option(‘db_version’) checks or is it something else I could have reset to force the reinstall.

About the Author, Dan Cameron:

I'm the owner and solution engineer at Sprout Venture, a web solutions company that specializes in web development including WordPress.

I started my first blog in 2003 and transitioned to WordPress in 2004. Since moving to WordPress I've written a few plugins and themes for public consumption. Lately I'm busy engineering/building/coding and have only been able to share a few code snippets.

If you're in need of some web development, web design or custom WordPress plugins and/or themes contact me, I'll be happy to discuss it with you.

Read More »

blog comments powered by Disqus