Dokuwiki Upgrade

  1. Download desired version (Hint: only select necessary languages)
    https://download.dokuwiki.org
  2. Create a backup:
    tar zcpfv /tmp/backup-dokuwiki-260811.tar.gz /var/www/kb
  3. Go to /tmp
  4. Extract the new version:
    tar xzvf dokuwiki-919579ec6e60818f9f712747c2b681d6.tgz
  5. Copy new files:
    rsync -avh /tmp/dokuwiki-2026-07-14b/ /var/www/kb
  6. Restore ownership (on Debian):
    chown -R www-data:www-data /var/www/kb
  7. Optionally remove files which are not needed anymore:
    grep -Ev '^($|#)' /var/www/kb/data/deleted.files | xargs -n 1 rm -rf
  8. Upgrade templates and plugins if necessary