Page MenuHomePhabricator

MediaWiki vagrant wikitech role bugs
Closed, DuplicatePublic

Description

I keep on getting the bug below when setting up mediawiki-vagrant.

Steps to reproduce:
1: Use the deb/apt-get method of setting up virtualbox to install it on Ubuntu 16.04 (method here under debian based linux)
2: Install nfs server using the mediaweiki vagrant mediawiki page method
3: Install vagrant using the debian x64 method on their download page (v 2.0.2)
4: Run setup.sh and put in a git username
5: Enable the Wikitech role
6: Run vagrant up

Expected result: Wiki similar to wikitech is made
Current result: I get the error above.

Event Timeline

Sau226 created this task.Mar 4 2018, 10:37 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 4 2018, 10:37 AM

I had a poke around in the checkuser repo and it appears that we are missing checkuser.php. I'll attempt to get a patch out if I can so that it works.

Change 416340 had a related patch set uploaded (by Sau226; owner: sau226):
[mediawiki/vagrant@master] Update all require_once loading lines to wfLoadExtension

https://gerrit.wikimedia.org/r/416340

Sau226 renamed this task from Warning: require_once(/vagrant/mediawiki/extensions/CheckUser/CheckUser.php): failed to open stream to MediaWiki vagrant bugs.Mar 4 2018, 3:30 PM

I am also getting a bug after this (the only role) is enabled. When I visit Special:SpecialPages it throws an error about undefined function ldap_bind() on line 92 of ldapAuthPlugin.php

Sau226 renamed this task from MediaWiki vagrant bugs to MediaWiki vagrant wikitech role bugs.Mar 4 2018, 3:32 PM

I'm honestly not sure that the wikitech role has ever worked completely. The puppet/modules/role/templates/Local.php.erb file has a lot of content that is copied from a point in time for the production deployment and now outdated.