Closed
Bug 1124082
Opened 11 years ago
Closed 11 years ago
Master branch doesn't always create .htaccess files
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jochen.wiedmann, Unassigned)
Details
I've got a development installation running the Bugzilla master branch and notice, that .htaccess files aren't always created. For example:
[root@fedora21 bugzilla]# git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .gitignore
deleted: .htaccess
no changes added to commit (use "git add" and/or "git commit -a")
[root@fedora21 bugzilla]# perl checksetup.pl
* This is Bugzilla 5.1 on perl 5.18.4
* Running on Linux 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015
Checking perl modules...
Checking for CGI.pm (v3.51) ok: found v4.03
Checking for Digest-SHA (any) ok: found v5.93
Checking for TimeDate (v2.23) ok: found v2.24
Checking for DateTime (v0.75) ok: found v1.12
Checking for DateTime-TimeZone (v1.64) ok: found v1.76
Checking for DBI (v1.614) ok: found v1.631
Checking for Template-Toolkit (v2.24) ok: found v2.25
Checking for Email-Sender (v1.300011) ok: found v1.300016
Checking for Email-MIME (v1.904) ok: found v1.926
Checking for URI (v1.55) ok: found v1.65
Checking for List-MoreUtils (v0.32) ok: found v0.33
Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004
Checking for File-Slurp (v9999.13) ok: found v9999.19
Checking for JSON-XS (v2.01) ok: found v3.01
Checking available perl DBD modules...
Checking for DBD-mysql (v4.001) ok: found v4.027
Checking for DBD-Oracle (v1.19) not found
Checking for DBD-Pg (v2.7.0) ok: found v3.4.1
Checking for DBD-SQLite (v1.29) ok: found v1.42
The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.50
Checking for Chart (v2.4.1) ok: found v2.4.8
Checking for Template-GD (any) ok: found v1.56
Checking for GDTextUtil (any) ok: found v0.86
Checking for GDGraph (any) ok: found v1.48
Checking for MIME-tools (v5.406) ok: found v5.505
Checking for libwww-perl (any) ok: found v6.06
Checking for XML-Twig (any) ok: found v3.48
Checking for PatchReader (v0.9.6) ok: found v0.9.6
Checking for perl-ldap (any) ok: found v0.64
Checking for Authen-SASL (any) ok: found v2.16
Checking for Net-SMTP-SSL (v1.01) ok: found v1.01
Checking for RadiusPerl (any) ok: found v0.24
Checking for SOAP-Lite (v0.712) ok: found v1.11
Checking for XMLRPC-Lite (v0.712) ok: found v0.717
Checking for JSON-RPC (any) ok: found v1.04
Checking for Test-Taint (v1.06) ok: found v1.06
Checking for HTML-Parser (v3.67) ok: found v3.71
Checking for HTML-Scrubber (any) ok: found v0.11
Checking for Encode (v2.21) ok: found v2.67
Checking for Encode-Detect (any) ok: found v1.01
Checking for Email-Reply (any) ok: found v1.202
Checking for HTML-FormatText-WithLinks (v0.13) not found
Checking for TheSchwartz (v1.1) not found
Checking for Daemon-Generic (any) not found
Checking for mod_perl (v1.999022) ok: found v2.000009
Checking for Apache-SizeLimit (v0.96) ok: found v0.97
Checking for File-MimeInfo (any) ok: found v0.26
Checking for IO-stringy (any) ok: found v2.110
Checking for Cache-Memcached (any) ok: found v1.30
Checking for Text-Markdown (v1.0.26) ok: found v1.000029
Checking for File-Copy-Recursive (any) not found
Checking for mod_env (any) ok
Checking for mod_headers (any) ok
Checking for mod_expires (any) ok
***********************************************************************
* OPTIONAL MODULES *
***********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. Below that table are the *
* commands to install each module. *
***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* HTML-FormatText-WithLinks * Inbound Email *
* TheSchwartz * Mail Queueing *
* Daemon-Generic * Mail Queueing *
* File-Copy-Recursive * Documentation *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:
HTML-FormatText-WithLinks: /usr/bin/perl install-module.pl HTML::FormatText::WithLinks
TheSchwartz: /usr/bin/perl install-module.pl TheSchwartz
Daemon-Generic: /usr/bin/perl install-module.pl Daemon::Generic
File-Copy-Recursive: /usr/bin/perl install-module.pl File::Copy::Recursive
To attempt an automatic install of every required and optional module
with one command, do:
/usr/bin/perl install-module.pl --all
Reading ./localconfig...
OPTIONAL NOTE: If you want to be able to use the 'difference between two
patches' feature of Bugzilla (which requires the PatchReader Perl module
as well), you should install patchutils from:
http://cyberelk.net/tim/software/patchutils/
Checking for DBD-mysql (v4.001) ok: found v4.027
Checking for MySQL (v5.0.15) ok: found v10.0.15-MariaDB
Removing existing compiled templates...
Precompiling templates...done.
Fixing file permissions...
Now that you have installed Bugzilla, you should visit the 'Parameters'
page (linked in the footer of the Administrator account) to ensure it
is set up as you wish - this includes setting the 'urlbase' option to
the correct URL.
checksetup.pl complete.
[root@fedora21 bugzilla]# ls -al .htaccess
ls: cannot access .htaccess: No such file or directory
From reading the output of "git status", I deduce that the .htaccess file in the topmost directory is under git control. But that feels odd, given bug 1122419.
(In reply to Jochen Wiedmann from comment #0)
> From reading the output of "git status", I deduce that the .htaccess file in
> the topmost directory is under git control.
it is.
> But that feels odd, given bug 1122419.
wrong bug number?
i suspect something else has deleted/renamed .htaccess in your installation.
this deleted file won't be "restored" by a git pull, nor will checksetup create it if it's missing.
|git checkout .htaccess| followed running checksetup should restore the file for you.
jochen indicated on irc that he deleted the top level .htaccess without realising it was under version control (unlike our other .htaccess files which are generated by checksetup).
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•