Bug 807356 - checksetup.pl fails on a fresh installation when $PROJECT is set
Summary: checksetup.pl fails on a fresh installation when $PROJECT is set
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: bugzilla
Version: el6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Itamar Reis Peixoto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-27 15:19 UTC by Brendan LeFebvre
Modified: 2018-03-30 16:38 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-03-30 16:38:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brendan LeFebvre 2012-03-27 15:19:59 UTC
Description of problem:
When using "export PROJECT=myproject" to set up multiple Bugzilla sites on one host, checksetup.pl fails because it does not explicitly create /var/lib/bugzilla/data

Version-Release number of selected component (if applicable): 3.4.13-1.el6 


How reproducible: Have not tried to reproduce but the nature of the problem and solution (see "Additional info" below) suggests this behavior will occur in any instance where the first post-install invocations of checksetup.pl are made with $PROJECT set.


Steps to Reproduce:

1. Install bugzilla package and (if necessary) database/webserver pkgs

2. # cd /usr/share/bugzilla ; export PROJECT=myproject

3. # ./checksetup.pl # creates /etc/bugzilla/localconfig.myproject

4. configure database and /etc/bugzilla/localconfig.myproject

5. # ./checksetup.pl
  
Actual results:
Reading /etc/bugzilla/localconfig.myproject...
Checking for              DBD-Pg (v1.45)   ok: found v2.15.1 
Checking for      PostgreSQL (v8.00.0000) ok: found v08.04.0900

Creating /var/lib/bugzilla/data/myproject directory...
Creating /var/lib/bugzilla/data/myproject/attachments directory...
Creating /var/lib/bugzilla/data/myproject/duplicates directory...
Creating /var/lib/bugzilla/data/myproject/mining directory...
Creating /var/lib/bugzilla/data/myproject/webdot directory...
Creating /var/lib/bugzilla/data/myproject/mailer.testfile...
No such file or directory at Bugzilla/Install/Filesystem.pm line 496, <DATA> line 522.
# ls /var/lib/bugzilla/ # empty result


Expected results:
# ./checksetup.pl

...
Enter the e-mail address of the administrator: 


Additional info:
Was able to fix by:
# mkdir /var/lib/bugzilla/data
# ./checksetup.pl

Comment 1 Itamar Reis Peixoto 2018-03-30 16:38:58 UTC
bugzilla has been marked as dead.package for el6, closing this as won't fix, it's not possible to upgrade bugzilla to a newer version without upgrading el6 base packages.


Note You need to log in before you can comment on or make changes to this bug.