Karl Tinsley's picture

I am trying to install Testopia on Turnkey Bugzilla. According to the Testopia docs, I simply have to untar the Testopia download in the Bugzilla root. I have tried this in /usr/share/bugzilla3, but it doesn't seem to work. What is the Bugzilla root directory in Turnkey Bugzilla?

Also, the instructions say to run checksetup.pl after untarring the files. The only checksetup.pl I can find is in  /usr/share/bugzilla3/lib. Am I supposed to copy this file into the Bugzilla root directory in order to run it?

Thanks in advance for any help.

Forum: 
Karl Tinsley's picture

Thanks for replying. However, that post does not answer my questions. I've read the instructions for installing testopia - what I need is:

1. What is the "bugzilla root" directory?

2. How do I run checksetup.pl? I know the command - do I have to copy checksetup.pl to another directory, or do I run it from the /lib directory? Do I need to modify it or a config file in order for it to work?

 

Thanks!

Peter's picture

Hi Karl,

These are my installation notes that worked for me

# Installation Bugzilla 4.2.3

## Get 4.2.3 install files
1. Goto bugzilla download http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.2.3.tar.gz
## Extract tarball
tar xzvf bugzilla-[version].tar.gz

## Save old config and data from bugzilla directory
1. cd bugzilla-[version]
2. cp ../bugzilla/localconfig* .
3. cp -r ../bugzilla/data .
4. cd ..
## Save old bugzilla directory
1. sudo mv bugzilla bugzilla.old
2. sudo mv bugzilla-[version] bugzilla
## Make link to bugzilla directory
1. cd /usr/bin; sudo rm bugzilla; sudo ln -s /usr/local/bugzilla bugzilla
2. cd /Library/WebServer/Documents; sudo rm bugzilla;sudo ln -s /usr/local/bugzilla bugzilla
Note: In /usr/local I have prepared a command file "linkbugzilla" to do this
## Finalize installation new version
1. cd /usr/local/bugzilla
2. ./checksetup.pl
3. In case of errors for missing modules
sudo /usr/bin/perl install-module.pl --all
4. rerun ./checksetup.pl
5. Go to Bugzilla URL to check if Bugzilla is starting up
6. Check the new version in the right upper corner

# Bugzilla project changed to bzr as of 4.2 release
## How to get a specific Bugzilla release
Example how to check out Bugzilla 4.2 to directory bz-4.2:
bzr co -r tag:bugzilla-4.2 bzr://bzr.mozilla.org/bugzilla/4.2 bz-4.2

# Installation of Testopia extension
## How to get Testopia
bzr branch bzr://bzr.mozilla.org/bugzilla/extensions/testopia/trunk
 

David Prince's picture

Hi, Peter

Can you give a description about the installation of Testopia and bugzilla in Linux System?

Please give a explanation as you given before with each steps.

Advance Thanks...

Add new comment