====== Upgrading DokuWiki ====== [Thanks to Chris Mayfield and others for these notes.] Here's how to upgrade the wiki software manually. See [[http://www.dokuwiki.org/install:upgrade|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 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.