| Next revision | Previous revision |
| wiki:upgrade [19-02-2012 18:42] – created cwacha | wiki:upgrade [17-11-2016 12:34] (current) – external edit 127.0.0.1 |
|---|
| * download the whole wiki folder at ''./httpdocs/wiki'' to your local machine | * download the whole wiki folder at ''./httpdocs/wiki'' to your local machine |
| * (you might need to enable and run ''./httpdocs/fixfiles.php'' on your installation to make sure chmod is setup correctly | * (you might need to enable and run ''./httpdocs/fixfiles.php'' on your installation to make sure chmod is setup correctly |
| * finally, run ''upgrade.sh'' backup to create a ''wiki-backup.tar.gz'' of all important files (plugins and templates will not be backed up) | * finally, run ''upgrade.sh backup'' to create a ''wiki-backup.tar.gz'' of all important files (plugins and templates will not be backed up) |
| |
| |
| ====== Upgrade ====== | ====== Upgrade ====== |
| |
| * make backup first and place ''wiki-backup.tar.gz'' into Sites folder | * make backup first and place ''wiki-backup.tar.gz'' into ''Sites'' folder |
| | |
| * download new [[http://www.dokuwiki.org/dokuwiki|dokuwiki.tgz]] release and place it into ''Sites'' folder | * download new [[http://www.dokuwiki.org/dokuwiki|dokuwiki.tgz]] release and place it into ''Sites'' folder |
| * place ''upgrade.sh'' into same folder | * place ''upgrade.sh'' into same folder |
| * run ''upgrade.sh'' all (will unpack, chmod and migrate data into new release) | * run ''upgrade.sh all'' (will unpack, chmod and migrate data into new release) |
| | * adjust ''./wiki/.htaccess'' (i.e. RewriteBase /~user/wiki) |
| | * open webbrowser http://localhost/~user/wiki |
| * re-install templates (http://www.dokuwiki.org/template) | * re-install templates (http://www.dokuwiki.org/template) |
| * [[http://www.dokuwiki.org/template:vector|Vector]] | * [[http://www.dokuwiki.org/template:vector|Vector]] |
| * re-instlal plugins (http://www.dokuwiki.org/plugins) | * re-install plugins (http://www.dokuwiki.org/plugins) |
| * [[http://www.dokuwiki.org/plugin:note|Note]] | * [[http://www.dokuwiki.org/plugin:note|Note]] |
| * [[http://www.dokuwiki.org/plugin:gallery|Gallery]] | * [[http://www.dokuwiki.org/plugin:gallery|Gallery]] |
| #!/bin/sh | #!/bin/sh |
| |
| wikidir=wiki | wikidir=./wiki |
| |
| all() { | all() { |