Difference between revisions of "Upgrade a wiki"
From Organic Design wiki
(put site down for maintenance first) |
m |
||
Line 7: | Line 7: | ||
Shell in and change to the wiki's directory in ''/var/www/wikis''. | Shell in and change to the wiki's directory in ''/var/www/wikis''. | ||
− | Put the site down for maintenance by adding ''$wgSiteDown = true;''' to it's ''LocalSettings.php'' file. | + | Put the site down for maintenance by adding '''$wgSiteDown = true;''' to it's ''LocalSettings.php'' file. |
Update ''wiki'' symlink to point to the new code-base. | Update ''wiki'' symlink to point to the new code-base. |
Revision as of 23:58, 27 January 2009
Upgrade a wiki Organic Design procedure |
Shell in and change to the wiki's directory in /var/www/wikis.
Put the site down for maintenance by adding $wgSiteDown = true; to it's LocalSettings.php file.
Update wiki symlink to point to the new code-base.
Upgrading a wiki to a more recent version involves running the update.php maintenance script. Make sure that you have created an AdminSettings.php first.
For information on how to do this, see Run a wiki maintenance script