Saturday, May 31, 2008

Upgrading Deki Wiki From 1.9.0 (Itasca) to 8.05 (Jay Cooke) VM Only - MindTouch Deki Wiki

Upgrading Deki Wiki From 1.9.0 (Itasca) to 8.05 (Jay Cooke) VM Only - MindTouch Deki Wiki

Upgrading Deki Wiki From 1.9.0 (Itasca) to 8.05 (Jay Cooke) VM Only

This guide assumes you are upgrading the MindTouch Deki Wiki VMWare-Certified Virtual Appliance from v.1.9.0 to v.8.05. If you are upgrading from an earlier version, please visit http://wiki.opengarden.org/Deki_Wiki/Installation_and_Upgrade to find your appropriate guide.

While the upgrade script does not affect the MySQL database and settings files, it is recommended in case a full reinstall is needed.


Back Up Attachments

Type the following commands to create the backup directory and back up your attachments:

# mkdir ~/deki_backup
# cd /var/www/dekiwiki/
# tar cvzpf ~/deki_backup/attachments.tar.gz /var/www/dekiwiki/attachments

Back Up Settings Files

Enter the following commands to back up the files that Deki Wiki uses to determine settings:

# cp /var/www/dekiwiki/LocalSettings.php ~/deki_backup
# cp /etc/dekiwiki/mindtouch.deki.startup.xml ~/deki_backup
# cp /etc/dekiwiki/mindtouch.host.conf ~/deki_backup

Backup your MySQL Database

Use the following line to back up the MySQL database:

# mysqldump -u -p wikidb > ~/deki_backup/wikidb.sql

If you did not change the default username and password, then it would be root and password for and , respectively.

Upgrade the Wiki

Type the following command to upgrade DekiWiki to the newest version:

updateWiki.sh

After that script has completed, go to the IP of your wiki and click on Tools, and then About to confirm you are at the latest version.

Rebuild the Index

In the wiki, click on Tools, then Control Panel, and then Site Settings.Click Rebuild Index to re-index the wiki.

No comments: