User Tools

Site Tools


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 | (cd dokuwiki; xargs -n 1 rm -rf)
$ rm -rf dokuwiki/data/cache/*

Turn the web server back on if it was turned off earlier.

wiki_notes.txt · Last modified: 2010/01/07 07:56 by jtkorb