Bugzilla:FAQ:Bugzilla Troubleshooting: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (+Link to the docs about collectstats.pl)
(Replaced content with 'See Bugzilla:FAQ#Troubleshooting.')
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
==My parameters don't update when using editparams.cgi, what am I doing wrong?==
See [[Bugzilla:FAQ#Troubleshooting]].
Bugzilla's parameters are being stored in the <tt>data/params</tt> file.
So in order to update parameters, the user that your web server runs Bugzilla's scripts as needs permission to
* create, alter and delete files in Bugzilla's <tt>data/</tt> directory
* alter and delete the <tt>params</tt> file in Bugzilla's <tt>data/</tt> directory
 
Known quirks and things to think about:
* On Linux, check your SELinux settings, which may override common file permission settings.
* It may be that your web server runs Bugzilla's script as a different user than you might think:
** Using Apache, it may be that you have some SuexecUserGroup setting in effect. Check Apache's documentation on mod_suexec.
** Using IIS, there appears to be some similar mechanics, too.
 
==Old charts complain with "Unable to open the chart datafile ./data/mining/-All-"==
Old charts are generated thanks to data being in data/mining/ (new charts store the data in the database directly). For both old and new charts to work, data must first be collected by the collectstats.pl script, which has to be run as root (or as the owner of data/mining/ in case you have a non-root installation). Data is only collected when collectstats.pl is run, so if you want to see stats on a daily basis, you have to run this script every day, e.g. by adding it to your cron jobs.
 
See http://www.bugzilla.org/docs/tip/html/extraconfig.html for details.
 
[[category:Bugzilla|F]]

Latest revision as of 13:24, 19 March 2010