[05:39:03] zhuyifei1999_: slow like "does not scale to thousands of people" slow, or frustrating even for one person? [05:39:43] * zhuyifei1999_ is not too sure, but I can test [06:09:51] I think it'll be fine for a single person [06:17:13] the wiki specifically is https://wpx.wmflabs.org/w/index.php/Main_Page [06:17:27] iirc that wiki doesn't use redis or memcached or anything fancy like that [06:17:33] i think it just uses APCU [06:20:38] uhhh even if i did need to use redis, I plan on setting up a redis server just for me anyway [06:20:47] So would it mitigate the slowness if I used Redis caching? [16:53:49] hi, newbie bot maintainer here, can I ask a Pywikibot on Toolforge question? [16:57:01] Tigraan: shoot [17:06:16] I asked on #pywikibot but here goes anyway [17:06:51] how do you setup a tool account so that it can have the password (without making it public)? [17:07:50] You should make the file readable only for the tool account [17:08:03] I think pwb does this by default at this point [17:08:09] from what I see the contents of /data/project/(foo) are viewable by other toolforge users, and I *believe* PWB's way of setting the account writes the authentication information into the setup files, so... [17:08:30] ok, so I should just chmod carefully [17:09:26] Yes, [17:09:50] About installing pwb, we have a installation ready you can use [17:10:35] I'm listening (https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/Toolforge#Install_the_bot_code says to git-clone your own install, but that sounded like a waste of bits to me if lots of bots use it) [17:13:33] https://wikitech.wikimedia.org/wiki/Help:Toolforge/Developing#Using_the_shared_Pywikibot_files_(recommended_setup) [17:14:07] * chicocvenancio will edit or redirect that mediawiki page in a few moments [17:44:59] !log tools granted elasticsearch credentials to tools.flaky-ci T192224 [17:45:02] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [17:45:02] T192224: Elasticsearch credential request for flaky-ci - https://phabricator.wikimedia.org/T192224 [17:48:51] Tigraan: did you understand that help page about pywikibot shared instalation? [17:49:14] I am on it right now [17:49:48] should manage it, especially with Russell Blau's help page (https://wikitech.wikimedia.org/wiki/User:Russell_Blau/Using_pywikibot_on_Labs) [17:49:58] thanks for the pointer [17:50:34] you're welcome [17:51:07] !log tools forced puppet puns across tools-elastic-0[1-3] T192224 [17:51:09] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [17:51:09] T192224: Elasticsearch credential request for flaky-ci - https://phabricator.wikimedia.org/T192224 [17:56:09] Tigraan chicocvenancio: I think there's a task somewhere in phabricator about having a better guide to install pywikibot on toolforge [18:02:56] zhuyifei1999_: I'm thinking about redirecting https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/Toolforge#Install_the_bot_code to https://wikitech.wikimedia.org/wiki/Help:Toolforge/Developing#Using_the_shared_Pywikibot_files_(recommended_setup) [18:03:01] what do you think? [18:03:09] yeah +1 [18:03:34] that mediawiki gude is so old [19:02:14] https://wikitech.wikimedia.org/wiki/User:Legoktm/pywikibot_on_tools_lab [19:17:20] legoktm: oh, is the elasticsearch working for you? just want to make sure since I didn't test [19:17:54] zhuyifei1999_: I haven't tried yet, in the meantime I came up with an idea for a different tool that I'm working on first >.< [19:22:11] k [19:30:42] !log video deleted the files (for server side upload) and unmounted the bind mount on encoding01 [19:30:43] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Video/SAL [21:33:31] I'm not sure what I've done wrong [21:33:39] https://tools.wmflabs.org/apt-browser/ is saying 503 service not running [21:33:47] tools.apt-browser@tools-bastion-03:~$ webservice status [21:33:47] Your webservice is running [21:34:55] Give me a minute to check, legoktm [21:38:41] thanks, no rush though [21:45:56] chicocvenancio: it works now, what did you do? :) [21:46:14] haha, nothing [21:46:54] I checked a few bugs, none were happening, I figured I should check the proxy next, had not gotten there yet [21:48:16] maybe I was just being impatient [21:48:26] I tried webservice restart after pulling new code and it all works fine [21:48:32] thanks for looking though :) [21:49:02] it was already running for 8 minutes, the restart probably fixed it [21:49:31] it is sometimes slow, but I don't think it would've helped to wait more without the restart [21:49:42] oh, it was working before I restarted it [21:50:00] * chicocvenancio stares at webeservice.py a bit