There is a point to this story, but it has temporarily escaped my mind...
Contact Me MyFaceBook MyLinkedIn MyGitHub MyTwitter

Upgrade Bugzilla installation

I recently had to upgrade a Bugzilla installation in a very restrictive environment. These are the steps I used to upgrade the installation in case I decide to do it again…

p.p.p → previous
n.n.n → next

Current Setup

The Bugzilla installation is on it own file system mounted under the /var directory.

 +-- bugzilla
     +-- bugzilla-p.p.p
     +-- bugzilla-n.n.n
     +-- current -> bugzilla-p.p.p
     +-- data
     +-- lost+found

Upgrade Installation

cd /var/bugzilla
sudo mysqldump --opt -u bugs -p bugs > bugs-p.p.p.sql
sudo cp -r bugzilla-p.p.p bugzilla-n.n.n
sudo tar xzvf bugzilla-n.n.n.tar.gz
sudo cp bugzilla-p.p.p/localconfig bugzilla-n.n.n/
sudo cp -r bugzilla-p.p.p/data bugzilla-n.n.n/
sudo bugzilla-n.n.n/
rm bugzilla-x.x.x.tar.gz
sudo rm current
sudo ln -s bugzilla-n.n.n current

After the applications runs for a while (depending on how active the installation is), execute:

sudo rm bugs-p.p.p.sql
sudo rm -Rf bugzilla-p.p.p
Copyright © 2022 by Julian Easterling. SOME RIGHTS RESERVED.
Privacy Policy              Terms of Use             

Creative Commons License
Except where otherwise noted, content on this site is
licensed under a Creative Common Attribution-Share Alike 4.0 International License.

All of the opinions expressed on this website are those of Julian Easterling and
do not represent the views of any of my current and previous clients or employers in any way.

If you notice an error on the site or content that has not been properly attributed, bring
it to my attention using the contact page and I will endeavor to fix it as soon as I can.

I accept no responsibility or liability for any damages incurred by following any of
my advice or by using any of the information on my site or of those sites that I link to.