[00:00:11] Wiki had been on 1.41 recently, updated to 1.43. Did not have GlobalBlocking installed prior, just tried installing today on 1.43. [00:01:08] I created a DB called centralauth, I gave all other wiki DB users full privileges on that DB, I copied the mentioned sql file into that DB, and I ran the update script on all wikis, with --doshared on the central wiki update script. [00:01:36] and in my LocalSettings.php I have: [00:01:36] $wgSharedDB = 'meta'; [00:01:37] $wgSharedTables = array_merge( $wgSharedTables, ['user', 'user_properties', 'user_autocreate_serial', 'actor', 'spoofuser', 'global_user_groups'] ); [00:01:37] $wgVirtualDomainsMapping['virtual-checkuser-global'] = [ 'db' => $wgSharedDB ]; [00:01:38] $wgVirtualDomainsMapping['virtual-globalblocking'] = ['db' => 'centralauth']; [00:02:10] and no I do not have the centralauth extension installed, I just liked the name better than globalblocking [00:02:42] user_autocreate_serial pg? [00:03:09] oh, no [00:03:50] I guess that doesn't need to be in there since 1.39, but isn't harming anything either way [00:04:24] weird new tables slip in quietly [00:06:42] Increased to 512MB, still same issue, so yeah, it's not that. [00:07:05] I tried the 1.42 release of GlobalBlocking as well, no difference. [00:07:10] Are you using autopromote with APCOND_BLOCKED ? [00:07:18] uhhhh no idea what that is [00:07:29] Probably not then [00:07:48] that's about the only reported performance issue I can obviously see wrt that extension [00:08:19] You can certainly file a bug about it... or read into how to do performance/memory profiling for PHP [00:09:14] All I did was follow the instructions at the top of the extension page, so yeah I am not sure if maybe I missed something or did something wrong [00:09:48] If you can, it may be worth trying to increase the memory limit a lot (1GB? 2GB?) and see if things start working [00:09:50] I grabbed tables-generated-globalblocks.sql from the extension folder, which I assume I was supposed to do, since it didn't specify. [00:10:08] If it is still failing... [00:12:20] Still failing, just takes a whole lot longer to spit out the error. [00:12:27] Beautiful memory spike in GCP overview. [00:13:23] o_0 [00:13:36] It feels like your setup has some sort of recursive/similar stack overflow [00:14:18] I haven't customized anything wrt MW code. Just set custom favicons/logos, changed some basic stuff like footer text, and set up shared user tables + checkuser extension. [00:14:49] If you want to see the full setup, I made a blog post on my company website that's a tutorial going over exactly how I set up my install, because I couldn't find a comprehensive resource when I was doing it myself. [00:15:22] but it's just info aggregated from mediawiki.org pages + some youtube videos [00:15:36] like I say, it kinda needs a stack trace/similar to even start working out where the issue is [00:15:51] Hmm [00:15:54] random memory exhaustion lines unfortunately don't tell people much for complex stuff [00:18:48] Let me see if I can get xdebug going [00:30:25] How do I download a release as a .zip from the MW gerrit? [00:30:41] Want to try 1.41 release of GlobalBlocking because I know a wiki using it where it works fine [00:31:01] Nvm I am blind, I found the download link [00:31:34] heh [00:31:44] Note there may be other incompatilibity issues [00:31:59] Yeah I figure there may be [00:34:02] 1.41 works [00:34:07] 1.42 and 1.43 do not [00:34:30] curious [00:35:22] Definitely might be worth filing a bug in phabricator [00:36:35] 1.42 introduced numerous new services... [00:36:43] (in GlobalBlocking) [00:37:12] Wouldn't be a complete surprise if there's some edge case in there that when run without CentralAuth... [00:38:08] And if it's replicable on a fairly vanilla MW install... [00:40:35] Dreamy_Jazz: ^^ [00:41:10] Filing a bug, though not super sure what to name it [00:41:28] OOM in GlobalBlocking [00:41:33] or something is good enough [00:42:06] Question: Do you have `$wgBlockDisablesLogin = true;`? [00:42:11] heh [00:42:17] Yes [00:42:29] We saw this issue and made a fix for 1.44 [00:42:32] * Reedy looks for the popcorn [00:42:38] Backport to be done? [00:42:40] Will disable that for now then [00:42:40] This is a problem from MediaWiki core that was exposed by GlobalBlocking [00:43:14] Fancy digging it out? [00:43:21] The phab task is https://phabricator.wikimedia.org/T384197 [00:43:42] Applying the patch https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1124753 to previous release versions should fix the issue [00:43:53] test conflicts [00:43:58] (quelle surprise) [00:44:10] just gerrit being stupid, as always [00:44:33] It should be fine to backport without tests if needed [00:44:42] The fix added the tests to regression test it [00:44:54] but the fix is fairly un-complicated [00:45:54] just where it was in the file, the context it was missing/in between is 250-300+ lines [00:46:01] https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1127179 [00:46:26] same again to REL1_42 (from REL1_43) [00:46:29] ahhh jgit [00:46:40] Will need to backport the fix to REL1_43 and REL1_42, as since REL1_42 we have supported global account blocks which was the feature that exposed the problem [00:47:00] Before REL1_42 should be fine AFAIK [00:47:12] https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1127180 [00:47:53] +2'd [00:48:08] Should've pinged you earlier ;) [00:48:27] Can confirm everything is working after setting `$wgBlockDisablesLogin` to false. [00:48:40] Svellere: they'll be merged into the git branches in the next 30 minutes (at worse case)... [00:48:49] next releases for the branch is due at the end of the month [00:49:09] Aha good to know, I'll be sure to update next month then. [00:49:13] Thanks. If you also have FlaggedRevs installed on your wiki, there may be additional issues which we have not fixed yet with `$wgBlockDisablesLogin` [00:49:30] I do not have that installed, if it's an extension. [00:49:36] Yes, it is an extension [00:50:57] One question, is it expected behavior that adjusting Special:GlobalUserRights will not reflect in a local wiki's Special:UserRights page? [00:51:14] Poor will getting pinged all the time [00:52:47] Yes. The systems are separate and so it's different places being updated when you use the form. [00:54:24] However, the global user groups will still give the functionality on the local wiki (as long as the global group is enabled on that wiki). [00:55:09] Ah okay gotcha, just making sure. [00:56:22] * Dreamy_Jazz goes afk [00:57:26] Thanks for the help :) Cya