Wednesday, December 10, 2014

DSpace, LAMS, Mahara and OpenSim install on CentOS...

There are five blogs in this series.

Please select the link below as required:-

DSpace Install Blog 

LAMS Install Blog 

Mahara Install Blog

OpenSim Install Blog

Server Syncronisation Blog

Upgrading to Mahara 1.10.1

Upgrading to Mahara version 1.10.1

I followed a similar process to previous upgrades in upgrading from 1.9.2

Login as the root user

Back up database

pg_dump -U mahara mahara > ../mahara_dump_Dec_14

Download the latest release of Mahara 


Create/modify the upgrade shell script and then run it

[root@vle bin]# cat upgrademahara
cd /root
echo "Please put Mahara into maintenance mode before performing the upgrade
echo "Please download the latest version of Mahara into the root users home directory
echo "Please backup the database from the BASH command line e.g.  pg_dump -U mahara mahara > mahara_dump_Dec_14"
echo "Press any key when ready"
read dummy
echo "Enter new version number of Mahara to upgrade to e.g. 1.10.1"
read newver
echo "Enter existing version number of Mahara to backup e.g. 1.9.2"
read oldver
mv /var/www/html/mahara /root/mahara_old_$oldver
tar -xzvf mahara-$newver.tar.gz
cd mahara-$newver
cp -pr htdocs /var/www/html
mv /var/www/html/htdocs /var/www/html/mahara
cp /root/mahara_old_$oldver/config.php /var/www/html/mahara
cp -pr /root/mahara_old_$oldver/artefact/outcome /var/www/html/mahara/artefact
echo "Please visit to complete the upgrade"

cd bin
nano upgrademahara
chmod 755 upgrademahara

There were no issues and the upgrade went smoothly.