May 28, 2014

Upgrading Bugzilla

Here are the steps to upgrading bugzilla so you don’t end up wanting to commit homicidal acts.

Download a new version of bugzilla and resist the patches.

http://www.bugzilla.org/download/

Unpack this new version into a newdirectory. I use the /usr/local directory.

root@sourcecontrol:/usr/local# ls -l
total 40
drwxr-x--- 16 www-data www-data 4096 May 28 11:36 bugzilla-4.4.2
drwxr-x--- 16 www-data www-data 4096 May 28 11:46 bugzilla-4.4.4

Now I keep a symlink in /var/www that points to the current version so i delete and update the symlink here.

ln -s /usr/local/bugzilla-4.4.4 /var/www/bugzilla
ls -l /var/www
lrwxrwxrwx 1 root root   26 May 28 11:37 bugzilla -> /usr/local/bugzilla-4.4.4/

Next enter the new bugzilla directory and update the perl modules using the built in script.

./install-module.pl --all

Once that is complete copy the localconfig form the previous installation into the new installation.

cp /usr/local/bugzilla-4.4.2/localconfig /usr/local/bugzilla-4.4.4/

Then run checksetup.pl and you should be up and running.

./checksetup.pl

Leave a comment

You must be logged in to post a comment.