This guide assumes you are upgrading from v.1.9.0 to v.8.05. If you are upgrading from an earlier version, please visit http://wiki.developer.mindtouch.com/MindTouch_Deki/Installation_and_Upgrade to find your appropriate guide.
While the upgrade script does not affect settings or database files in this release, it is always best to back them up before upgrading in case a clean install is needed.
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
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 /var/www/dekiwiki/AdminSettings.php ~/deki_backup
# cp /etc/dekiwiki/mindtouch.deki.startup.xml ~/deki_backup
# cp /etc/dekiwiki/mindtouch.host.conf ~/deki_backup
Use the following line to back up the MySQL database:
# mysqldump -u<user> -p<pass> wikidb > ~/deki_backup/wikidb.sql
If you did not change the default username and password, then it would be root and password for <user> and <pass>, respectively.
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.
I have Deki-Wiki 1.9.0a (Itasca), but my web folder is /var/www/deki-hayes and not /var/www/dekiwiki/. Can you help me with a document regarding the migration of the folder names?
Also, the configuration files contain the same deki-hayes path.
l-ong:/var/www/deki-hayes# grep /var/www/deki-hayes * | wc -l
29
l-ong:/var/www/deki-hayes#
Regards,
It is this and following guide. And the latter is better.
http://wiki.mindtouch.com/Official_MindTouch_Deki_Installation_Guides/Upgrading_Deki_Wiki_1.9.0_(Itasca)_to_8.05_(Jay_Cooke)_(non-VM) edited 11:10, 20 Aug 2008