User Tools

Site Tools


wiki_notes

This is an old revision of the document!


Upgrading DokuWiki

[Thanks to Chris Mayfield and others for these notes.]

Here's how to upgrade the wiki software manually. See upgrade instructions for more details.

The following commands should be run on bikmort.com in the /home/jtkorb/bikmort.com directory.

Download and unpack the latest version of DokuWiki (step 2).

$ wget http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2009-12-25.tgz
$ gunzip dokuwiki-2009-12-25.tgz
$ tar xvf dokuwiki-2009-12-25.tar

Disable the web server and make a snapshot backup of the wiki (step 1):

$ apache/bin/apachectl stop
$ cp -rp cs4edu cs4edu_2010-01-06

Copy the new version into the old, double check permissions (steps 3 and 5):

$ cp -rf dokuwiki-2009-12-25/* cs4edu
$ ls -lR cs4edu | less

Remove old files and clear the data cache (step 4):

$ egrep -v "^($|#)" removeold.txt | xargs -n 1 rm -rf
$ rm -rf data/cache/*

Turn the web server back on:

$ apache/bin/apachectl start
wiki_notes.1262878883.txt.gz · Last modified: 2010/01/07 07:41 by jtkorb