[00:30:47] This channel has been mirrored to a read-only Telegram channel for over a year. Today I finally did all the changes to mirror to a read-write chat instead. If you see wm-bridgebot saying things here, that will be content coming in from the https://t.me/wmcloudirc Telegram chat. This is basically the same setup as #wmhack has had with https://t.me/wmhack for about a year. [00:31:32] [telegram] Messages from the Telegram side will look like this. 🙂 [06:51:12] Danny_B: ah, glad you saw it and all is good. yw [10:38:53] [telegram] test [10:38:56] test [10:53:24] Hi! I just created a Toolforge account yesterday and got approved ~15 minutes ago, but https://toolsadmin.wikimedia.org/tools/create is giving me a 403 error. Is this just a normal delay of sorts, or have I missed something? [10:57:29] mmmm [10:59:41] let me take a look [11:01:48] Jhs: apparently a database is under maintenance and is preventing new account creation [11:07:42] Jhs: did you log out and back in after you got approved? [11:08:25] Majavah, i did not, i'll give that a try and see if it works :) [11:09:23] it worked, thanks! [11:11:39] oh! [11:19:54] thanks Majavah [13:07:19] Anyone here who can point me in the right direction – I'm totally new to this. I've made a Python Telegram bot for [[wiki links]], and just opened the Toolforge account to host it there so it's available even when my computer is off. I can't find the documentation for how to actually upload the files to toolforge though [13:13:31] Jhs: what OS do you have on your local computer? [13:13:50] mutante, Ubuntu [13:13:59] basically you scp stuff to login.toolforge.org to /data/project/YOUR_PROJECT_NAME [13:14:35] i asked that way because i got it from https://wikitech.wikimedia.org/wiki/Help:Access_to_Toolforge_instances_with_PuTTY_and_WinSCP [13:14:41] but you can see from the screenshots [13:15:50] if you have used scp before to copy files over ssh then it should be the same [13:16:25] mutante, never used it, that's the problem :P but now I know what to look for, so I'll google around a bit [13:17:17] Jhs: example: scp somelocalfile user@host:/path/on/remote/side/ [13:17:32] last time I did anything similar – on Windows with some FTP program – was probably early 2000s [13:18:19] so try: scp something jhs@login.toolforge.org:/data/project/PROJECT_NAME [13:18:26] assuming jhs is your user and you replace PROJECT_NAME [13:18:45] mutante, and this is from a normal terminal, not Putty, correct? [13:18:52] yes [13:19:08] the putty stuff is just for Windows users [13:19:53] https://kb.iu.edu/d/agye [13:23:57] mutante, thank you very much, it worked. Now, second question: I need to install a python package/library/whateveryoucallit from pip, but it seems pip is not available. Is there another way to do that? (Maybe downloading the package "manually" and uploading it to the same place?) [13:34:38] I tried the obvious – sudo apt-get install python3-pip, which should work, but I'm getting the passphrase wrong. Isn't it the one from my SSH key I should use? [13:43:07] Jhs: no, it's not the SSH key passphrase. That is basically the difference between toolforge and a cloud VPS project, you can't just install software because it's a shared environment. see https://wikitech.wikimedia.org/wiki/Help:Troubleshooting_Toolforge#Tool_requires_a_package_that_is_not_currently_installed_in_Toolforge if it is really missing and not already installed [13:45:22] Jhs: part of what i said is wrong :) but see the above link anyways.. virtualenv and then pip [13:45:27] mutante, cool, makes sense. thanks :) [13:55:54] mutante, ok, (hopefully) final question: With env I can use pip, but not pip3, which is what I really need since the script is python3. [13:56:08] (When I tried with just pip it gives the standard warning about python 2,7 being deprecated…) [14:01:08] Jhs: i don't really know but this seems relevant https://wikitech.wikimedia.org/wiki/Help:Toolforge/Python [14:05:21] The tools infobox on https://wikitech.wikimedia.org/wiki/Tool:Phabsearchemail is broke and hiding text [14:05:34] anyone know why? [14:18:42] RhinosF1: can't confirm it's broken. looks ok to me? [14:23:43] mutante: text missing here [14:24:08] https://usercontent.irccloud-cdn.com/file/6ZJlysd1/IMG_6022.PNG [14:24:24] mutante: ^ at least the tool worked! [14:30:10] RhinosF1: that looks like a CSS issue. maybe some custom CSS in your user page ? [14:30:50] mutante: I only have one piece of js on wikitech. No css [14:30:54] also see the {{ircnick|RhinosF1.. stuff at the top [14:31:11] mutante: that’s in common.js [14:31:34] the box is just placed on top of the rest of the content [14:31:41] it does not look like that to me [14:32:06] mutante: what device? [14:32:11] how does it look when you log out? [14:32:15] * RhinosF1 is using chrome for ios [14:32:36] Broke logged out [14:32:48] RhinosF1: Firefox, Chrome, Brave .. doesnt matter [14:33:30] mutante: screen size could though? [14:33:40] I don’t remeber it being broke on my mac [14:36:09] RhinosF1: did you check any other pages like that yet? infoboxes for other projects? [14:36:17] eh, tools [14:46:11] mutante: will look [14:48:11] https://usercontent.irccloud-cdn.com/file/aThr2gri/IMG_6023.PNG [14:48:16] mutante: ^ [14:49:41] RhinosF1: ok, but that looks very much like a mobile screenshot and earlier you said it was a Mac desktop? [14:50:16] mutante: I said chrome for ios and i don’t remember an issue on my mac [14:51:13] ok, got it [16:04:51] Jhs: did you figure out how to `python3 -m venv $dirname` to get your needed pip access? Our docs for these things are badly scattered at the moment unfortunately. Mostly they are mixed into the https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web#Python_(uWSGI) content [16:06:33] Jhs: https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes#Kubernetes_continuous_jobs is likely the best way to run your telegram bot too. The grid engine has much older python3 than the 3.7 version that you can get inside a Kubernetes container. [16:07:05] bd808, yes, i was able to do it via venv 👍 [16:08:05] bd808, now all I need to figure out is how to make it run continuously without me having the Putty terminal open, and was thinking of asking you since you do something similar with bridgebot [16:09:15] Jhs: https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes#Kubernetes_continuous_jobs is the basic way that bridgebot runs. [16:09:29] Bridgebot specifically documented at https://wikitech.wikimedia.org/wiki/Tool:Bridgebot [16:10:42] but that is a golang tool rather than a python3 one so it is slightly different. It uses a different Kubernetes image mostly. (toolforge-buster-sssd instead of toolforge-python37-sssd-base) [16:12:10] Jhs: stashbot is probably almost exactly like your needs. high level docs at https://wikitech.wikimedia.org/wiki/Tool:Stashbot and source code at https://phabricator.wikimedia.org/diffusion/LTST/ [16:12:48] bd808, great, thank you :D [16:13:22] Jhs: kubernetes custom deployment.yaml at https://phabricator.wikimedia.org/diffusion/LTST/browse/master/etc/deployment.yaml and wrapper script to make starting/stopping easier at https://phabricator.wikimedia.org/diffusion/LTST/browse/master/bin/stashbot.sh [16:17:57] cloud-team: the old puppet apache module has been deleted after years of ongoing conversions to httpd module [16:18:11] also the role::simplelamp that used it has been removed [16:18:27] if any cloud VPS users miss it.. they can use role::simplelamp2 now [16:18:41] i worked with all existing users / projects though [16:18:49] so they are already converted [16:24:03] mutante: that was a long pull for you. Congratulations on getting it to {{done}} [16:24:35] thanks, bd808 :) [18:00:15] !log tools.bookreader Add favicon (T241471) [18:00:19] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.bookreader/SAL [18:00:19] T241471: bookreader: Design/Create favicon - https://phabricator.wikimedia.org/T241471 [18:08:25] https://wikitech.wikimedia.org/wiki/Special:RecentChanges <-- many account creations there looks like spambots bd808 (good day!) [18:08:31] (again) [18:09:05] hauskatze: yikes :/ [18:09:24] I meant to tell yesterday but I forgot [21:37:15] !log admin rebuilding cloudnet2003-dev with Buster [21:37:17] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL