Image 01 Image 02

using svn to update wordpress

Posted on 10th August 2007 by Taggy
0

I have been running wordpress 2.1 for sometime and seeing stammy upgrade to the bleeding edge wordpress,i though it should be fun to do that . Given that i love playing around with the latest softwares even if they are buggy :-) .

What do you need to be able to upgrade to the latest wordpress build ?

SSH access,SVN client installed and the heart to put up with bugs incase they come up (most probably they will ).

So login to your shell (ssh) and make sure you take a backup so that you can restore things well incase you screw it up .

If you installed wordpress by fantastico/Oneclick installer or downloaded package ,then

svn co http://svn.automattic.com/wordpress/tags/trunk .

This should get the latest build of wordpress in the current directory and now its time to update the databases .

go to http://yourdomain.com/wp-admin/upgrade.php and upgrade your DB’s and thats it you are done .

and from next time if you want to upgrade to the latest build then just do

svn co http://svn.automattic.com/wordpress/tags/trunk . and go to install.php from your browser

and yeah incase you get a mysql error like the one i got you must do this on your shell

svn update -r 5857 wp-includes/wp-db.php and it should be fine .

Thanks to stammy ,i was wondering if i should have shifted back to stable version until he gave me a solution .

And whats new in wordpress 2.3 ? the all new tagging system comes in by default now :-) .

[tags]wordpress,svn[/tags]

Send post as PDF to www.pdf24.org


Leave a reply...






FireStats icon Powered by FireStats