Closed Bug 688413 Opened 13 years ago Closed 13 years ago

Permission error after patch 4.0 to 4.0.2

Categories

(Bugzilla :: Installation & Upgrading, defect)

4.0.2
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: saar.machtinger, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1

Steps to reproduce:

Ran patch upgrade from 4.0 to 4.0.2 using instructions on http://www.bugzilla.org/docs/4.0/en/html/upgrade.html


Actual results:

before trying to remove/reset the field shutdownhtml, I got many permission denied errors. Seems that files and folders got chown/chgrp somehow.
You can see most at http://askubuntu.com/questions/62521/error-after-upgrading-bugzilla-from-4-0-to-4-0-2


Expected results:

nothing :-)   it should have been error free, as no chown/chgrp/chmod should happen
The user that was used to make the patch is: Administrator

The command was with sudo
Running checksetup.pl sets permissions and recently also users and groups. You shouldn't never ever do manual permission or owner (unless you know what you are doing) changes. If you are using something fancy like suexec you need to configure checksetup correctly.

This is more like support issue unless checksetup somehow behaves incorrectly for you.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
After I run ./checksetup.pl  - I can not access my bugzilla.  

The command I run is: sudo ./checksetup

execution lines are: 

administrator@optitexfog:/var/www/bugzilla$ sudo ./checksetup.pl 
* This is Bugzilla 4.0.2 on perl 5.10.1
* Running on Linux 2.6.32-33-generic-pae #72-Ubuntu SMP Fri Jul 29 22:06:29 UTC 2011

Checking perl modules...
Checking for               CGI.pm (v3.51)     ok: found v3.55 
Checking for           Digest-SHA (any)       ok: found v5.47 
Checking for             TimeDate (v2.21)     ok: found v2.23 
Checking for             DateTime (v0.28)     ok: found v0.70 
Checking for    DateTime-TimeZone (v0.71)     ok: found v1.38 
Checking for                  DBI (v1.41)     ok: found v1.609 
Checking for     Template-Toolkit (v2.22)     ok: found v2.22 
Checking for           Email-Send (v2.00)     ok: found v2.198 
Checking for           Email-MIME (v1.904)    ok: found v1.910 
Checking for                  URI (any)       ok: found v1.52 
Checking for       List-MoreUtils (v0.22)     ok: found v0.33 

Checking available perl DBD modules...
Checking for               DBD-Pg (v1.45)     not found 
Checking for            DBD-mysql (v4.00)     ok: found v4.012 
Checking for           DBD-Oracle (v1.19)     not found 

The following Perl modules are optional:
Checking for                   GD (v1.20)     ok: found v2.39 
Checking for                Chart (v2.1)      ok: found v2.4.1 
Checking for          Template-GD (any)       ok: found v1.56 
Checking for           GDTextUtil (any)       ok: found v0.86 
Checking for              GDGraph (any)       ok: found v1.44 
Checking for           MIME-tools (v5.406)    ok: found v5.502 
Checking for          libwww-perl (any)       ok: found v5.834 
Checking for             XML-Twig (any)       ok: found v3.32 
Checking for          PatchReader (v0.9.4)    ok: found v0.9.6 
Checking for            perl-ldap (any)       ok: found v0.43 
Checking for          Authen-SASL (any)       ok: found v2.15 
Checking for           RadiusPerl (any)       ok: found v0.20 
Checking for            SOAP-Lite (v0.712)    ok: found v0.714 
Checking for             JSON-RPC (any)       ok: found v0.96 
Checking for              JSON-XS (v2.0)      ok: found v2.32 
Checking for           Test-Taint (any)       ok: found v1.04 
Checking for          HTML-Parser (v3.40)     ok: found v3.64 
Checking for        HTML-Scrubber (any)       ok: found v0.09 
Checking for Email-MIME-Attachment-Stripper (any)       ok: found v1.316 
Checking for          Email-Reply (any)       ok: found v1.202 
Checking for          TheSchwartz (any)       ok: found v1.10 
Checking for       Daemon-Generic (any)       ok: found v0.81 
Checking for             mod_perl (v1.999022) ok: found v2.000004 
Checking for     Apache-SizeLimit (v0.93)     ok: found v0.95 
Checking for   Math-Random-Secure (v0.05)     ok: found v0.06 
WARNING: We could not check the configuration of Apache. This sometimes
happens when you are not running checksetup.pl as root. To see the
problem we ran into, run: /usr/sbin/apache2 -t -D DUMP_MODULES

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/patchutils/

Checking for            DBD-mysql (v4.00)     ok: found v4.012 
Checking for                MySQL (v4.1.2)    ok: found v5.1.41-3ubuntu12.10 

Removing existing compiled templates...
Precompiling templates...done.
Fixing file permissions...
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
btw, even if I run ./checksetup.pl as root, I get the same results:

WARNING: We could not check the configuration of Apache. This sometimes
happens when you are not running checksetup.pl as root. To see the
problem we ran into, run: /usr/sbin/apache2 -t -D DUMP_MODULES

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/patchutils/

Checking for            DBD-mysql (v4.00)     ok: found v4.012 
Checking for                MySQL (v4.1.2)    ok: found v5.1.41-3ubuntu12.10 

Removing existing compiled templates...
Precompiling templates...done.
Fixing file permissions...
root@optitexfog:/var/www/bugzilla# 






root@optitexfog:/var/www/bugzilla# /usr/sbin/apache2 -t -D DUMP_MODULES
apache2: bad user name ${APACHE_RUN_USER}
Problem was in /etc/apache2/envvars

Thanks for helping
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.