Posts tagged ‘wordpress’

automatic wordpress update with subversion and wptool

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 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 (

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

To update wordpress installations from the “new” 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

2. update the wptool script


3. run the upgrade again

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



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

howto upgrade wordpress under ubuntu

it is very easy to upgrade wordpress with Ubuntu:

step 1

download current wordpress version (today 2.6).

step 2

backup old database scheme and old wordpress files

$ mkdir /backup/wp/20080717
$ mysqldump -u user -p DB_SCHEMENAME > /backup/wp/20080717/blog_dump.sql
$ tar cfz /backup/wp/20080717/blog_backup.tgz /YOURDIR/wordpress

step 3 unpack new wordpress software

$ cd /tmp
$ tar xfz latest.tar.gz
$ cp -avr /tmp/wordpress/* /YOURDIR/wordpress/
$ rm -rf /tmp/wordpress /tmp/latest.tar.gz

Thursday, 17 July 2008 at 22:15 UTC 3 comments