WordPress 2.0.4 Update



It has been a few days now, but I noticed that WordPress 2.0.4 has now been released and is highly recommended due to the fixing of a few security issues. They also list a number of bugfixes as well. So, if you’re running a site based on wordpress it’s time to update. It’s really a fairly painless process. I do recall upgrading ONE site to 2.0.3 and it was quite painFUL…. things went quite wrong and I had to restore the database from a backup. BUT… I’ve now upgraded 5 or so installs to 2.0.4 without a hitch. (One was a 2.0.3 install and the others were (I believe) 2.0.2).


I haven’t yet seen specifics on the security issues, but I did see a mention at SecurityFocus and you can be bet that there will be some people looking for details to see what they can exploit.

For your info (and my future reference)…. here’s the way I tend to do these upgrades. Open up a tab with the main site page (domain.com) and a tab with the admin page…. open a ssh session to the ssh console of the site.

Next…. my host has a tendency to force most commands to be interactive which drives me nuts. alias cp=’cp’ is the first thing I do…

then …

wget http://wordpress.org/latest.zip
unzip latest.zip
mkdir backup
cp wp-config.php ./backup
cp wp-content ./backup -r

Now…. we’ve got everything unzipped to a directory called wordpress (it just defaults to that) and I’ve got everything backed up that I really need. (Database backups are handled by a cron job…)

OK – in the admin page go to the plugins and disable everything.

NOW back to ssh
cd wordpress
ls (just to see what’s there….)
cp * ../ -r

Now go back and re-activate plugins. In the case of a database upgrade it will say you’re database needs upgrading click here…. next page gives a link to click and that’s all. Then it asks if you really want to activate plugin “” (it forgot what we were trying to do in the midst of the database upgrade.)

It takes you back to the plugin page – nothing has been enabled yet – you can go through and activate what you had previously. Refresh the main site page (to make sure all looks good.)

Then you can cd .. in the ssh session and rm latest.zip and the temporary wordpress directory.

It really makes for a relatively quick process. (5-10 minutes/site?)

Related Posts

Blog Traffic Exchange Related Posts
  • Wordpress Stats plugin not updating - fix There are a lot of good things to like about the newer versions of wordpress. It seems to keep getting better. One of the really cool plugins is the Wordpress.com stats plugin. This lets you have a nice simple stats interface accessible from your Dashboard on your wordpress blog. (It......
  • Network Security guide for the home or small business network - Part 19 - What about when you're not on your home network? When you're not at your home network is probably one of those times you should be more on your guard. Wireless access points are very common and a greatly useful thing, but there are some steps you should take to protect yourself, your pc and the data stored there. First......
  • FeedForAll tweaking I really have enjoyed using FeedForAll as a nice, customizable way to insert ANY RSS feed into a web page. I use it with some of my wordpress sites to get relevant news (relevant to the page in question) published without the toil of multiple daily updates. It's a nice......
Blog Traffic Exchange Related Websites
  • How to Migrate a WP Installation from One Server to Another via Cpanel How to Migrate a WP Installation from One Server to Another via Cpanel. This post would serve as an announcement as well as a "How To". I recently moved from one hosting service to another to consolidate a part of my domains in 1 of my hosting servers and to......
  • Frugal 3.5 is better than ever Believe it or not, Frugal has just celebrated its first birthday. It seems like Frugal has been around much longer since the theme has made such a big splash in the WP theme community. Those of you who have been with me for a while know that I've been a......
  • Top 3 WordPress Marketing Plugins If you want to use WordPress as a marketing tool for your small business, these three WordPress marketing plugins are the best I have found to date. 1. Related Websites by Blog Traffic Exchange (Inbound Links Plugin) Related Websites is a plugin, which adds some links at the end......
PDF24    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site