read
If I had known what a 1337 exercise this was going to be I would have ignored the seductive message that appeared on my Bugzilla home page.
WARNING: If Bugzilla tries to tempt you into upgrading from 3.6 to 4.0 then you should know this is not very well automated.
My server was running Bugzilla 3.6 on Ubuntu 10.04.2 LTS with Apache 2.2.14 and MySQL 5.1.41
Here’s what I had to do (from memory - sorry).
apt-get install libapache2-mod-perl2 apache2-dev
- Create a file called
/etc/apache2/mods-enabled/perl.conf
with the following lines (check the path is correct for your installation)PerlSwitches -w -T PerlConfigRequire /var/www/bugzilla/mod_perl.pl
- Edit the Apache conf file for the Bugzilla site (on my server it was
/etc/apache/sites-enabled/000-default
). Make sure there is a<Directory>
entry for your Bugzilla installation. Make sure theAllowOverride
line is correct according to the Bugzilla installation instructions. Mine looked like this after:<Directory /var/www/bugzilla> AllowOverride Limit FileInfo Indexes </Directory>
- Enable the following Apache modules (I use Webmin to do this; if you want to do this the man's way then ask a nerd):
mod_headers
mod_expires
mod_env
- Restart Apache. There may be a clever way to do this, but I used
/etc/init.d/apache2 restart
- Follow the instructions in the tempting message on the home page, then do the following additional steps
cd /var/www/bugzilla
./checksetup.pl
- Whoa! It's all broken. Never mind - if you look carefully you'll see the magic command to fix everything is there. It looks something like
/usr/bin/perl install-module.pl all
(copy it from the output ofchecksetup.pl
, not from here) - If you're getting error messages at the bottom of the output from
checksetup.pl
then try this/usr/bin/perl install-module.pl DateTime:Locale
That’s pretty much it. If it still doesn’t work then try restarting Apache again. If you have to do anything else then let me know and I’ll add it here. Also if I’ve made any mistakes then I’m happy to correct them.