Last modified: 2014-08-21 03:51:12 UTC
I am getting the following error from Vagrant now: "Whoops! The default skin for your wiki ($wgDefaultSkin), vector, is not available. You have no installed skins." A git update, provision, and reload does nothing to fix this.
(In reply to Steven Walling from comment #0) > I am getting the following error from Vagrant now: > > "Whoops! The default skin for your wiki ($wgDefaultSkin), vector, is not > available. > > You have no installed skins." > > A git update, provision, and reload does nothing to fix this. There is a little chicken and egg problem with existing mediawiki checkouts. Try this: $ cd vagrant/mediawiki $ git pull You should hopefully see the existing mediawiki/skins/Vector directory disappear. $ cd .. $ git pull $ vagrant provision You should hopefully see mediawiki/skins/Vector reappear as a clone of the new independent repository.
(In reply to Bryan Davis from comment #1) > > There is a little chicken and egg problem with existing mediawiki checkouts. > Try this: > > $ cd vagrant/mediawiki > $ git pull > > You should hopefully see the existing mediawiki/skins/Vector directory > disappear. > > $ cd .. > $ git pull > $ vagrant provision > > You should hopefully see mediawiki/skins/Vector reappear as a clone of the > new independent repository. After this I get "Warning: require_once(/vagrant/settings.d/wikis/CommonSettings.php): failed to open stream: No such file or directory in /vagrant/LocalSettings.php on line 98"
(In reply to Steven Walling from comment #2) > > After this I get "Warning: > require_once(/vagrant/settings.d/wikis/CommonSettings.php): failed to open > stream: No such file or directory in /vagrant/LocalSettings.php on line 98" Aaarg. That sounds like a puppet resource ordering problem. /vagrant/settings.d/wikis/CommonSettings.php is created by the mediawiki::multiwiki but something is apparently trying to run wiki code before it has been applied. I'll see if I can reproduce in a clean Vagrant checkout and find a fix.
(In reply to Bryan Davis from comment #3) > (In reply to Steven Walling from comment #2) > > > > After this I get "Warning: > > require_once(/vagrant/settings.d/wikis/CommonSettings.php): failed to open > > stream: No such file or directory in /vagrant/LocalSettings.php on line 98" > > Aaarg. That sounds like a puppet resource ordering problem. > /vagrant/settings.d/wikis/CommonSettings.php is created by the > mediawiki::multiwiki but something is apparently trying to run wiki code > before it has been applied. I'll see if I can reproduce in a clean Vagrant > checkout and find a fix. Thanks for the help Bryan!
(In reply to Steven Walling from comment #2) > After this I get "Warning: > require_once(/vagrant/settings.d/wikis/CommonSettings.php): failed to open > stream: No such file or directory in /vagrant/LocalSettings.php on line 98" I'd like to see what is firing before mediawiki::multiwiki has been applied. Would you mind running `PUPPET_DEBUG=1 vagrant provision | tee puppet.log` and uploading the resulting log file here?
Created attachment 16253 [details] Puppet log
(In reply to Bryan Davis from comment #5) > (In reply to Steven Walling from comment #2) > > After this I get "Warning: > > require_once(/vagrant/settings.d/wikis/CommonSettings.php): failed to open > > stream: No such file or directory in /vagrant/LocalSettings.php on line 98" > > I'd like to see what is firing before mediawiki::multiwiki has been applied. > Would you mind running `PUPPET_DEBUG=1 vagrant provision | tee puppet.log` > and uploading the resulting log file here? Attached
The second provision worked mysteriously.
[16:43] < bd808> Puppet randomizes the order of things. You caught a bad ordering [16:43] < bd808> Which is a bug [16:43] < bd808> but hard to track down [16:44] < bd808> But I can see that I'm not requiring that bit of configuration and just letting puppet do it whenever it wants I need to put some ordering constraint on the provisioning of the multiwiki scripts.
Change 155465 had a related patch set uploaded by BryanDavis: Require mediawiki::multiverison in ::mediawiki https://gerrit.wikimedia.org/r/155465
Change 155465 merged by jenkins-bot: Require mediawiki::multiverison in ::mediawiki contexts https://gerrit.wikimedia.org/r/155465
Attempted to fix this with patch, but since neither Steven nor I have been able to recreate I'll reclose as worksforme and cross my fingers.