[09:23:23] Anyone with wgSharedDB experience? I get "Auto-creation of a local account failed: Username entered already in use" when I try to login in to a second wiki after creating an account on the first one. [10:46:13] what is autocreating stuff if you have $wgSharedDB enabled? [10:46:56] legoktm: I don't know. [10:47:08] do you have CentralAuth enabled or something? [10:47:13] legoktm: Now I've started down the path of CentralAuth but that seems more of a pain. [10:47:21] legoktm: at first I did not. [10:47:25] CentralAuth is basically incompatible with $wgSharedDB [10:47:35] right [10:48:00] I started experimenting with CentralAuth because I couldn't get SharedDB to work, but I'd rather just do the simpler one so I can move on to my task of debugging cross wiki notifications [10:48:00] if this is for a new wikifarm definitely go with $wgSharedDB [10:48:45] it should be as simple as https://www.mediawiki.org/wiki/Manual:Shared_database#The_simplest_setup:_A_shared_user_table [10:48:50] legoktm: it's for a local development environment. But what am I missing beyond $wgSharedDB, since that results in an error when I try to sign into site Foo? [10:49:15] that's the guide I was using [10:49:49] https://gerrit.wikimedia.org/g/mediawiki/core/+/eb583a44171fb6b44f3529719ca24df2370d70a5/includes/auth/AuthManager.php#627 [10:50:20] for some reason // User doesn't exist locally. Create it. is being triggered [10:50:53] right. For some reason LocalIdLookup is never invoked. [10:52:22] Is there a user cache that might be getting in the way? [10:53:34] maybe? [10:54:08] oh actually [10:54:28] try adding $wgSharedTables[] = 'actor' ? [10:54:54] ah [10:55:16] yep [10:55:27] that appears to work [10:55:30] wooo [10:55:40] https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/includes/user/User.php#365 [10:55:46] it now uses the actor table [10:55:50] lemme file a bug for this [10:57:03] legoktm: https://www.mediawiki.org/w/index.php?title=Manual:Shared_database&oldid=3629409 thanks! [10:59:35] https://phabricator.wikimedia.org/T243276 [11:01:25] cool, thanks for filing