Bugzilla:FAQ:Bugzilla Troubleshooting

From MozillaWiki
Revision as of 16:23, 25 February 2008 by Wurblzap (talk | contribs) (+Link to the docs about collectstats.pl)
Jump to navigation Jump to search

My parameters don't update when using editparams.cgi, what am I doing wrong?

Bugzilla's parameters are being stored in the data/params 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 data/ directory
  • alter and delete the params file in Bugzilla's data/ 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.