Last modified: 2014-09-26 16:19:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68827, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66827 - www-data:www-data can't write to mediawiki-debug.log
www-data:www-data can't write to mediawiki-debug.log
Status: RESOLVED FIXED
Product: MediaWiki-Vagrant
Classification: Unclassified
labs-vagrant (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-19 07:38 UTC by Nemo
Modified: 2014-09-26 16:19 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2014-06-19 07:38:47 UTC
With labs-vagrant, debug output is not written to the log because of permissions. Unless I'm mistaken, the following is from the default for /mnt/vagrant/LocalSettings.php:


// Expose debug info for PHP errors. $wgShowExceptionDetails = true; $wgDebugLogFile = '/vagrant/logs/mediawiki-debug.log';

but then I had:

-rw-r--r-- 1 vagrant www-data  23K Jun 19 07:25 mediawiki-debug.log

So only jobqueue log was saved, run by vagrant:www-data: this may be right or wrong, but puppet should probably update permissions.
Comment 1 Bryan Davis 2014-09-26 16:19:40 UTC
Fixed in https://gerrit.wikimedia.org/r/#/c/161353/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links