このページは2007年 10月 5日, 15:46に更新されました by lamcro

Upgrading Deki Wiki (non-VM)

From $1

To upgrade non-VM releases of Deki Wiki, please use the following steps:

Backup your attachments

mkdir ~/deki_backup
cd /var/www/deki-hayes/
tar cvzpf ~/deki_backup/attachments.tar.gz attachments 

Backup your LocalSettings.php and AdminSettings.php files

cp LocalSettings.php AdminSettings.php ~/deki_backup

Backup your mindtouch.host.sh script and mindtouch.deki.startup.xml

 

cp ./bin/mindtouch.host.sh ~/deki_backup
cp ./mindtouch.deki.startup.xml ~/deki_backup

NOTE: If you're running on Windows the dekihost startup script is named mindtouch.host.bat

cp mindtouch.host.bat ~/deki_backup

 

Backup your MySQL Database

mysqldump -u<user> -p<pass> <dbname> > ~/deki_backup/wikidb.sql

Delete old code

rm -rf /var/www/deki-hayes

Install new package

cd ~/
tar xfvz Deki_Wiki_Hayes_1.8.1d.tar.gz
cd Deki_Wiki_Hayes_1.8.1.d/
mkdir /var/www/deki-hayes
cp -r web/* /var/www/deki-hayes

Restore files

cd ~/deki_backup
cp LocalSettings.php AdminSettings.php /var/www/deki-hayes/
tar xvzpf attachments.tar.gz -C /var/www/deki-hayes/
cp mindtouch.host.sh /var/www/deki-hayes/bin/
cp mindtouch.deki.startup.xml /var/www/deki-hayes/
chown -R www-data ./

NOTE: If you're running on Windows the dekihost startup script is named mindtouch.host.bat

cp mindtouch.host.bat /var/www/deki-hayes/bin/

Run DB update script

cd /var/www/deki-hayes/maintenance
php update-db.php

NOTE: For Windows, if 'php' is not a defined win program, find where your 'php.exe' is, and then use it to run update-db.php file

Start dekihost

/etc/init.d/dekihost restart

NOTE: If you're running windows, launch the mindtouch.host.bat script instead of the command above

Verify

Launch a web browser and connect to your wiki!

タグ:
 
コメント(2)
全2件のうち2件のコメントを表示: 全て見る
Ps: While updrading from 1.8.1c to 1.8.2, I found that mindtouch.deki.startup.xml needs to be copied from old install to new one as well, hence have added this to above
投稿日:2007年 10月 1日, 23:41 ()
Included the line bellow due to some permission problems when I reinstalled the 1.8.2 tar file and this solved it:

chown -R www-data ./
投稿日:2007年 10月 5日, 15:49 ()
全2件のうち2件のコメントを表示: 全て見る
あなたはコメントを投稿するには ログイン しなければなりません。