[00:04:55] ejegg: yep you are right about those ports, thanks! [00:05:47] woohoo! [00:05:49] dunno how i fumbled that [00:08:10] Rebuilding the box using https://gerrit.wikimedia.org/r/#/c/325515/ [00:08:32] cwd: Should I have any particular patch in place for the dash repo? [00:08:40] Is master good now? [00:09:52] I don't see anything suspicious waiting for review, at least... [00:10:03] awight: yeah dash master is fine [00:10:09] just that vagrant patch [00:10:35] neat. I'll holler when it finishes [00:11:52] i get a blank page for dash now but it's the right favicon [00:12:02] the favicon means it's working TM [00:12:21] excellent, we'll have to change that to an 8-frame GIF Then [00:13:03] http://rs732.pbsrc.com/albums/ww324/131313559sleepy/money1.gif~c200 [00:13:06] * awight shudders [00:14:14] * awight eyes postfix as possibly overkill for vagrant [00:26:38] Fundraising-Backlog, MediaWiki-extensions-CentralNotice, Easy: BUG: Campaign date fields cannot be edited as text - https://phabricator.wikimedia.org/T97159#2879063 (awight) @amritsreekumar Hi, thank you for taking a look at this bug! The funny thing is, this bug seems to have gone *away* due to a... [00:27:18] argh, unrelated fail with my name on it: [00:27:19] ==> default: Error: pip install -r /vagrant/srv/fundraising-tools/silverpop_export/requirements.txt returned 1 instead of one of [0] [00:27:22] ==> default: Error: /Stage[main]/Crm::Tools/Exec[frtools_python_requirements]/returns: change from notrun to 0 failed: pip install -r /vagra [00:27:25] nt/srv/fundraising-tools/silverpop_export/requirements.txt returned 1 instead of one of [0] [00:29:10] cwd: ==> default: Error: Could not find command '/vagrant/srv/fundraising-dash/node_modules/bower/bin/bower' [00:29:13] ==> default: Error: /Stage[main]/Crm::Dash/Exec[dash_bower_install]/returns: change from notrun to 0 failed: Could not find command '/vagran [00:29:16] t/srv/fundraising-dash/node_modules/bower/bin/bower' [00:29:19] awight: i've been ignoring that and feeling guilt [00:29:22] the silverpop one [00:29:40] that one should go away when you update vagrant/srv/fundraising-tools [00:29:42] awight: is that file missing? [00:30:04] it's added on Oct 5 [00:30:17] the bower bin? [00:30:26] oh sorry, lemme see [00:31:01] srv/fundraising-dash/node_modules/bower is missing [00:31:15] awight your package.json has bower in devDependencies? [00:31:27] yeah [00:31:43] * awight is chagrined to not have enabled PUPPET_DEBUG [00:32:58] i must have installed when it was still in regular deps? ejegg what signals dev mode? [00:34:13] cwd npm install should give you the devDependencies unless you specify otherwise [00:34:30] awight: do you have other deps, just not dev? [00:34:44] lessee if that task says --production [00:35:13] I do have other deps [00:35:23] oh I see--lemme delete that directory and try again [00:35:46] yeah, my node_modules were installed Dec 12 [00:35:52] we should probably redirect dash output somewhere [00:36:07] Still, that sounds like a minorish bug, if we aren't updating to pull in new deps [00:36:22] yeah it should be doing that [00:36:28] buggy :p [00:36:35] i was doing some npm install --force before [00:36:46] I needed to nuke the whole dash dir anyway though, to put yr patch through its paces [00:36:51] ah, yep [00:36:53] can't remember why that went away [00:37:14] force was an unrecognized option to the task afaik [00:37:29] yeah, npm::install only takes the directory arg [00:37:31] cwd wrote that option i believe [00:37:43] sorry, 'resource' [00:37:59] oho, cool [00:38:08] yeah, seems like a good thing to have [00:38:43] ah yeah https://gerrit.wikimedia.org/r/#/c/326472/ [00:38:59] I think we want something in-between, though. run npm install no matter what, only "unless" the change date on package.json > node_modules [00:39:14] currently it seems to not run npm install if node_modules exists [00:39:18] and force is maybe too ruthless [00:39:30] to save bandwidth or what? [00:39:42] nuke and pave seems like the cleanest approach [00:40:03] we don't want vagrant provision to do anything if it's up-to-date [00:40:04] to avoid state problems [00:40:16] little exceptions are okay, but the design is not to blow everything away and rebuild [00:40:25] it... does get expensive otherwise [00:40:37] k, provisioning worked [00:40:43] i'm all about saving bandwidth [00:40:44] lemme test the frontend [00:40:46] :D [00:40:51] whether or not you like it... [00:41:05] whitescreen [00:41:10] yeah me too [00:41:25] assuming the node process is screaming into the void [00:41:40] I am... so close to merging this ;) [00:42:07] so it would probably work on first provision but if you have a stale node dir you'll get that bower error [00:42:18] nothing in syslog [00:42:33] meh the stale handling isn't a blocker IMO [00:42:48] just as long as it will DTRT from a clean slate [00:42:56] we can iterate on the minor bugs [00:43:11] whitescreen however... :) [00:43:18] awight: yeah probably a little > /var/log/dash 2>&1 [00:43:26] awight: you're getting a whitescreen too? [00:43:27] on the node process [00:43:40] nothing in /var/log/upstart/fundraising_dash.log [00:43:50] ejegg: yeah ): [00:43:55] can you try running via command line? [00:43:55] yeah that's just the init script [00:44:01] sure [00:44:27] * awight coughs [00:44:52] oh good. node server.js -d -c ./settings.js [00:45:23] still the whitescreen, no loglines [00:45:43] is there a verbose++ [00:46:25] weird yeah nothing from node either [00:46:56] guh [00:47:14] without "-d" I get "Cannot GET /" [00:47:25] yeah that makes it require auth [00:48:16] well... as long as we all get the same error [00:49:47] heh [00:50:47] well i gotta go to the grocery store, back later, will get to the bottom of this [00:51:57] fwiw NODE_DEBUG=cluster,net,http,fs,tls,module,timers [00:52:01] k I'm out too [00:52:07] See ya! [00:52:51] * ejegg jumps ship [00:53:40] we staging a mass exit? I'm out too [16:43:07] ejegg: morning! that white screen on the dash is cause a bunch of the resource links are wrong, bower_modules is in src/ for example but the links are to / [16:44:10] cwd huh... in debug mode i think it should be serving static files from src/ as the root dir [16:44:44] are they normally minified or something? [16:45:53] cwd yeah, they get minified into dist [16:46:18] what the shit...i just undid the changes i made and now the dash loads normally [16:46:19] (which is silly for an internal tool) [16:46:47] just back to the previous PS? [16:47:26] i had changed the links to src/ ... got a half working page with no css ... suddenly they 404'd ... changed back to HEAD ... dash works perfectly [16:48:01] running via the service? or command line? [16:48:02] i'm on my latest PS with no changes [16:48:10] command line [16:48:19] but that didn't make a difference before [16:48:28] frustrating [16:48:36] do you still get the white screen? [16:50:32] cwd I was getting 'unable to connect' last I tried yesterday, lemme see what's up with that [16:51:54] hmm, answering on 8880 internally [16:52:01] and claims to be forwarding [16:52:15] ah i was getting the favicon and a blank page [16:52:34] deleted the dash dir and reprovisioning [16:53:04] https://github.com/Frege/frege [16:54:28] ah, npm install had failed [16:55:22] err, no, not failed, that's just the optional dev [16:55:24] *dep [17:05:38] cwd deleted and reprovisioned, now I'm getting the whitescreen [17:05:57] ejegg: inspect and see if you are getting a bunch of 404s? [17:06:01] yep [17:06:07] 404s all over [17:06:16] so what i did was go in and change all the link tags to src/ [17:06:19] for bower_modules [17:06:31] i wonder if you can reproduce that weirdness [17:06:42] (i'm getting a whole new error now :P) [17:09:02] I wonder if this __dirname thing is the issue [17:09:56] nah, __dirname is always the script path [17:11:02] provision refuses to create the dash directory now [17:13:07] well, going to /auth/drupal does the expected thing for debug mode, sets a session cookie and redirects to / [17:13:38] then do you get the whole dash? [17:13:45] nope, still 404s [17:13:56] was just making sure that it was running in debug mode [17:14:48] i just remembered that by changing those links to say src/ i was able to click 'log in' -- i bet that's what fixed it [17:15:33] hmm, does express.static work differently now? [17:15:52] I swear I had it running right earlier without changing links [17:16:09] app.use( express.static( __dirname + ( config.debug ? '/src' : '/dist' ) ) ); [17:16:22] i have no idea where my puppet problems end and my nodejs problems begin [17:16:31] :P [17:17:59] I see it running in the process list, but I don't see it listed in service --status-all [17:18:38] something keeps restarting it [17:19:43] ejegg: yeah upstart will burn your computer to the ground restarting broken services [17:19:52] ok wtf is going on here: [17:19:58] vagrant@mediawiki-vagrant:/vagrant/srv$ ls [17:20:01] arcanist fundraising-tools jobrunner libphutil org.wikimedia.civicrm SmashPig [17:20:03] vagrant@mediawiki-vagrant:/vagrant/srv$ mkdir fundraising-dash [17:20:05] mkdir: cannot create directory ‘fundraising-dash’: File exists [17:20:22] i forgot to add vagrant to the line up [17:22:06] line up? [17:22:34] of suspects [17:23:04] ah [17:23:48] cwd what command do you use to stop the service? [17:24:28] ejegg: sudo service fundraising_dash stop [17:24:41] they are named after the .conf files in /etc/init [17:24:48] ah, cool [17:24:56] but seriously: [17:24:59] vagrant@mediawiki-vagrant:/vagrant/srv$ ls fundraising-dash [17:25:01] ls: cannot access fundraising-dash: No such file or directory [17:25:03] vagrant@mediawiki-vagrant:/vagrant/srv$ mkdir fundraising-dash [17:25:05] mkdir: cannot create directory ‘fundraising-dash’: File exists [17:25:07] this is awesome [17:26:01] bah... [17:26:45] i gotta bring some firewood in before the rain starts! [17:27:56] cwd aha, bower install seems to have failed [17:28:02] there's no bower_modules subdir [17:28:24] it's serving up favicon.ico and index.html from src just fine [17:31:11] cwd yep, if I bower install and restart the service, it's all there [17:31:57] back shortly [17:53:29] vagrant@mediawiki-vagrant:/vagrant/srv$ rm fundraising-dash [17:53:32] rm: cannot remove ‘fundraising-dash’: No such file or directory [17:53:34] vagrant@mediawiki-vagrant:/vagrant/srv$ rm -rf fundraising-dash [17:53:36] rm: cannot remove ‘fundraising-dash’: Is a directory [18:05:10] cwd must be something hanging on to a reference to it? [18:05:55] gotta be something to do with vagrant [18:08:18] try shutting down the vm and deleting externally? [18:09:19] yep that's what i did [18:09:29] that worked? [18:09:29] well i was able to create it externally [18:09:34] then delete it within vagrant [18:09:41] ridiculous [18:14:43] settings.js requires bower install [18:14:45] * AndyRussG available for tt if useful 4 anyonez :) [18:17:31] ==> default: Notice: /Stage[main]/Crm::Dash/Exec[dash_bower_install]/returns: executed successfully [18:17:46] i am rustling up some grub, missed breakfast [18:17:52] ohnoes [18:18:36] Yeah I can't get my 0's and 1's straight without constant food intake [18:19:58] i am terrible about eating [18:20:08] i go too long and get stupid [18:20:18] it's a vicious cycle [18:20:50] when i worked in an office lunch was always a good excuse to get out [18:21:27] Heh [18:21:56] When I worked in an office, I would have to bring a giant bag filled with 5-6 containers of food [18:21:58] + coffee [18:22:22] (not mixed in the same containers) [18:22:36] nice [18:23:05] Mmm getting it ready was quite the morning operation... [18:23:41] Now sometimes I've been working at cafés and in the park, but it's only the morning (until kids finish school) so it's less... [18:23:47] And at the cafés you have to buy something, also [18:24:15] yeah, you pay rent at the coffee shops now [18:24:21] because of people like us :-o [18:24:59] heh, libraries are still free! [18:25:28] The other day I had to kill some hours at a mall here, went to a Starbuck's... it was absolutely bustling with students... Totally making a killing [18:25:36] Not the same for all cafes, for sure [18:26:03] ejegg: yeah! I tried to do the library last week, but it was unexpectedly closed [18:26:10] dang! [18:26:20] Also the problem there is they won't let you use the conference rooms if you're just one person [18:26:31] And the wifi in the garden (where I could do calls) is bad [18:26:34] ah, new orleans libraries are closing early today for staff training... [18:26:46] yeah, I end up doing my calls in funny places [18:27:02] Was that like a bus stop you were at not long ago? [18:27:09] Really cool! [18:27:27] hmm, maybe a spot in the lobby of the library [18:27:51] Well, basically the garden serves as a lobby [18:29:08] Fundraising-Backlog, Wikimedia-Fundraising-CiviCRM: Civi unresponsive for Engage in evenings - https://phabricator.wikimedia.org/T152786#2881869 (LeanneS) @jgreen Definitely. I'll request that they notify me as soon as they experience any issues and then text you. [18:30:37] was back up in boulder the other weekend and my god every coffee shop is _packed_ [18:30:53] mucho tech in denver [18:31:03] cwd maybe this is as good as we need for now? I mean, if we're just trying to get dash features out before Big English is over [18:31:21] we can get the whole team running it without much work [18:32:18] i would sure love to figure out this bower modules thing [18:32:18] I'd be psyched to get some extra eyes on that locale bug making it break for eileen and meganhernandez [18:34:38] haha, -v is version not verbose :P [18:36:37] it works now [18:36:54] probably good to merge [18:37:50] aha! [18:37:54] cool [18:38:27] also should probably try this on the adyen beta site [18:38:30] https://gerrit.wikimedia.org/r/#/c/325515/ [18:38:44] * cwd tries to remember where that is [18:50:10] Fundraising-Backlog, FR-Paypal, FR-WMF-Audit: Re-import PayPal audit files for Dec 9-12 when they're available - https://phabricator.wikimedia.org/T153382#2881940 (awight) Oh, they said it right there: > The existing reports made available in the Secure FTP Reporting Server will be overwritten. And... [20:08:01] (PS5) Ejegg: Top 10 days / hours widget [wikimedia/fundraising/dash] - https://gerrit.wikimedia.org/r/327401 (https://phabricator.wikimedia.org/T152028) [20:09:07] (PS6) Ejegg: Top 10 days / hours widget [wikimedia/fundraising/dash] - https://gerrit.wikimedia.org/r/327401 (https://phabricator.wikimedia.org/T152028) [20:09:39] XenoRyet: want to try to get the dash running in vagrant? cwd's vagrant patch is working [20:10:10] Yea, sure. Is it all merged or are there some patches I'll need to pull down? [20:29:11] (PS1) Ejegg: Stop inserting extra 'A/B testing' boards [wikimedia/fundraising/dash] - https://gerrit.wikimedia.org/r/327792 [20:29:45] XenoRyet: it's all merged - you should be able to just pull down master vagrant [20:30:05] and provision the fundraising role [20:30:18] Rad, I'll get on that. [20:30:30] Should I destroy and start fresh, or just provision? [20:30:45] Eh, might be due for a destroy anyway. [20:31:00] provision should get you a working dash [20:31:22] it'll complain about re-importing a couple wiki pages to payments, but that shouldn't matter [20:31:35] cool [20:31:49] dash will be running on localhost:8880 [20:41:38] Sweet, totally worked. Local dash running. [20:42:49] :D [20:43:04] nice! [20:43:19] Nice to experience vagrant behaving itself [20:43:19] got a few patches that could use review [20:43:30] Cool, I'll look into 'em after standup [20:44:17] So is there fake data around to load into this thing so the widgets aren't empty? [20:46:07] XenoRyet: ah, yeah, let me see [20:47:16] ah yeah there's a big old file of fake donations somewhere [20:47:51] XenoRyet: checkout out the README [20:47:59] 10-4 [21:18:38] (PS1) Ejegg: Clean up some ununsed stuff [wikimedia/fundraising/dash] - https://gerrit.wikimedia.org/r/327843 [21:18:48] XenoRyet: is the test data import working? [21:19:03] Hmm, I could add that to vagrant [21:19:20] Oh, I got distracted, hadn't gotten back to that yet. [21:19:35] I'm gonna get some food real fast, then check it out when I get back. [21:19:39] k [21:48:49] back in a bit!