How to run the Bugzilla package?

I’d like to answer serverfault.com/q/125241, so how does one run the bugzilla package? I ask because it doesn’t appear to be as automated as askubuntu.com/posts/62078/timeline#comment_2751486 describes, because:

#!/usr/bin/env sh
run0 dnf5 install --refresh -y bugzilla

…doesn’t appear to be sufficient.

My Environment

However, the packaged version in Fedora repo is 5.0.6, see bugzilla - Fedora Packages

1 Like

Bugzilla used to be difficult to setup and keep going, alternatives where often recomended. Maybe things changed since I last looked, that was a long time ago.

As Flo said, reading the bugzilla instructions should help you answer your own question.

One prerequisite is to have a empty database setup with a dedicated user and password. You can use a postgresql, mariadb/mysql or sqlite database. For postgresql and mariadb/mysql, these can be on the machine you are running bugzilla on or a remote one.

Going from memory, the steps are:

  • dnf install bugzilla httpd “perl(DBD::XXX)” (where XXX is the driver for your database)
  • edit /etc/bugzilla/localconfig (you probably only need to edit the database info)
  • run /usr/share/bugzilla/checksetup.pl

This should create the tables in your database and populate them with the initial content. The checksetup.pl script will also prompt you for an admin account that it will then create. It will also list the dnf commands you need to install optional Bugzilla features. Review these and install whatever you need.

Once that is done, start httpd (“systemctl start httpd”) and you should be able to visit your bugzilla instance.

1 Like

Thanks, all. Before I try these steps, does anyone recommend a specific Fedora edition for this? I ask because I want to try this in a VM, first, and something like the lack of packages available via the Server installer, and/or the “immutable” filesystem of Kinoite, appear useful for keeping such a server stable.

Server is the obvious edition to use for bugzilla as it is a server style app.

1 Like

Which means many other bugzilla systems will be server, so better chances that any problems you encounter is seen by many other server admins and the likelihood that one of them knows a solution.

1 Like