after upgrading from MediaWiki 1.26.2 to 1.27, I was getting the following error whenever I tried to log in:
A database query error has occurred. This may indicate a bug in the software.
SELECT gu_id,gu_name,lu_wiki,gu_salt,gu_password,gu_auth_token,gu_locked,gu_hidden,gu_registration,gu_email,gu_email_authenticated,gu_home_db,gu_cas_token FROM `globaluser` LEFT OUTER JOIN `localuser` ON ((gu_name=lu_name) AND lu_wiki = 'my_wiki_db') WHERE gu_name = '126.96.36.199' LIMIT 1
- Function: CentralAuthUser::loadState
- Error: 1054 Unknown column 'gu_cas_token' in 'field list' (::1)
I performed "ALTER TABLE globaluser ADD COLUMN gu_cas_token integer unsigned NOT NULL default 1;" (patch-gu_cas_token.sql) in my CentralAuth database and the error was gone.
Does this mean I have to apply all patches in extensions/CentralAuth/db_patches manually? I thought this is something the update script takes care of.
Thanks and cheers,