[Labs-l] Manual fix needed for MediaWiki-Vagrant instances running CentralAuth

Bryan Davis bd808 at wikimedia.org
Sat Oct 15 00:31:54 UTC 2016


Forwarding a note from wikitech-l about a manual schema change that is
needed to go along with the current master branch of CentralAuth. If
you run `vagrant git-update` and things stop working this may help you
get your wikis running again.

On Fri, Oct 14, 2016 at 6:22 PM, Matthew Flaschen
<mflaschen at wikimedia.org> wrote:
> If you use MediaWiki-Vagrant with CentralAuth, you may have noticed it
> stopped working.
>
> There was a recent schema change, and since CA does not use update.php, you
> have to do it manually (or destroy your box, but that will take a lot
> longer).
>
> If it's broken (huge red box and "Unknown column 'lu_local_id' in 'field
> list'")
>
> $ vagrant ssh
> $ mysql centralauth <
> /vagrant/mediawiki/extensions/CentralAuth/db_patches/patch-lu_local_id.sql
>
> (This could be done via Puppet, but that would require writing that and then
> checking at runtime whether these columns exist forever.)
>
> I hope that helps,
>
> Matt

Bryan
-- 
Bryan Davis              Wikimedia Foundation    <bd808 at wikimedia.org>
[[m:User:BDavis_(WMF)]]  Sr Software Engineer            Boise, ID USA
irc: bd808                                        v:415.839.6885 x6855



More information about the Labs-l mailing list