Closed
Bug 1008860
Opened 10 years ago
Closed 10 years ago
Does "Multiple Bugzilla databases with a single installation" works?
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 629975
People
(Reporter: christophe.jaillet, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release) Build ID: 20140421221237 Steps to reproduce: I followed steps in: http://www.bugzilla.org/docs/4.2/en/html/multiple-bz-dbs.html I exported the variable PROJECT and checked it via: echo $PROJECT PROJECT=DM_Modif, in my case. I'm using bugzilla 4.2.9 (but is ready to upgrade if it solve my issue) Actual results: 1) when I ran checksetup.pl, the file localconfig.<PROJECT NAME> has not been created. So I copied the localconfig file to localconfig.<PROJECT NAME> 2) after that, I started to have some: Error reading ./data/DM_Modif/params: Permission denied at Bugzilla/Config.pm line 323. So, I create the directories, changed permission... Finally I copied the whole data/params folder to data/DM_Modif/param Then chgrp -R www-data DM_Modif Then new errors linked to failure to create temp files. - The directory layout that is asked is not in conformance with what is described in doc. (i.e. localconfig.<PROJECT> template/en/<PROJECT>) - checksetup.pl does not fix groups in <PROJECT> files/directories Expected results: If I have not made an error (sic!), then all should have been processed smoothly. I expected to only have to manage the localconfig files and template/<lang>/<PROJECT> files So, I'm wondering if the multi-database version is still working, or if I missed something?
Comment 1•10 years ago
|
||
(In reply to Christophe JAILLET from comment #0) > So, I'm wondering if the multi-database version is still working, or if I > missed something? You missed something. :) You never compiled the "main" installation, i.e. without specifying PROJECT first.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•10 years ago
|
||
Hmm, will try it. However, the sentence in the doc stating: "To set up an alternate installation, just export PROJECT=foo before running checksetup.pl for the first time" for the *first* time is ambiguous here, then. Thanks for feedback.
Reporter | ||
Comment 3•10 years ago
|
||
Ok. Just in case it can help someone else. Doing: export PROJECT=xx sudo ./checksetup.pl ==> KO, doesn't work for me sudo PROJECT=xx ./checksetup.pl ==> OK (first run, create the correct localconfig.xx file, edition of the config file, 2nd run create directories and setup up everything) (found on http://mozilla.6506.n7.nabble.com/Multiple-Database-setup-question-td78619.html) Maybe doc could be completed when using sudo. Thx and sorry for the noise.
You need to log in
before you can comment on or make changes to this bug.
Description
•