[09:25:33] Reedy: This needs to go in before the deployment of group1: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/FlaggedRevs/+/514446 can you take a look so I backport it? [09:30:08] Amir1: indenting is wrong [09:30:21] Reedy: let me fix it [09:30:26] Also looks like not enough } [09:31:00] Reedy: what's missing? [09:31:15] Maybe it's just how the diff looks [09:31:18] stupid gerrit [09:31:49] Reedy: fixed the indentation [09:34:07] I'm wondering how this thing even worked https://en.wikipedia.beta.wmflabs.org/wiki/PC1 [09:37:48] Reedy: thanks! [14:01:44] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @CFisch_WMDE & @bd808 - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:51:23] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @CFisch_WMDE & @bd808 - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:59:18] Good morning (or localtime, if you prefer). I'm trying to install CirrusSearch 0.2 on MW 1.32.1, and it's unhappy. I get a "Root mapping definition has unsupported parameters" from the Elastica 6.0.2 extension (with Elastic 7.1.1 running). Googling finds no useful results. Getting the master branch of CirrusSearch whines that I'm not running MW 1.34 or higher. Can anyone provide any insight? [14:59:55] k4jcw: elasticsearch 7.x is not supported [15:00:16] for MW 1.32 you need elastic 5.x [15:00:49] Hrm. OK. I can try that. [15:03:53] I can get the current extension plugins, but clicking the 'Download' link on https://www.mediawiki.org/wiki/Extension:Elastica throws an error page with "No such extension "Elastica". [15:03:53] Unable to fetch extension list!" [15:05:21] Also, trying to "git clone ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Elastica" results in errors. Are normal plebes supposed to be able to clone that repository without logging in? [15:05:50] k4jcw: you need to use http if anonymous [15:06:05] K. I'm just going in what the instructions said at the top of the page. [15:06:18] also please fetch the REL_1* branch that matches your MW version [15:06:46] That page being "https://gerrit.wikimedia.org/g/mediawiki/extensions/Elastica" [15:06:48] Will do. [15:10:49] https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Elastica is fixed [15:39:40] This is turning into quite the headache. Elasticsearch 7.x installed painlessly. 5.6, not so much. It doesn't include a JRE/JDK, and installing the default-jdk on Debian 9 gives some obtuse Java error message when I try to start bin/elasticsearch. access denied ("javax.management.MBeanTrustPermission" "register"), whatever that means. [15:47:38] k4jcw: is there anything with java.security.policy or security manager when starting elasticsearch? [15:49:18] Yeah, I just found a page on adding a line to the grant section in the security policy. Now elasticsearch is complaing there's no config directory (or maybe file). I installed it with apt-get, per the instructions on Elastica's page. Not sure why there's no config file/directory. [15:52:06] java.security.policy should point to it, the defaults are something like $HOME/.java.policy or something similar. Its location is set via the property though. You can get rid of security manager and try to run it totally disregarding the policies. [15:54:29] /etc/java-8-openjdk/security/java.policy is what it added it to. [15:55:12] I added it to, rather. [15:55:22] that's probably the global file, yes [15:56:31] looks like you ran into https://github.com/elastic/elasticsearch/issues/21932 [16:01:05] Yeah. And what's bizarre is that if I look at the files in the .deb file, there's some /etc/elasticsearch files that aren't being installed. [16:01:25] doesn't look good! [16:01:25] Nor are any of the systemd files installed. [16:03:05] your system decided you are running init.d-based debian :) [16:05:07] I suppose it could have, although it didn't install /etc/log4j2.properties, jvm.options, or elasticsearch.yml either. [17:31:08] dcausse, saper, I appreciate your help. However, I think CirrusSearch is going to go unused until MW 1.34 comes out and a modern version of Elasticsearch can be used. [17:57:13] k4jcw: MW 1.33 supports ElasticSearch 6, that may be more viable for you? Support for ES7 is unlikely to come anytime soon given that CirrusSearch is primarily maintained by the WMF, and they only care about compat with the version that WMF runs in production. And, WMF is unlikely to switch off the 6.x branch for a couple of years [17:58:00] I didn't test installing ES 6, just 7 and 5. If 6 works, that'd be an acceptable path. [17:58:35] 6 only works on mediawiki 1.33 [17:58:58] (and the 6.5 release is the officially supported one, ymmv if you try something more recent like 6.8) [18:31:02] Skizzerz, I'll plan on going with 6.5, then.