[01:58:17] howdy [02:12:23] first patch for pywikibot https://gerrit.wikimedia.org/r/94469 [02:19:01] mdupont: cool! we hang out in #pywikipediabot btw :) [02:19:17] ok nice [02:40:22] Hey all, if anyone's around: I'm looking for info on whether an SVG renderer is available on Tool Labs [02:45:38] Dcoetzee_: Very likely one is [02:45:46] If there isn't, one can be installed pretty easily [02:45:59] I see VIPS and imagemagick on tools-login [02:47:30] rsvg too [02:48:53] Hmm I'm on tools-login and I do see imagemagick and vips but not rsvg. Which is okay I guess [02:49:21] alexz@tools-login:~$ rsvg-convert --version [02:49:21] rsvg-convert version 2.36.1 (Wikimedia) [02:49:25] Oh right [02:49:27] Wrong binary name [02:49:29] I'm dumb [02:49:54] I wonder if it has the same font set as the servers used by the projects [02:50:17] Nope [02:50:25] It looks very light on fonts [02:51:06] I mainly just need the ones listed under https://meta.wikimedia.org/wiki/SVG_fonts [02:51:14] Particularly DejaVu [02:51:50] https://github.com/wikimedia/operations-puppet/blob/production/manifests/imagescaler.pp#L44 [02:52:34] Also I didn't mean DejaVu, I meant Liberation, oops [02:52:36] Ideally we just want to get imagescaler::packages applied [02:52:44] And it does have fonts-liberation, great [02:53:01] Uh, imagescaler::packages::fonts [02:57:10] You must be a member of the projectadmin role in project tools to perform this action. [02:57:11] :( [02:57:15] :-( [02:59:20] Need to find someone from ops to add me [03:11:51] Yay confirmed rsvg-convert on Labs renders Liberation, all good [04:22:04] My perfectionism is going to be the death of me. I started out with a simple project of a small web interface to make simple arms, and I'm ending up with a flexible system that can emblazon all but the more complicated arms. "Hm. It'd be cool if X is also supported." "Hm, it'd suck if you couldn't Y." [04:23:59] And thus a two-day swift hack turns into a two week epic coding spree. [04:24:28] ... hm. Wrong channel. :-) [05:10:53] Coren: Can you add me as a projectadmin to the tools project if you're still about please? [05:11:48] As a "real" admin or for a specific purpose? (I.e., should I add you to the grid management groups, etc)? [05:13:14] Err [05:16:53] Successfully added Reedy to projectadmin. [08:53:26] Hmmm PHP doesn't seem to have access to rsvg-convert on whatever server it runs on [08:58:43] Hmm how do I access programs like rsvg-convert from the web cluster? Is it possible? [08:58:53] Couldn't find anything on the wiki [09:00:46] Maybe I can make a copy of it in the tool's home [09:03:15] Huh that actually worked [09:03:18] Neat [17:19:15] Coren: Is something up with labs? [17:19:18] Pages arnt loading [17:19:33] hmm, seems to be my project only [17:23:18] Could I get some help? Getting "Proxy Error" "Error reading from remote server" [17:27:58] Coren? [17:28:10] Guess O [17:28:18] Guess I'll go hop in the shower then [17:50:59] hey... is this the Nov 9 research channel, or are people on -labs2? [17:51:02] anyone in here looking for the hackathon channel? [17:51:24] if so, most people are on wikimedia-labs2 [17:57:30] * andrewbogott is a little confused by multiple competing labs channels :) [17:57:57] TParis, ok, I see your scrollback. I'm not necessarily the best at solving toollabs issues but can have a go. [17:57:58] So I'm getting "Proxy Error" "Error reading from remote server" [17:58:04] I take it this worked for you, recently? [17:58:25] Can you paste the URL that you're hitting? [17:58:27] Well yes, until a few minutes before I said something. Pretty sure I let an indefinite loop go on accident. [17:58:41] https://tools.wmflabs.org/unblock/ [17:59:05] TParis: How would it make you feel if I said that that link works for me? [17:59:23] Besides a headdesk? [17:59:31] Working for you now too? [17:59:57] Only after I cleared my cookies [18:00:06] so there must still be an indefinite look somewhere [18:00:08] infinite* [18:00:15] damn Wikipedia...getting indefinite in my head [18:00:50] thanks [18:01:02] Looks like the tools cluster was a bit busy half an hour ago [18:01:09] So possible it was related to that [18:01:30] well… network was busy, but not /that/ busy [18:12:11] YuviPanda, Coren, did one of you just now switch wikitech-test over to use the dynamic proxy? [18:33:08] hey [18:33:13] is there a wikidata DB on tools ? [18:33:53] wikidatawiki_p i think [18:40:38] thanks [18:40:43] giftpflanze: password ? [18:40:46] username ? [18:41:26] average: if you do 'sql wikidata' it should grab the username & password from the replica.my.cnf-file in your home dir [18:41:52] I'll try now [18:45:56] does labs have phpmyadmin? [18:47:09] doesn't and won't afair [18:49:25] So...ssh is it then? [18:49:33] or can I install it on my own? [18:50:04] you can't [18:50:20] They have some kind of script checker? Why couldnt I? [18:50:23] It is in the terms? [18:50:29] security issues [18:51:06] phpmyadmin is no more insecure than any other script that allows user input [20:22:34] andrewbogott: Still around? [20:22:44] yep [20:22:58] I'm getting the Labs proxy IP when I try to get HOST_ADDR or XFF_FORWARDED_FOR [20:23:30] nevermind, I know what [20:23:31] why* [20:27:18] andrewbogott: Not me. [20:28:06] Coren, I think i've long since forgotten whatever question you are asking :) [20:28:32] TParis: phpmyadmin is a security hole including a couple of db management features. If you need a gui, install the mysql workbench on your local host and tunner over ssh. [20:28:38] Coren, but, hey, want to review https://gerrit.wikimedia.org/r/#/c/94581/ ? [20:28:53] andrewbogott: YuviPanda, Coren, did one of you just now switch wikitech-test over to use the dynamic proxy? [20:28:58] Oh! [20:29:04] OK, then it must've been YuviPanda [20:29:23] It didn't work, alas [20:29:29] Coren: The real security hole is any of our individual projects. [20:29:30] Well, I know why I guess. [20:30:23] TParis: There probably aren't swarms of bots already scanning for the known vulnerabilities in our custom projects... [20:30:57] Probably, but the basics probably still work in a few of them. [20:31:13] For instance, do we check for mysql_query() usage [20:31:14] ? [20:31:48] TParis: Don't install phpmyadmin, period. mysql workbench over SSH is much more flexible and efficient anyways. [20:32:39] TParis: It does compression (well, ssh does) and local caching, and the gui is local avoiding AJAX/web roundtrips. [20:32:47] Coren: Yeah yeah, got it. It's a false sense of security but if it floats ya'all's boat. [20:38:08] On another subject, the HTTP_X_FORWARDED_FOR doesnt seem to be working [21:27:58] I'm a new labs user. I just noticed that the password parameter in my replica.my.cnf is empty. This may be preventing me from accessing the database from MySQL Workbench. Can you assign me a password? [22:18:05] Would anyone know why I cant get the host_address or http_x_forwarded_for? [22:29:33] andrewbogott_afk: not me, I was on a plane [22:29:34] Coren: ^ [22:29:37] might've been Ryan_Lane [22:37:59] hey addshore [22:38:00] :P [22:38:42] Would anyone know why I cant get the host_address or http_x_forwarded_for? [22:39:32] TParis: you can't get originating IPs, if that's what you're asking [22:39:35] PrivacyPolicy [22:40:12] Alright, well that makes UTRS useless so...guess it'll just die when toolserver dies [22:40:32] TParis: you can just set it up on labs itself and run it, and then you get full IP info [22:40:40] Coren: ^ [22:40:52] What do you mean? [22:41:08] TParis: the terminology is confusing, but labs != toollabs [22:41:27] TParis: with labs, you can get an instance that's pretty much just a VPS that is running whatever you make it run [22:41:29] you've full root [22:41:59] I see, so is there a guide on how to do that [22:42:03] TParis: moment [22:43:06] TParis: https://wikitech.wikimedia.org/wiki/Help:Contents is a good start, and has links to a lot of docs [22:43:10] TParis: specifically, https://wikitech.wikimedia.org/wiki/Help:Getting_Started [22:43:34] TParis: you would want to requrest a UTRS project, which will give you admin rights over it - and you can grant it to whever as you wish [22:44:06] TParis: I can't approve the project request, but Coren or andrewbogott_afk can, and consdering it is UTRS I guess that won't be an issue [22:44:07] Okay, so let me understand. Toollabs is a instance on labs, right? [22:44:18] TParis: toollabs is a *project* on labs [22:44:29] TParis: individual machines are instances - tools-login is an instance, tools-webproxy is an instance, etc [22:44:33] TParis: one project can contain multiple instances [22:45:02] Okay, so right now, UTRS is an instance on the toollabs project then? [22:45:32] TParis: if it is running on toollabs on the grid, it is just a process running on one of the 'exec-node instances' [22:45:40] TParis: if you go to http://tools.wmflabs.org/ [22:45:48] TParis: i mean, http://tools.wmflabs.org/?status [22:45:54] TParis: tools-exec-01 is an instance [22:45:59] TParis: tools-exec-02 is an instence [22:45:59] etc [22:46:13] TParis: so each instance in the case of toollabs is setup to run multiple different processes from different users [22:46:21] but if all you want is to run UTRS, it doesn't need to be that complex at all. [22:46:35] you can just treat the instance you have as a regular server and just do whatever you want to as you would elsewhere [22:47:20] I'm sorry if something I did will be reported... :S [22:47:33] PiRSquared: did you try to sudo on labs? :P [22:47:35] err [22:47:36] toollabs [22:47:41] Exactly. [22:47:50] Okay, I've created a project request [22:47:52] * YuviPanda trouts whoever coined the name 'toollabs' [22:47:58] "pirsquared is not allowed to run sudo on tools-login. This incident will be reported." [22:48:11] PiRSquared: that'll be to Coren [22:48:20] Coren: please forgive me! [22:49:09] TParis: sweet. [22:49:19] TParis: now to wait for Coren or andrewbogott_afk or Ryan_Lane to approve https://wikitech.wikimedia.org/wiki/New_Project_Request/Unblock_Ticket_Request_System [22:49:49] TParis: I can help with the setup too, if you want. A lot of things are setup through puppet, and while it saves a lot of time / bugs in the long run, it is immensely frustrating in the short run [22:50:01] YuviPanda: I guess I need to log out and back in in order to use "become" sorry [22:50:12] PiRSquared: heh, don't worry about it :D [22:50:20] PiRSquared: yeah, groups are read at login only [22:50:30] TParis: is UTRS just a PHP/MySQL/Apache application? [22:50:33] or something more complex/ [22:52:25] heh, works http://tools.wmflabs.org/pirsquared/ [22:52:53] I never thought it was that easy... [22:52:58] PiRSquared: :D [22:55:14] YuviPanda: can you put .php files in the public html directory? [22:55:21] PiRSquared: IIRC yes [22:55:22] or do they need to be in cgi bin? [22:55:26] PiRSquared: oh, not cgi-bin [22:55:29] public_html [23:10:09] hey all, I have a guy here in the hackathon that just created a new account on labs [23:10:15] username: Turicas [23:10:46] he is going to work with us on ptwikis [23:11:10] woo! [23:11:12] toollabs? [23:11:25] if people need adding to toollabs / shell requests, I can help [23:12:07] HenriqueCrang: added him [23:12:17] he should be able to login once he has his ssh key in order [23:12:20] thanks, YuviPanda ! [23:12:37] HenriqueCrang: poke me if you need help adding more people / adding packages / whatever. I'll be around for ~8 more hours today [23:12:41] HenriqueCrang: good luck on the hackathon! [23:12:56] o/ [23:12:58] it's practically over, YuviPanda [23:13:03] aww damn [23:13:07] why was it in a different channel?! [23:13:08] geez [23:13:15] #wikimedia-labs2 :P [23:13:48] I wasn't really part of it though, I just noticed it on Meta. [23:14:03] right [23:15:56] might be back later [23:21:44] YuviPanda, how can I grant Turicas access to ptwikis tool? [23:22:28] HenriqueCrang: looking [23:22:48] HenriqueCrang: let's switch to -labs2