[00:26:25] !log utrs -primary and seconary deleted [00:26:27] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Utrs/SAL [00:27:20] !log utrs production installs of pip, php-cli, php-mysql, python, python (mwoauth/httplib2) [00:27:22] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Utrs/SAL [00:28:00] !log utrs database fully migrated to utrs-database in full, no loss of data in transfer [00:28:02] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Utrs/SAL [01:10:07] PROBLEM - Puppet run on tools-exec-1401 is CRITICAL: CRITICAL: 66.67% of data above the critical threshold [0.0] [01:38:38] AmandaNP: thank you! [01:45:06] RECOVERY - Puppet run on tools-exec-1401 is OK: OK: Less than 1.00% above the threshold [0.0] [03:10:47] 10PAWS: Paws display 504 - Bad gateway time-out - https://phabricator.wikimedia.org/T143493#2569795 (10QZanden) I tried to create a server at https://paws.wmflabs.org/paws/hub/home, and clicked ''Start My Server''. But this led me to https://paws.wmflabs.org/paws/hub/user/QZanden and that didn't work. After a fe... [04:13:34] 10Tool-Labs-tools-Pageviews, 07I18n: Pageviews-num-pageviews works incorrectly in Hebrew - https://phabricator.wikimedia.org/T160248#3093622 (10MusikAnimal) 05Open>03Resolved a:03MusikAnimal Wow... I've only just now figured out that I needed to source CLDRPluralRuleParser.js!!! I had no idea! I assumed... [04:19:20] 10Tool-Labs-tools-Pageviews, 07I18n, 07RTL: add appropriate lang and dir attributes to the page title near the dates range under the chart - https://phabricator.wikimedia.org/T160247#3093626 (10MusikAnimal) 05Open>03Resolved a:03MusikAnimal Thanks! I was not aware of this trick. All links to a wiki pag... [04:21:13] 10Tool-Labs-tools-Pageviews, 07I18n, 07RTL: add appropriate lang and dir attributes to every page title in topviews - https://phabricator.wikimedia.org/T154845#3093631 (10MusikAnimal) 05Open>03Resolved a:03MusikAnimal Done! As always thank you for your enormous help :) [06:53:17] PROBLEM - Puppet run on tools-webgrid-lighttpd-1416 is CRITICAL: CRITICAL: 55.56% of data above the critical threshold [0.0] [07:28:19] RECOVERY - Puppet run on tools-webgrid-lighttpd-1416 is OK: OK: Less than 1.00% above the threshold [0.0] [12:12:01] 10Tool-Labs-tools-Other: wmflabs tool autodesc seems to have "disappeared", calls only return "Not Found" - https://phabricator.wikimedia.org/T160241#3093836 (10valhallasw) 05Open>03Resolved The webserver seemed to be serving `php` rather than nodejs, and `public_html` is empty, hence the 404. ``` tools.au... [13:27:41] Anyone know how I can configure the subpath for a Django site on Tool Labs? From reading it seems I have to pass the tools name (which is the subpath) to the webserver. [13:28:17] tobias47n9e: https://stackoverflow.com/questions/28147916/how-to-host-a-django-project-in-a-subpath with /toolname should work, I think [13:28:59] uwsgi gets passed the full url from the proxy webserver (i.e. /toolname/subpath/etc), and it's up to uwsgi or the python code to parse that further [13:29:57] valhallasw`cloud: I tried that without the slash. Will give it another try. [13:35:18] valhallasw`cloud: That setting seems to not work on labs. Or there is something else I am doing wrong. [13:37:54] I am using "webservice --backend=kubernetes python start" to launch the page. Maybe I need another parameter? [13:49:56] tobias47n9e: check your error logs to see what is happening? [13:52:21] valhallasw`cloud: The page works correctly. It is just the reverse URL lookup for links that doesn't work: https://tools.wmflabs.org/my-first-django-oauth-app [13:52:33] I might try this next: https://integricho.github.io/2014/02/22/running-django-on-a-subpath/ [13:52:52] tobias47n9e: wait [13:53:02] the link on that page is correct (https://tools.wmflabs.org/my-first-django-oauth-app/profile) [13:53:10] but then redirects to location:/accounts/login/?next=/my-first-django-oauth-app/profile [13:53:29] so it's not an issue with django itself, but with your oauth library [13:54:40] valhallasw`cloud: Thanks for catching that. I am probably parsing the URL the wrong way. Thanks for noticing. Will update the tutorial as soon as I find out what is going wrong: https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/My_first_Django_OAuth_tool#Use_UWSGI_locally [13:56:17] tobias47n9e: url(r'^accounts/login', views.login_oauth, name='login'), while profile doesn't have the ^ in front. Try without the ^? [13:56:31] because ^ forcefully says 'should be in the root path' [13:58:49] https://docs.djangoproject.com/en/dev/topics/auth/default/#django.contrib.auth.decorators.login_required [13:58:57] If the user isn’t logged in, redirect to settings.LOGIN_URL, passing the current absolute path in the query string. Example: /accounts/login/?next=/polls/3/. [13:59:07] https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-LOGIN_URL [13:59:25] ^ set that to something else, preferrably a named url pattern :-) [14:05:32] valhallasw`cloud: Thanks so much. LOGIN_URL = 'login' worked. I still have to create the oauth consumer, but then the example might finally work all the way :) [14:24:49] !log wikilabels ladsgroup@wikilabels-01 u_wikilabels=> update campaign set active = 'f' where id = 17; (T129702) [14:24:53] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Wikilabels/SAL [14:24:53] T129702: Complete etwiki edit quality campaign - https://phabricator.wikimedia.org/T129702 [15:38:15] valhallasw`cloud: It works: https://tools.wmflabs.org/my-first-django-oauth-app/ [15:45:59] tobias47n9e: awesome! [15:46:25] "my-first-django-oauth-app-tool-labs" is not approved as a Connected App. Contact the application author for help. [15:46:25] :-p [15:47:00] valhallasw`cloud: I think I still have to wait for a steward to confirm my app for other users. [15:47:04] *nod* [15:47:16] you can always use it yourself, and after approval everyone can [15:49:00] So glad that this is done. Deployment configuration is my main anxiety as a developer :P [16:02:22] it would be easier in a perfect world [16:22:31] (but it's hard to support the wide range of situations tool labs tries to support. One thing that would improve it are toolname.tools.wmflabs.org subdomains) [16:40:10] valhallasw`cloud: It sure seems like subpaths are a little more work to set up than subdomains. [16:40:31] yeah, subdomains would generally be easier to work with [16:40:43] but most existing tools are set up for subpaths [16:40:55] which means the subdomain option would not work anymore without changing things [16:40:56] etc [16:42:29] Yeah. Better to leave it like this. Besides it works rather well with Django, if one knows which options to set, of course. [16:42:48] But that is also the reason I am writing the documentation [16:48:14] Thanks for doing that :-) [18:38:56] Can someone test the OAuth consumer for me? It is approved now: https://tools.wmflabs.org/my-first-django-oauth-app [18:41:32] tobias47n9e: {{worksforme}} [18:42:01] valhallasw`cloud: Thanks a lot. [19:20:32] (03PS1) 10MarcoAurelio: Fixed log parser for global group management reporting [labs/tools/stewardbots] - 10https://gerrit.wikimedia.org/r/342332 [19:22:34] (03CR) 10MarcoAurelio: [C: 032] "Already live on the code. Publishing here as well." [labs/tools/stewardbots] - 10https://gerrit.wikimedia.org/r/342332 (owner: 10MarcoAurelio) [19:23:36] (03Merged) 10jenkins-bot: Fixed log parser for global group management reporting [labs/tools/stewardbots] - 10https://gerrit.wikimedia.org/r/342332 (owner: 10MarcoAurelio) [19:32:25] 06Labs, 10PAWS: paws returns 502 bad gateway - https://phabricator.wikimedia.org/T158685#3094256 (10Framawiki) 05Resolved>03Open I've today a 502 nginx error message when I click on the blue button "refresh", when the message says that the server is starting, after login with //Framawiki //and //Framabot//. [19:33:53] !log stewardbots Attempted to fix -and apparently it works- log parser for centralauth global group management (https://gerrit.wikimedia.org/r/342332) [19:33:54] Unknown project "stewardbots" [19:33:54] Did you mean to say "tools.stewardbots" instead? [19:34:02] meh [19:34:20] !log tools.stewardbots Attempted to fix -and apparently it works- log parser for centralauth global group management (https://gerrit.wikimedia.org/r/342332) [19:34:21] Failed to log message to wiki. Somebody should check the error logs. [19:34:32] 10PAWS: Paws display 504 - Bad gateway time-out - https://phabricator.wikimedia.org/T143493#2569795 (10Framawiki) Same problem for me, see T158685. [19:34:44] stashbot: ... [19:34:45] See https://wikitech.wikimedia.org/wiki/Tool:Stashbot for help. [19:37:10] It's look like PAWS is down now, see https://phabricator.wikimedia.org/T158685. Can someone restart the hub ? Thx ! [20:04:20] (03PS3) 10Lokal Profil: [WIP]Build fill_table_monuments_all from per dataset dicts. [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/342198 [20:08:24] (03PS2) 10Lokal Profil: Minor cosmetic changes [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/342203 [20:11:44] (03PS4) 10Lokal Profil: [WIP]Build fill_table_monuments_all from per dataset dicts. [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/342198 [20:12:00] (03CR) 10Lokal Profil: Minor cosmetic changes (031 comment) [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/342203 (owner: 10Lokal Profil) [20:20:25] any wikitech admin? [20:21:15] or contentadmin [20:52:28] (03CR) 10Jean-Frédéric: [C: 032] Minor cosmetic changes [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/342203 (owner: 10Lokal Profil) [20:53:43] (03Merged) 10jenkins-bot: Minor cosmetic changes [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/342203 (owner: 10Lokal Profil) [20:54:50] (03CR) 10jenkins-bot: Minor cosmetic changes [labs/tools/heritage] - 10https://gerrit.wikimedia.org/r/342203 (owner: 10Lokal Profil) [21:43:33] 06Labs, 10PAWS: paws returns 502 bad gateway - https://phabricator.wikimedia.org/T158685#3043978 (10QZanden) >>! In T158685#3094256, @Framawiki wrote: > I've today a 502 nginx error message I have exactly the same problem.