automatic wordpress update with subversion and wptool

Saturday, 18 July 2009 at 13:21 UTC 1 comment

i’m updating and upgrading my wordpress installations per cronjob with the cool wptool from Christiane Ruetten, published in German “c’t magazin fuer computertechnik”.

This little script uses the http://svn.automattic.com/wordpress/ as subversion base.
Today this location is not available and the update terminates with the following failure:

svn: PROPFIND request failed on '/wordpress/tags/2.8'
svn: PROPFIND of '/wordpress/tags/2.8': could not connect to server (http://svn.automattic.com)

Don’t know, if this is forever or a temporary failure.
If wordpress.org moved their svn repository to core.svn.wordpress.org completely, the wordpress wiki must be updated!

To update wordpress installations from the “new” core.svn.wordpress.org repository with wptool, some slight modifications are necessary:

1. go to wordpress installation directory and relocate the svn repository

cd /usr/local/your_wordpress_dir
svn switch --relocate http://svn.automattic.com/wordpress/tags/2.8 http://core.svn.wordpress.org/tags/2.8

2. update the wptool script

#svn_base='http://svn.automattic.com/wordpress/'
#lang_base='http://svn.automattic.com/wordpress-i18n/'
svn_base='http://core.svn.wordpress.org/'
lang_base='http://core.svn.wordpress.org/'

3. run the upgrade again

./wptool upgrade /usr/local/your_wordpress_dir
...
Updated to revision 11719.

Success!

Advertisements

Entry filed under: wordpress. Tags: , .

mail spam rabl.nuclearelephant.com is dead howto combine locale en_US and de_DE in Ubuntu

1 Comment Add your own

  • 1. berbagicerita  |  Saturday, 18 July 2009 at 20:22 UTC

    hello friend,how are you to day?nice post for you and thanks for sharing!!!

    Reply

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

Trackback this post  |  Subscribe to the comments via RSS Feed


Categories


%d bloggers like this: