Linux : How to Upgrade Bugzilla 4.0 to 4.2 on CentOS 6.2

Note :

Make a note of all changes you made in custom templates & delete it. As older templates will be replaced with newer version.


How To :

rm -rf /var/www/html/template/en/custom/*

Download Bugzilla
cd /root/

Backup Existing html folder (or bugzilla folder)

cd /var/www/
tar zcvf bugzilla-40.tar.gz html/

Take MySql Backup

cd /root/
mysqldump -u root –databases bugs > bugs_back.sql

Extract Bugzilla

cd /tmp/
tar zxvf /root/bugzilla-4.2.tar.gz

Copy Content of bugzilla-4.2 to html / bugzilla folder

cd /var/www/html/
cp /tmp/bugzilla-4.2/* ./ -rfva
cp /tmp/bugzilla-4.2/.bzr* ./ -rfva
cp /tmp/bugzilla-4.2/.htaccess ./
chown apache: * -R

Verify Module dependency & run checksetup to complete upgrade

cd /var/www/html/
./ –check-modules

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.