[03:33:09] (PS1) Ejegg: Update phpseclib, phpmailer, smashpig [wikimedia/fundraising/crm/vendor] - https://gerrit.wikimedia.org/r/684053 [03:57:52] (PS1) Ejegg: Don't try to delete pending messages with no order ID [wikimedia/fundraising/crm] - https://gerrit.wikimedia.org/r/684054 (https://phabricator.wikimedia.org/T242452) [03:59:28] Fundraising Sprint Interstitial ads halfway down the coaster hill, Fundraising-Backlog, Wikimedia-Fundraising-CiviCRM, FR-Smashpig, Patch-For-Review: Ingenico transactions not deleted from pending - https://phabricator.wikimedia.org/T242452 (Ejegg) Pulling this into sprint because it's a dead... [04:01:20] Fundraising Sprint Interstitial ads halfway down the coaster hill, Fundraising-Backlog, Wikimedia-Fundraising-CiviCRM, FR-Smashpig, Patch-For-Review: fundraising-misc log spam: Trying to delete pending message with no order id - https://phabricator.wikimedia.org/T242452 (Ejegg) p:Triage→... [04:02:47] Fundraising Sprint Muggle Baiting, Fundraising Sprint Nitpicking, Fundraising Sprint Octopus Untangling, Fundraising Sprint Pretending This Isn't Happening, and 8 others: Rewrite orphan rectifier to use the pending database and WmfFramework - https://phabricator.wikimedia.org/T141486 (Ejegg) [04:03:09] Fundraising Sprint Pretending This Isn't Happening, Fundraising Sprint Qwerty Thwacking, Fundraising Sprint Rocket Surgery 2016, Fundraising Sprint Stirring The Pot, and 8 others: Delete from the pending database when a transaction is failed or completed - https://phabricator.wikimedia.org/T143945 (... [06:07:35] PROBLEM - check_puppetrun on frdb1003 is CRITICAL: CRITICAL: Puppet has 2 failures. Last run 6 minutes ago with 2 failures. Failed resources (up to 3 shown): Package[dnsutils],Package[mariadb-client] [06:12:35] PROBLEM - check_puppetrun on frdb1003 is CRITICAL: CRITICAL: Puppet has 2 failures. Last run 11 minutes ago with 2 failures. Failed resources (up to 3 shown): Package[dnsutils],Package[mariadb-client] [06:17:29] RECOVERY - check_puppetrun on frdb1003 is OK: OK: Puppet is currently enabled, last run 46 seconds ago with 0 failures [17:25:02] Fundraising-Backlog, FR-Docker: [Bug] Docker dev setup: civibuild create wmff fails when wmff/vendor iexists - https://phabricator.wikimedia.org/T281647 (AndyRussG) [19:08:12] I updated from 1.16.0-alpha to 1.16.0.rc.0 and then to 1.17.0-alpha, so problem not in version. I will try to leave only CentralNotice extension, I use it for first time so I might just made let's say 'not so smart' mistake, so I presume solution will be simple, but maybe I'm wrong. [19:30:33] Fundraising-Backlog, FR-Docker: Docker dev setup: follow-on Civiproxy setup - https://phabricator.wikimedia.org/T281651 (AndyRussG) [19:34:09] (PS1) AndyRussG: Set wmff CIVI_SITE_KEY for Docker dev setup [wikimedia/fundraising/crm/civicrm-buildkit] - https://gerrit.wikimedia.org/r/684121 (https://phabricator.wikimedia.org/T281651) [19:39:14] &banner=*BANNERNAME* show nothing for me, and it's also not problem in extensions it's rather configuration or... [19:44:15] (PS1) AndyRussG: Set static CIVI_SITE_KEY for Civiproxy [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/684122 (https://phabricator.wikimedia.org/T281651) [19:48:06] (PS2) AndyRussG: Set static CIVI_SITE_KEY for Civiproxy [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/684122 (https://phabricator.wikimedia.org/T281651) [19:52:44] (PS3) AndyRussG: Set static CIVI_SITE_KEY for Civiproxy [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/684122 (https://phabricator.wikimedia.org/T281651) [19:55:07] (PS2) AndyRussG: WIP set admin API key [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/684006 (https://phabricator.wikimedia.org/T281651) (owner: Ejegg) [19:57:09] (PS2) AndyRussG: WMFF: sync all drupal users to contacts [wikimedia/fundraising/crm/civicrm-buildkit] - https://gerrit.wikimedia.org/r/684003 (https://phabricator.wikimedia.org/T281651) (owner: Ejegg) [20:01:46] Fundraising-Backlog, FR-Docker, Patch-For-Review: Docker dev setup: follow-on Civiproxy setup - https://phabricator.wikimedia.org/T281651 (AndyRussG) [20:04:37] Fundraising Sprint Corrugated super slide, Fundraising Sprint Downed power line jump rope, Fundraising Sprint Esperantoland, Fundraising Sprint File Systems Stage Show, and 5 others: Create civiproxy on docker - https://phabricator.wikimedia.org/T268683 (AndyRussG) Hi! I created a task for follow... [20:05:11] lolzzz992: hi! [20:05:32] K one sec, let me look at your config again [20:06:21] Ah I sent it to https://drive.google.com/file/d/13r76_Dzs6jTi82gnqioptI-w7Aw5igYV/view?usp=sharing [20:07:23] So I still don't know what I did wrong. [20:11:10] lolzzz992: ok so i see two things so far [20:11:30] Well what is it? [20:11:44] lolzzz992: $wgCentralHost and $wgCentralSelectedBannerDispatcher should not point to localhost [20:11:57] but rather the external name of the server [20:12:05] you may have copied those values from the suggested developer setup [20:12:29] but at least in the case of the second one, that'll tell the client code where to go to get the banner, from the perspective of the user's browser [20:13:46] Another note, I think $wgCentralNoticeGeoIPBackgroundLookupModule is broken currently, I'm afraid... it was originally intended as a way for local development environments and 3rd party users like you to get something equivalent to the WMF's Geolocation setting [20:14:26] on the WMF cluster, however, there's a different setup, outside the CentralNotice codebase, that geolocates based on IP and a database and sets a geolocation cookie, which CentralNotice then reads [20:14:46] However, this shouldn't matter too much to you if you don't intend to direct banners based on the user's country [20:15:33] I also tried [20:15:34] Another thing is that some code may fail if you don't have the EventLogging extension set up, at least installed on the wiki, though the whole EventLogging back-end setup is not really needed [20:15:34] $wgCentralHost = 'https://wiki.blackinkeye.tk'; [20:15:34] $wgCentralSelectedBannerDispatcher = 'https://wiki.blackinkeye.tk/index.php?title=Special:BannerLoader [20:15:35] But it didn't helped either and even commenting them out didn't helped. [20:15:48] lolzzz992: probably there's more [20:16:17] lolzzz992: also just a note, if you don't need all this fancy language targeting and such, you might have an easier time with the simpler SiteNotice functionality [20:16:48] CentralNotice is really designed for sending banners over a cluser of wikis and targeting based on a pretty complex set of rules [20:17:05] besides not being super well maintained for use cases outside the WMF cluseter [20:17:11] *cluster [20:17:13] Well but when project will get bigger, I will face same problem. [20:18:12] hmmm are you ever planning to have more than one wiki? [20:18:34] I don't know if you saw this, but here are some notes on CentralNotice setup: https://www.mediawiki.org/wiki/Extension:CentralNotice [20:18:48] (not quite up to date though heh) [20:19:31] you'd also want to set $wgCentralDBname [20:20:24] Here is some doc about SiteNotice: https://www.mediawiki.org/wiki/Manual:Interface/Sitenotice [20:20:38] I plan to have more, but well since this wiki is 100% free. I can't do a lot with it as for now it will be just one wiki. [20:21:12] here's another option, also looks simpler than CentralNotice: https://www.mediawiki.org/wiki/Extension:DismissableSiteNotice [20:21:54] lolzzz992: two other tips: to debug what's happening with CentralNotice, in the browser developer tools, go to the console [20:22:20] and type mw.centralNotice.choiceData [20:22:37] that will show you if any options about possibly available campaigns are reaching the browser [20:22:52] and also you can look at mw.centralNotice.data [20:23:07] that will show how far the browser selection code got in trying to choose a banner for the pageview [20:23:26] as for the campaign configuration you sent in the screenshot, that seems fine I think! [20:23:36] *screenshots [20:24:37] I wish this were easier! At one point I think we evaluated whether CentralNotice was actually being used anywhere outside the WMF, and the answer was probably not really [20:25:10] currently we're in a crunch just to find the time to maintain the functionality needed for WMF sites, I'm afraid [20:25:43] ahh I hope this is helpful! [20:26:29] When I typed mw.centralNotice.choiceData I get blank answer - [ ] [20:28:06] w.centralNotice.data returns 'undefined' [20:28:52] (CR) AndyRussG: "Fantastic, thanks for diving in and figuring this out!! Just a quick thought... what about doing this in wmff/install.sh in Civi Buildkit " [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/684006 (https://phabricator.wikimedia.org/T281651) (owner: Ejegg) [20:30:22] lolzzz992: ok so that means that the browser isn't getting any possible campaign choices sent [20:30:48] I'm guessing that might have to do with $wgCentralDBname.... Did you try setting that, then? [20:31:03] Well I set $wgCentralDBname [20:31:07] Also, make sure to clear the browser's cache with control-shift-R [20:31:08] And it didn't helped [20:31:46] can you see if there are any error output on the server-side logs? [20:32:04] I pressed ctrl shift r a lot of times already and do it each time. [20:32:10] okok [20:32:37] I will check logs. [20:33:13] ok cool :) [20:34:52] basically you'd need to first get it to a state where you see something in mw.centralNotice.choiceData [20:35:02] that would be the first thing to take care of [20:35:24] dunno if there are other errors you see on the console? [20:35:31] (in the browser) [20:36:12] might help to set $wgCentralNoticeGeoIPBackgroundLookupModule to null in LocalSettings [20:38:36] I can see only 504 FastCGI sent in stderr: "PHP message: PHP Deprecated" errors [20:38:54] Nothing to do with CentralNotice I think [20:44:29] lolzzz992: are your campaign start and end dates still current? [20:45:45] normally (though it may be different if you have a different skin) campaigns that the server consider to be currently active and enabled are highlighted in green on the page with the list of campaigns [20:45:58] I accidently got disconnected. [20:45:59] Uhm so I wgCentralNoticeGeoIPBackgroundLookupModule with being null gives this error: Mixed Content: The page at 'https://wiki.blackinkeye.tk/index.php?title=Search&banner=NewSofiaNotice&force=1&preview=1' was loaded over HTTPS, but requested an insecure script 'http://freegeoip.net/shutdown'. This request has been blocked; the content must be [20:45:59] served over HTTPS. [20:46:11] OOps [20:46:18] I meant without being null [20:46:22] lolzzz992: also I guess check that the time is set correctly on the server [20:46:31] K yeah that shouldn't affect much if you set it to null [20:46:57] but yeah for development purposes I normally set campaign start times a ways in the past and end times a ways in the future [20:47:05] just to make sure there's no issues happening there [20:47:32] I changed date to be few weeks forward [20:47:47] K and so hard-reload, still nothing in choiceData? [20:48:30] if you add a banner= uRL parameter with the banner name, does it show? [20:49:24] No, it won't show [20:50:19] (CR) Ejegg: "> Patch Set 2:" [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/684006 (https://phabricator.wikimedia.org/T281651) (owner: Ejegg) [20:50:22] So it's really a kind of misery for me, I don't know what is really wrong. [20:51:02] With &banner=NewSofiaNotice&force=1&preview=1 [20:51:02] oh dang, that freegeoip thing needs to be removed [20:51:18] It won't show [20:52:44] ejegg: hi! [20:53:06] lolzzz992: hmmmm [20:53:37] lolzzz992: I guess my main suggestion at this point would be to try to use SiteNotice, unless you really think you'll need the extra functionality of CentralNotice pretty soon [20:54:37] I'm pretty sure that, or the dismissable version, are what most people using Mediawiki outside the WMF use for banners [20:55:11] Yeah, unfortunally, I will try something to give a last try and if nothing will work I will just use SiteNotice, thank you. [20:55:13] lolzzz992: that said, you could look in the browser tools network log and see if there was a request to banner loader when you put the URL parameter on [20:55:14] lolzzz992: you need to add the banner to the campaign [20:55:16] at https://wiki.blackinkeye.tk/index.php?title=Special:CentralNotice&subaction=noticeDetail¬ice=BlackInkEye+First+Test [20:55:19] at the bottom of the page [20:55:29] where it says No banners assigned to campaign. Add some! [20:55:45] oh hmm, but still the force thing should have worked [20:56:42] lolzzz992: what ejegg said... that seems to have changed since the screenshots you sent [20:57:00] Oh no I had to redo all I done before because I didn't noticed that [20:57:24] Oh then well I will give more time to try make this work... [20:58:27] oh hey, DependencyError: Unknown module: ext.eventLogging [20:58:43] yeah... eventLogging is a whole nother can of worms [20:58:53] I second the suggestion to use siteNotice [20:59:02] or the dismissable site notice [20:59:31] Now mw.centralNotice.choiceData says Uncaught TypeError: Cannot read property 'choiceData' of undefined at :1:18. [20:59:31] And mw.centralNotice.data says  Uncaught TypeError: Cannot read property 'data' of undefined at :1:18 [20:59:36] CentralNotice really doesn't give the return on time invested until you need a global wiki farm [20:59:44] lolzzz992: it looks like the problem is eventLogging [20:59:51] Ah I see. [20:59:57] lolzzz992: so the CN extension depends on another extension [21:00:13] and that other extension has its own potentially complicated setup [21:00:27] and probably doesn't get you any benefits [21:00:50] unless you want to send reams of analytics data via some complicated pipelines [21:01:07] ejegg: lolzzz992: so agreed with suggesting siteNotice instead, though in fact you don't need to set up all the eventlogging infrastructure to make CN work [21:01:26] you can just download and activate the extension in LocalSettings and that should be enough to make CN run [21:01:48] oh cool [21:01:58] right, i guess that's what we developers do [21:03:52] (CR) AndyRussG: "> Patch Set 2:" [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/684006 (https://phabricator.wikimedia.org/T281651) (owner: Ejegg) [21:05:26] Umm... actually now it's working [21:05:46] lolzzz992: heheh cool! [21:07:54] *facepalm* Everything I had to is to do is go to EventLogging extension folder and type npm install, so as I originally thought solution will be really easy. [21:09:46] Thank you everyone here who helped me, I glad it's actually working. [21:10:15] lolzzz992: glad it worked!! good luck with your project :) [21:17:09] ejegg: hope ur doing ok there! also pls lmk if you have thoughts on how to move the e-mail pref ctr deploy stuff forward... in a little while I was gonna finally carefully look over the LocalSettings.php.erb file,which I assume I should diff against the one for Payments? [21:17:38] AndyRussG: it'll be pretty different from the one for payments [21:17:50] I'd say look at it against the local docker one? [21:18:29] so once we like that .erb file I guess we get jeff_green and dwisehaupt to merge it into puppet [21:18:48] and then have them open up the wiki to public view behind a client cert [21:18:52] so we can test it a bit [21:19:24] I think they said it already has a f_c_u project [21:19:35] hmm, what else? [21:20:00] Oh, the queue consumer patch still needs review? [21:20:23] ejegg: ah okok wrt to the LocalSettings [21:20:27] and yes wrt to the queue consumer [21:21:02] hah, so the situation here is a still a bit tense [21:21:10] Cali is actually the city most in revolt [21:21:36] today is sort of a rest day, though there are still some demonstrators out at key spots [21:21:48] tomorrow there's supposed to be more marches [21:22:08] though just now the president has announced he's completely backing down on the tax plan [21:22:45] anyway, after 5 days of strike and blockades on all the highways into the city, we went out to the market and most of the fruits and vegetables are sold out [21:23:26] one of the city's water treatment plants was running out of cleaning chemicals last night, but I think they convinced the folks at the blockades to let a truck through for that [21:23:29] ejegg: ahh right well that sounds like decent news wrt the gov't backing down on the tax plan... oh sorry to hear about the dearth of spplies! [21:23:38] wow [21:24:04] the riot squad has been really vicious in some parts of the city [21:24:14] ouch [21:24:23] human rights lawyers are claiming 7 ppl have been killed by police but the mayor disputes that [21:24:51] ahhh yikes [21:24:59] so if the protests continue i hope dismanteling the riot squad ('ESMAD') would be a logical next demand [21:25:56] right and some kind of strengthening of local organizations a possible outcome, too, maybe [21:27:36] a couple hours west of here they built this impressive blockade to stop up the country's main pacific port: https://twitter.com/de_polombia/status/1388231750485221385 [21:28:04] wow [21:30:28] stay safe eh! [23:33:06] picked up a bit more stuff in the neighborhood supermarkets - looks like the national truckers union is going ahead with the countrywide blockades tomorrow [23:33:38] ejegg: wow [23:33:56] are the frogs edible? [23:33:59] https://twitter.com/LaGranColombia7/status/1388891368400080897 [23:34:06] hah, they're pretty skimpy [23:34:46] the flocks of parrots that pig out in the mango tree every afternoon look like they've got some meat on them [23:34:56] ahhhh there you go [23:35:08] welp it seems like Colombia sure knows how to protest [23:35:45] I think we haven't had mass protests on that scale here in years, I daresay decades [23:37:54] a lot of disenchantment with the current gov't, which plenty of people had high expectations of, and it really feels like a lot like same old same old [23:38:06] I can't say I'm extremely well informed, but I have heard that sentiment a lot