Page MenuHomePhabricator

error writing to /vagrant/logs/mediawiki-exception.log
Open, Needs TriagePublic

Description

Hi, when setting up mw vagrant on the stretch branch with the ldap role and a ldap wiki along side the main wiki and you set

mwvagrant config nfs_shares no puppet fails with:

==> default: Error: /usr/local/bin/mwscript createAndPromote.php                     --wiki='wiki' 'Admin' 'vagrant' returned 255 instead of one of [0]
==> default: Error: /Stage[main]/Mediawiki/Mediawiki::User[admin_user_in_steward_suppress_on_wiki]/Mediawiki::Maintenance[mediawiki_user_Admin_wiki]/Exec[mediawiki_user_Admin_wiki]/returns: change from notrun to 0 failed: /usr/local/bin/mwscript createAndPromote.php                     --wiki='wiki' 'Admin' 'vagrant' returned 255 instead of one of [0]
==> default: Notice: /Stage[main]/Mediawiki/Mediawiki::Import::Text[Main_Page]/Mediawiki::Maintenance[add page devwiki/Main_Page]/Exec[add page devwiki/Main_Page]/returns: PHP Fatal error:  Uncaught UnexpectedValueException: The stream or file "/vagrant/logs/mediawiki-exception.log" could not be opened: failed to open stream: Permission denied in /vagrant/mediawiki/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107

This happends during a fresh install.

Event Timeline

Paladox created this task.Dec 26 2017, 12:52 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 26 2017, 12:52 PM
Paladox updated the task description. (Show Details)Dec 26 2017, 12:53 PM
bd808 renamed this task from Error: /usr/local/bin/mwscript createAndPromote.php --wiki='wiki' 'Admin' 'vagrant' returned 255 instead of one of [0] to error writing to /vagrant/logs/mediawiki-exception.log.Jan 9 2018, 1:23 AM