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

Possibly Related Posts:


Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>