Bioscreencast Wiki > Upgrade dekiwiki on gentoo Linux

Upgrade dekiwiki on gentoo Linux

From $1

Table of contents
No headers

Upgrading Dekiwiki from 8.08 to 8.08.1 on gentoo linuxThis is by no means a definitive guide , please consult the overll install and upgrade guide or specifically the upgrade guide.

In all these steps the dekiwiki  manipulations are in the dekiwiki WEBROOT directory ion the official documentation that directory is referred to as /var/www/dekiwiki , in this documentation it is referred to as simply dekiwiki

1) Backup mysql database

 mysqldump -u root  -p  wikidb >wikidb-8.08.sql

2) Backup entire Document root for dekiwiki  using rsync to some other location

rsync -av dekiwiki myremote-user\@my.remote.com:/home/myremote-user/dekiwiki-8.08

3) Backup the local atatchments , LocalSettings.php and the deki api xml config file

tar cvzpf ~/deki8.08-backup/attachments.tar.gz attachments
cp LocalSettings.php  ~/deki8.08-backup/.

cp /etc/dekiwiki/mindtouch.deki.startup.xml  ~/deki8.08-backup/.

Also copy over the

4) Download the source from the sourceforge site

5) Flush clean the entire deki-hayes document root

rm -r -f deki-hayes

6) Copy the files from the web directory over

cp -r ./Deki_Wiki_8.08.1_Kilen_Woods_source/web/* deki-hayes/

7) Restore the LocalSettings.php , the deki-api xml file  and the mindtouch.host.sh script .

# cd ~/deki8.08-backup
# cp LocalSettings.php /var/www/dekiwiki
# tar xvzpf attachments.tar.gz -C /var/www/dekiwiki/
# cp mindtouch.deki.startup.xml /etc/dekiwiki/
# cp mindtouch.host.sh /var/www/dekiwiki/bin/
# chown -R www-data /var/www/dekiwiki/

8) Run the updatedpscript

# cd /var/www/dekiwiki/maintenance
# php update-db.php

9) Restart the dekiwiki init script

/etc/init.d/dekihost restart

Verify that this indeed restarted

/etc/init.d/dekihost status . 

And also with

ps -ef | grep "mono"

9) Rebuild the lucene search index after logging into the wiki as admin. Go to Tools- control panel -Maintenance-Cache Management-Rebuild index

Tags:
 
Images (0)
 
Comments (0)
You must login to post a comment.