Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
upgrading_dokuwiki [2015/05/13 14:04]
Joel Dare
upgrading_dokuwiki [2020/06/01 23:32]
Joel Dare
Line 2: Line 2:
  
 I run Dokuwiki on this website and when I get notices at the top of the page I always cringe. ​ After my last update, I'm not sure why they intimidate me.  Upgrading is very simple. ​ Here are the steps I take. I run Dokuwiki on this website and when I get notices at the top of the page I always cringe. ​ After my last update, I'm not sure why they intimidate me.  Upgrading is very simple. ​ Here are the steps I take.
 +
 +Before you start, make sure you have some disk space available.
 +
 +  df -h
  
 Start in the directory above (..) where your wiki is. Start in the directory above (..) where your wiki is.
Line 25: Line 29:
 The quotes around cp ensures the command works even when cp is aliased to cp -i and the .??* ensures that hidden files are also copied. The quotes around cp ensures the command works even when cp is aliased to cp -i and the .??* ensures that hidden files are also copied.
  
-Touch the doku.php file so that dokuwiki clears it's cache and sees that we are using the latest version of now. The last time I tried the upgrade, the touch command below didn't work for me. I had to edit the file, change the $updateVersion variable, then change it back.+Touch the doku.php file so that dokuwiki clears it's cache and sees that we are using the latest version of now. The last time I tried the upgrade, the touch command below didn't work for me. I had to edit the file, change the $updateVersion variable, then change it back. I also had to delete ./​wiki/​data/​cache/​messages.txt.
  
   touch ./​wiki/​doku.php   touch ./​wiki/​doku.php
comments powered by Disqus
upgrading_dokuwiki.txt · Last modified: 2020/06/01 23:32 by Joel Dare