Package: dokuwiki Version: 0.0.20120125b-2 Severity: normal Dear Maintainer,
The dokuwiki installation doesn't ever erase the cache. In my installation the cache was using 750M and the whole data directory, excluding the cache, was 20M. When looking how to erase the cache, I found this: https://www.dokuwiki.org/tips:maintenance Based on that, I did a script to erase the cache and some other stale files that page recommends. And also update the wordlist. I attach the script just in case is useful for you. Please consider fixing this using the script or in some other way. Thanks a lot, Rodrigo
#!/usr/bin/env bash cleanup() { # $1 ... full path to data directory of wiki # $2 ... number of days after which old files are to be removed # purge files older than $2 days from attic and media_attic (old revisions) find "$1"/{media_,}attic/ -type f -mtime +$2 -print0 | xargs -0r rm -f # remove stale lock files (files which are 1-2 days old) find "$1"/locks/ -name '*.lock' -type f -mtime +1 -print0 | xargs -0r rm -f # remove empty directories find "$1"/{attic,cache,index,locks,media,media_attic,media_meta,meta,pages,tmp}/ \ -mindepth 1 -type d -empty -print0 | xargs -0r rmdir # remove files older than $2 days from the cache find "$1"/cache/?/ -type f -mtime +$2 -print0 | xargs -0r rm -f } cleanup /var/lib/dokuwiki/data 180 curl -s 'http://meta.wikimedia.org/wiki/Spam_blacklist?action=raw' |grep -v '<pre>' > /etc/dokuwiki/wordblock.local.conf