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/
wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.2.tar.gz

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/
./checksetup.pl –check-modules
./checksetup.pl

Leave a Reply

Your email address will not be published.

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