User Tools

Site Tools


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 in the /home/jtkorb/ directory.

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

$ wget
$ gunzip dokuwiki-2009-12-25.tgz
$ tar xvf dokuwiki-2009-12-25.tar

It would be nice to disable the Dreamhost web server before making a snapshot backup of the wiki (step 1):

$ cp -pr dokuwiki dokuwiki-jic

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

$ cp -rf dokuwiki-2009-12-25/* dokuwiki
$ ls -lR dokuwiki | 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.1262879537.txt.gz · Last modified: 2010/01/07 07:52 by jtkorb