[01:36:43] !help hello guys, How can I get all wikidata items that are referenced by property using SPARQL? [01:36:43] acosta_: If you don't get a response in 15-30 minutes, please create a phabricator task -- https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?projects=wmcs-team [01:49:37] * zhuyifei1999_ thinks a channel [01:50:03] like #wikidata is better for these questiions [04:22:04] I tried to revert vandalism on https://phabricator.wikimedia.org/T131541 - but I can't seem to re-add both the cloud-services and toolforge tags back to the bug (adding one causes phab to remove the other) [04:54:07] bawolff: toolforge is now a sub-project of cloud-services, so just keep toolforge [04:54:54] I'm mostly weirded out that I just can't set the bug back to the state it was prior to vandalism [08:34:57] hi all if I do ssh -i ~/.ssh/id_rsa epantaleo@login.tools.wmflabs.org [08:34:58] Permission denied (publickey,hostbased). [08:35:05] I get permission denied [08:35:27] any tips? [09:15:20] Ester: have you actually added your public key to https://wikitech.wikimedia.org/wiki/Special:Preferences#mw-prefsection-openstack? [11:06:49] !help Is it possible to have toolforge LDAP account password reset? The one saved in my browser's password manager doesn't work (I can only imagine I saved it incorrectly or it got corrupted(??)) [11:06:49] Firefly_: If you don't get a response in 15-30 minutes, please create a phabricator task -- https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?projects=wmcs-team [11:10:19] Firefly_: maybe you are looking for https://wikitech.wikimedia.org/wiki/Special:PasswordReset? [11:14:36] @Annika, will that reset my LDAP account for access here: https://toolsadmin.wikimedia.org/auth/login/ ? [11:15:21] yeah, if i'm not totally mistaken, they are the same ldap password and it is managed at wikitech [13:01:06] Firefly_: annika is right (thanks annika!) [13:03:17] :) [13:49:00] !annika: there was a problem with the network and ssh was not working. thanks for your help [13:49:07] annika: there was a problem with the network and ssh was not working. thanks for your help [14:05:38] hi all! me again! when I do: "npm build" I get "npm build [14:05:38] (node:23) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version." on the bastion [14:05:38] " [14:06:48] Ester: it is better to use kubernetes to build node.js things [14:07:39] I believe I did webservice --backend=kubernetes nodejs shell [14:07:51] webservice --backend=kubernetes php5.6 start [14:08:02] `webservice backend=nodejs shell` should get into a kubernetes pod with a more sane version of npm and node [14:08:06] but maybe I am doing something wrong [14:08:13] Oops [14:08:28] Backend=kubernetes nodejs [14:09:09] Ester: in what pod did you run npm build? [14:09:50] sorry, how do I get the pod? [14:10:59] `webservice backend=kubernetes LANG shell` will get you into a pod [14:11:25] with -- before backend? [14:11:37] Yes, sorry [14:12:12] In that environment nodejs should have a more sane version [14:12:27] (and you can update npm if needed) [14:12:59] I did [14:13:00] webservice --backend=kubernetes nodejs shell [14:15:58] how do I update npm? [14:18:42] npm install npm, I think, but lets see if that is needed [14:18:57] npm install [14:18:57] (node:11) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. [14:20:20] npm -v [14:20:20] (node:23) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. [14:20:20] 1.4.21 [14:21:39] npm 1.4 is really really old [14:21:56] yep [14:22:07] so you recommend i do npm install npm? [14:22:46] * chicocvenancio is checking if that will work/solve things [14:24:28] doesn't quite work [14:26:26] npm install npm will install it as local module [14:26:39] nvm? [14:26:42] npm install -g npm will fail without root [14:27:11] :( [14:27:29] yeah, nvm is probably the answer here [14:28:24] hwo do i install nvm? [14:31:08] inside the nodejs shell [14:31:33] `curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash` [14:34:19] Ester: ^ [14:34:56] did it [14:34:57] nvm install-latest-npm [14:35:07] Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules' [14:35:16] v [14:35:18] Please try running this command again as root/Administrator. [14:36:07] do `npm install node` [14:36:10] oops [14:36:12] nvm [14:36:18] `nvm install node` [14:36:32] then `nvm use v10.1.0` [14:39:12] ok did it [14:39:14] and now? [14:39:36] after the nvm use v10.1.0 you should have the latest node and npm [14:40:46] i see, I had to do nvm use --delete-prefix v10.1.0 [14:41:17] does that get you into a working state? [14:41:43] checking [14:41:45] :) [14:44:15] @annika Thanks, but I get "There is no user by the name "firefly". Usernames are case sensitive. Check your spelling, or create a new account." when I try that [14:44:29] And that is my LDAP username (of that I'm sure! :P) [14:45:07] https://wikitech.wikimedia.org/wiki/Special:ListUsers?username=firefly&group=&wpsubmit=&wpFormIdentifier=mw-listusers-form&limit=50 [14:45:12] Seems that there's no such user [14:45:26] @andrewbogott ^ [14:45:55] firefly_: what are you trying to achieve? [14:46:26] firefly_: could you try Firefly with a capital f? [14:46:28] I'm trying to reset my LDAP account password, i.e. the one used here: https://toolsadmin.wikimedia.org/auth/login/ [14:46:39] And @annika, I tried that, thanks though! [14:46:49] I see no firefly user in wikitech... [14:46:53] chicocvenancio: npm install [14:46:53] npm WARN notice [SECURITY] lodash has 1 low vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=lodash&version=3.10.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info. [14:46:53] npm WARN notice [SECURITY] randomatic has 1 low vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=randomatic&version=1.1.7 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info. [14:47:53] npm i npm@latest -g should work after nvm use [14:47:57] Ester: ^ [14:48:08] ok :) [14:48:10] firefly_: why are you sure that is the ldap user? [14:48:40] @chicocvenancio see https://toolsadmin.wikimedia.org/tools/membership/status/303 [14:49:21] I also tried my Wikimedia account, but that doesn't work either (my WM account is being renamed soon, hence the different names) [14:49:27] it really seems you ldap user was not created [14:49:45] Can that be fixed on the backend somehow? [14:51:06] yes, but I don't have access and I'm not sure someone from the team will be available today (being a Sunday and Mothers day). I recommend creating a phabricator task [14:53:18] Will do [14:53:20] Thank youU! [14:54:29] you're welcome [14:56:29] !help i am a walrus [14:56:29] foop_: If you don't get a response in 15-30 minutes, please create a phabricator task -- https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?projects=wmcs-team [15:08:51] chicocvenancio: after "npm i npm@latest -g" I did "npm install" [15:09:00] up to date in 86.772s [15:09:01] [!] 54 vulnerabilities found [12189 packages audited] [15:09:01] Severity: 14 Low | 32 Moderate | 8 High [15:09:01] Run `npm audit` for more detail [15:09:48] now running npm audit [15:09:56] and trying to solve vulenrabilities [15:09:59] npm is warning you about security vulnerabilities in installed packages [15:16:38] do I need to solve those vulnerabilities? I'm trying but don't seem like they go away [15:17:32] it really depends what they are, I recommend creating a phabricator task and asking for people with more knowledge than me with node.js to look at it [15:18:52] ok thanks [15:19:01] :) [15:34:04] chicocvenancio: I get GET https://tools.wmflabs.org/etytree.css 404 () [15:34:25] after webservice --backend=kubernetes php5.6 start [15:35:37] https://tools.wmflabs.org/etytree/etytree.css [15:35:58] https://tools.wmflabs.org/etytree [15:36:05] the browser gives me error [15:36:10] doesnt' load the css [15:37:00] the trailling slash is important for relative paths [15:37:14] https://tools.wmflabs.org/etytree/ will work [15:37:31] oh [15:37:35] ok [16:05:00] chicocvenancio: I am updating the bundle.js file but i don't see updates in the visualization [16:05:18] even though I restart the webservice [16:05:28] maybe browser cache? [16:05:43] a restart shouldn't be needed [16:06:22] correct! [16:06:27] thanks so much... [18:18:02] Looking for docs on how to configure the firewall on a cloud VPS instance. Not the security group, but the node's firewall. [18:18:31] internal to the node? [18:19:22] yes, thanks. Looks like I should be trying to configure "ferm" via puppet? [18:22:09] I don't have any insight into interanal firewalls in VPS. I don't think there is any docs either [18:22:22] *internal [18:23:06] hehe that's what I'm finding as well... [18:26:38] Strange business, I also discovered that there *is* a ferm service declared for the thing I'm looking at. [18:28:03] awight yep [18:28:07] though you could use: [18:28:38] awight sudo iptables -A INPUT -p tcp --dport 5666 -j ACCEPT [18:28:52] but that will be loss on a reboot of the server [18:29:16] :) Looks like I was depending on a requirement between roles, which didn't exist. [18:29:24] Thanks, paladox! [18:29:30] your welcome :) [18:32:35] I think this will do the trick, as long as the role is included: https://phabricator.wikimedia.org/source/operations-puppet/browse/production/modules/profile/manifests/ores/web.pp;7d958a8d80be32c0c9ba565cae3182bf2af44869$16 [18:35:15] Strangely seems to not work. I put the iptables bandage on, will come back to this soon. [22:29:02] I don't know if there's a known issue with the replicas at the moment, but I've had several users complain today/yesterday that user/revision queries from GUC at https://tools.wmflabs.org/guc/ are taking well over 100 seconds to complete. I can reproduce this myself as well. [22:29:28] Example: https:// tools.wmflabs.org /guc/?user=Krinkle&debug=true [22:29:35] Once it completes, the bottom shows debug information. [22:30:08] In my case, it seems all queries are <0.1s second, except one random one which seems to take 128s seconds for a single simple user table query for ab.wikipedia.org on s1.web [22:30:45] +0s: Create connection to s1.web.db.svc.eqiad.wmflabs [22:30:45] +0.1s: Query all wikis for matching revisions [22:30:45] +128.72s: Query user data for ab.wikipedia.org [22:30:45] +0.03s: Query contributions on ab.wikipedia.org [..] all other wiki, with less than 0.1s for user/contrib queries. [23:59:54] !log tools.paws manually stop several inactive user servers [23:59:55] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.paws/SAL