[14:49:57] [02sopel-CVTFeed] 07MacFan4000 pushed 031 commit to 03main [+0/-0/±1] 13https://git.io/J1J4S [14:49:59] [02sopel-CVTFeed] 07MacFan4000 0312fe64d - Add interwiki [16:59:13] [02sopel-CVTFeed] 07dmehus commented on commit 0312fe64d87aec4fadd31c0bfdab41459c44e2c663 - 13https://git.io/J1UJd [17:02:17] [02sopel-CVTFeed] 07RhinosF1 commented on commit 0312fe64d87aec4fadd31c0bfdab41459c44e2c663 - 13https://git.io/J1UUD [17:02:37] dmehus: I thought MacFan4000 restored everything [17:03:03] You should be able to sudo -u sopel nano/vim and add yourself [17:03:08] Sopel config is on disk [17:03:22] He never did get added to the admin list even before the removal [17:03:34] No I told him to do it himself [17:03:52] He has the ability to do it [17:05:23] RhinosF1, oh lol [17:05:25] dmehus: config files are /srv/sopelbots/prod/libera.cfg and /srv/sopelbots/test/libera.cfg [17:05:28] I didn't know I could do that [17:05:49] MacFan4000, RhinosF1, thanks. I suppose this would be a good opportunity for me to do that [17:06:02] has our server IP changed since my last login in May/June? [17:06:26] After you edit them the bots will need to be restarted (sudo service mirahezebotprodlibera/mirahezebottestlibera restart) [17:06:55] ah, okay, thanks ;) [17:06:59] that makes sense [17:06:59] You can’t ssh using the domain bots1.mirahezebots.org [17:07:11] right, because of the CloudFlare thing [17:07:34] You have to use the direct IP, or you can use 100.node4.net.fosshost.org [17:08:37] ah, let me see if the IP I'm using is still valid [17:08:44] oh I didn't save it as an SSH session [17:08:46] drat [17:09:10] I'll use the hostname then [17:09:25] I always use the fosshost subdomains as they are easier to renember [17:09:38] true [17:10:00] hopefully Fosshost won't change the subdomain scheme [17:10:35] They don’t even do it for all of there vps [17:10:47] oh [17:10:50] only some have subdomains [17:10:55] ah [17:11:20] idk why but that’s how it is [18:20:28] MacFan4000, I get error writing libera.cfg when I go to save it [18:20:34] It says permission denied [18:20:39] chmod issue? [18:21:32] I just used nano libera.cfg [18:21:40] maybe I needed to sudo nano libera.cfg? [18:21:43] You have to use sudo to edit files - so close the file and reopen it with sudo nano [18:23:13] yeah [18:23:23] I guess I can't paste my passphrase so have to type it [18:23:24] lol [18:28:31] ergh it's not accepting my passphrase and I'm typing it exactly, and logged in...is there no way I can paste the passphrase? [18:29:33] It looks like you are still logged in to the server [18:30:23] yeah [18:30:47] but it's not accepting my passphrase for my private key when trying to sudo nano libera.cfg [18:31:13] dmehus: oh wait with your level of access you have to use sudo -u sopel nano [18:31:22] You have restricted sudo access [18:31:41] oh [18:31:45] that makes sense heh [18:31:47] thanks :) [18:33:13] ```dmehus@bots1:/srv/sopelbots/prod$ sudo -u sopel nano libera.cfg [18:33:13] Unable to create directory /home/dmehus/.local/share/nano/: Permission denied [18:33:13] It is required for saving/loading search history or cursor positions. [18:33:13] Press Enter to continue``` [18:33:13] ^ Is that normal? [18:33:34] Yeah that shouldn’t be an issue [18:33:38] okay [18:36:15] so for restarting the service, do I have to use `sudo -u sopel service mirahezebotprodlibera/mirahezebottestlibera restart` too? [18:37:20] or just `sudo service mirahezebotprodlibera/mirahezebottestlibera restart`? [18:37:37] guess I'll try the second one and see if I get a permission denied erro [18:37:42] You should be able to use sudo service [18:37:48] oh, okay, that's good [18:38:18] ```dmehus@bots1:/srv/sopelbots/test$ sudo service mirahezebotprodlibera/mirahezebottestlibera restart [18:38:19] Invalid unit name "mirahezebotprodlibera/mirahezebottestlibera.service" was escaped as "mirahezebotprodlibera-mirahezebottestlibera.service" (maybe you should use systemd-escape?) [18:38:19] Failed to restart mirahezebotprodlibera-mirahezebottestlibera.service: Unit mirahezebotprodlibera-mirahezebottestlibera.service not found.``` [18:38:44] mirahezebotprodlibera for prod [18:38:53] ah right [18:38:55] mirahezebottestlibera for beta [18:38:59] thanks, yeah just noticed that [18:39:23] And for things like restarts remember to log it with $log [18:39:45] yeah [18:39:52] I remembered that part, but still same error [18:40:09] ```dmehus@bots1:/srv/sopelbots/test$ sudo service mirahezebotprodlibera/mirahezebotprodlibera restart [18:40:09] Invalid unit name "mirahezebotprodlibera/mirahezebotprodlibera.service" was escaped as "mirahezebotprodlibera-mirahezebotprodlibera.service" (maybe you should use systemd-escape?) [18:40:09] Failed to restart mirahezebotprodlibera-mirahezebotprodlibera.service: Unit mirahezebotprodlibera-mirahezebotprodlibera.service not found.``` [18:40:50] mirahezebotprodlibera not mirahezebotprodlibera/mirahezebotprodlibera [18:41:06] oh [18:41:20] sorry that was a bit confusing [18:41:28] as I just copied what you wrote above [18:41:57] there we go [18:42:08] $log Restarted prod and test MirahezeBot [18:42:13] Saved item "Restarted prod and test MirahezeBot" [18:42:21] .gj Void-bot [18:43:08] You're doing good work, Void-bot! [18:46:04] What's involved in adding MirahezeBot and StreamBotMH to new channels, is that all done in libera.cfg, or is there a specific file that needs to be edited in a public repo? [19:00:21] Just .join in pm for MirahezeBot and !join for StreamBotMH [19:00:31] MirahezeBot: should persist the change [19:00:36] Barring some sort of crash [19:03:51] dmehus: ^ [19:10:55] RhinosF1, ack, thanks :) [19:11:24] dmehus: as long as it's a clean stop then it will dump any config changed during runtime [19:11:51] If the server hard stopped due to a crash or you ran kill -9 then it's a different story [19:11:58] ah [19:12:00] I can't tell you what you would happen then [19:12:08] Because that [19:12:14] Would be an abrupt stop [19:12:19] yeah I'm familiar with kill -9 from my days running visual chat servers [19:12:25] It might not even start if the wrong thing was being wrote [19:12:45] MacFan4000: can you change the MariaDB config to start up in read only? [19:12:54] I don't think I ever checked that was done [19:13:01] oh [19:13:23] * dmehus wonders if StreamBotMH has a help file [19:13:25] !help [19:13:25] Ask your question and somebody should answer soon, alternatively you can open a task on https://phab.mirahezebots.org [19:13:25] !(watch|ignore|unwatch|unignore|list|join|part|quit) [19:13:33] ooh, cool [19:13:33] dmehus: if things stop during a write, then str [19:13:34] it does [19:13:40] Strange stuff can happen [19:13:47] RhinosF1, yeah [19:13:51] That's why you're not supposed to just pull the power to a computer [19:13:51] Er [19:13:58] Unless it's already screwed [19:14:10] I will definitely ping someone if we're at that point [19:14:10] Especially during updates [19:14:16] Ye pls [19:14:34] !help watch [19:14:34] !(watch|ignore|unwatch|unignore|list|join|part|quit) [19:14:34] Ask your question and somebody should answer soon, alternatively you can open a task on https://phab.mirahezebots.org [19:14:46] !list [19:14:47] botswiki; all; [19:15:13] does watch use the Miraheze db name? [19:15:22] Yes [19:15:26] ah, cool [19:15:31] who wrote StreamBotMH? [19:15:35] It gets it from #miraheze-feed [19:15:39] So follows that format [19:15:51] Originally DeltaQuad for enwp I think [19:15:58] yeah I knew that, it works with StreamBotMH-read and MirahezeRC in #miraheze-feed [19:16:00] oh, cool [19:16:50] Bots don't need a restart if just joining a new channel, though, right? [19:17:11] Only needs restart if (a) bot not in channel or (b) config files were changed, I think [19:19:01] Nope [19:19:07] Only config files changed [19:19:16] If it's not in channel just make it join again [19:19:24] Unless it's every channel [19:19:33] For StreamBotMH [19:19:40] If read is broken then ye restart [19:21:08] RhinosF1, ack, thanks :) [19:22:28] If it looks broken and you can't fix by on irc commands, check sudo status and save output then restart [19:22:35] Does StreamBotMH need to be PMed, or does it need the command said publicly? [19:22:44] StreamBotMH: is public [19:22:48] RhinosF1, thanks :) [19:22:51] (to both) [19:22:54] Sudo service status even [19:23:04] ah, cool [19:23:10] yeah [19:23:14] !join #miraheze-ballmedia-feed [19:23:14] Permission denied. Login as an administrator to use this command. [19:23:18] oh [19:23:31] hrm [19:23:32] It'll be in /srv/StreamBot the config file [19:23:42] not sure I login as a StreamBotMH admin [19:23:50] MacFan4000: ^ [19:23:51] maybe I need to add myself to a separate config for that? [19:24:04] ah, [19:24:06] thanks [19:24:10] * dmehus looks [19:24:41] no such file or directory [19:24:46] looking in srv [19:25:34] ah [19:25:39] wrong case [19:26:09] settings.py? [19:27:11] doesn't seem like it [19:27:25] The file is in puppet [19:27:34] look in modules/streambot [19:27:40] (On GitHub) [19:28:37] And streambot was I guess written by DQ and it was modified a bit by EK to restrict access to the commands [19:29:41] dmehus: https://github.com/MirahezeBots/puppet/blob/master/modules/streambot/templates/settings.py#L10 [19:29:42] [url] puppet/settings.py at master · MirahezeBots/puppet · GitHub | github.com [19:29:55] MacFan4000, thanks [19:30:13] We should update sarios cloak while we’re at it [19:30:59] [02puppet] 07dmehus opened pull request 03#238: Adding self - 13https://git.io/J1Uiw [19:31:52] oh [19:31:54] good point' [19:31:56] will do [19:32:02] dmehus: uodate sarios cloak and I'll merge [19:32:09] RhinosF1, doing now [19:32:18] I must not have merge access to the puppet repo [19:32:18] [02puppet] 07MacFan4000 synchronize pull request 03#238: Adding self - 13https://git.io/J1Uiw [19:32:33] which repos can I merge? [19:32:59] [02puppet] 07MacFan4000 pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/J1Uij [19:33:00] [02puppet] 07dmehus 03d2a76b4 - Adding self (#238) * Adding self * Update Sario’s cloak Co-authored-by: MacFan4000 [19:33:02] [02puppet] 07MacFan4000 closed pull request 03#238: Adding self - 13https://git.io/J1Uiw [19:33:36] dmehus: you have access to anything that is only on bots1 [19:33:42] ^ [19:33:49] MacFan4000, ah, thanks [19:33:56] so I assume not that one then [19:33:59] No [19:34:01] Puppet affects servers that you don’t have access to and so you can’t write [19:34:05] ah, right [19:34:13] You can use puppet-run to deploy I think [19:34:19] ah [19:34:21] If not then wait 6 minutes [19:34:26] true [19:34:30] I'd probably just do that [19:34:37] if it runs every 6 minutes [19:34:41] 10 [19:34:47] ah [19:34:52] On the hour and every 10 minutes after [19:34:56] Streambot would need a restart however [19:35:00] right [19:35:02] doing now [19:35:16] service run-puppet status will tell you when last run was [19:35:22] oh [19:35:26] I just ran it [19:35:29] ah [19:35:31] thanks [19:35:34] I'm surprised puppet doesn't auto restart [19:35:41] We should change that [19:36:16] $log Restarted StreamBotMH [19:36:22] Saved item "Restarted StreamBotMH" [19:36:53] You should have access now [19:37:01] thanks [19:37:14] !join #miraheze-ballmedia-feed [19:37:14] Now joining channel [19:53:38] !join #miraheze-ballmedia-polandball-feed [19:53:38] Now joining channel [19:53:51] !join #miraheze-ballmedia-polcompball-feed [19:53:52] Now joining channel [19:59:57] !join #miraheze-ballmedia-commons-feed [19:59:58] Now joining channel [20:20:17] lol according to SAL, I've had 1 more log action than Reception123 :P [20:27:08] MacFan4000, what's involved for setting up the MH-Discord relay for a specific wiki feed, and is that something I can do, whether by initiating a PR, editing a configuration file, or both? [20:28:37] Puppet [20:28:53] It's fairly simple [20:30:56] dmehus: ^ [20:33:36] RhinosF1, ah, thanks [20:33:56] but I can't edit the puppet file where the webhook is stored right? [20:34:10] No [20:34:21] You'll need one of the rest of us [20:34:26] Why [20:34:28] okay, sounds good [20:34:30] oh [20:34:41] I don't even think you're in the discord team are you? [20:34:46] Agent wants the Discord relay set up for one or more IRC channels [20:34:53] probably not? [20:35:00] I doubt it [20:35:19] it's probably just you, Sario, MacFan, and maybe Void [20:35:20] If you tell agent to give me admin in the servers I'll do the generating later [20:35:37] The bots are all set owner only so eaiser to give us admin [20:35:54] RhinosF1, which permissions do I need? Aren't I already a MB admin? [20:36:03] oh [20:36:08] you mean just give me +f [20:36:23] No the discord server [20:36:28] oh! [20:36:30] sure [20:36:41] And I'm not adding you to the discord team because you need root to change the config [20:36:46] Agent, can you link me your Discord server and then grant me Discord admin [20:36:49] yeah [20:36:58] that's fine [20:37:24] dmehus: no point giving you admin as you're not in the team [20:37:57] I'm confused [20:38:21] You cant setup the discord side [20:38:30] Because a you can't edit the private puppet tokens [20:38:36] And b aren't in the discord team [20:38:44] oh [20:38:50] So why would you get admin in agents servers [20:39:31] well I wondered, but presumed you wanted me to get the webhook, then DM it to you to enter into the private config file [20:39:37] I got a relay to setup anyway so I'll do the private side later [20:39:51] oh ok [20:39:51] For another wiki [20:39:54] If you want a webhook + channel ID then I can give it to you all [20:39:56] I'll just let you do it then [20:40:08] Agent: it's a bot not webhook [20:40:15] And they are set owner only [20:40:21] oh right [20:40:24] So it's easier to give us temp admin [20:40:26] the Miraheze-IRC bot! [20:40:35] Unless you'll be around most of the night [20:40:44] And I can just temp turn it off and ping you [20:40:44] yeah, that makes sense [20:40:50] dmehus: different bot per server [20:40:50] Agent never sleeps, mind you [20:40:53] so probably okay [20:40:57] For isolation reason [20:41:02] ah [20:41:56] Reduces risk of 1 being buggy affecting the rest [20:43:03] true [20:44:43] am I allowed to leave my SSH session active so long as I keep my computer locked when not in use and I'm the only one with access? [20:47:38] Yep [20:47:48] Just ma [20:47:59] Just make sure you tell us if it gets stolen etc [20:48:06] A [20:48:15] And log out if anyone does need access [20:48:34] * RhinosF1 uses separate accounts for college and personal [21:02:40] Anybody with access to the discord team can create a new bot app and then it just has to be added to the server by somebody with the server admin permission [21:08:23] All bots are set to owner only [21:08:35] So they can't get used without our consent [21:14:55] I just created a new bot [21:15:28] I didn’t set owner only but I could give agent the link to add and then when it’s added set owner only [21:16:10] RhinosF1, yeah, definitely [21:16:32] MacFan4000: ok feel free [21:16:49] I'm getting tired [21:16:51] thanks MacFan4000 [21:16:58] So it saves me staying awake [21:17:18] yeah [21:17:31] I mean you've had a couple late nights, RhinosF1 [21:17:39] might be good to get a good night's sleep tonight [21:18:13] I just sent a pm [21:20:39] do you know which channels to relay on the IRC side? [21:20:51] or channel* [21:21:07] I'm guessing probably #miraheze-ballmedia-feed, but Agent can confirm [21:21:19] I won’t be able to do the irc/server setup until either later or else tomorrow [21:21:26] okay [21:21:39] I can do part of that, except for the webhook part [21:21:40] I would also need the discord channel ids [21:22:08] yeah [21:23:59] You can probably attempt the discord side in puppet repo and get us to merge [21:24:11] It's under modules/profile [21:36:21] oh [22:14:35] The bot is in the server now! [22:15:00] RhinosF1: Fhfreenode still exists - I presume it can be deleted? [22:15:32] (Since it’s no longer used) [22:31:14] MacFan4000, thanks. :) [22:31:39] yeah, I agree re: fhfreenode. I assume Fosshost stopped using their Freenode channels? [22:34:15] Yes they did [22:37:07] ah, that's cool :) [22:37:33] I wonder if the LizardFS IRC network is larger than Freenode now :P [22:40:50] [02puppet] 07dmehus opened pull request 03#239: Add Ballmedia Discord and IRC channel IDs - 13https://git.io/J1T3s [22:42:27] MacFan4000: ^ [22:42:38] did you say you did the Discord webhook part already? [22:46:10] [02puppet] 07dmehus synchronize pull request 03#239: Add Ballmedia Discord and IRC channel IDs - 13https://git.io/J1T3s [22:51:15] [02puppet] 07MacFan4000 closed pull request 03#239: Add Ballmedia Discord and IRC channel IDs - 13https://git.io/J1T3s [22:51:16] [02puppet] 07MacFan4000 commented on pull request 03#239: Add Ballmedia Discord and IRC channel IDs - 13https://git.io/J1TGJ [22:55:32] And re freenode yeah now Libera had the #1 spot (https://netsplit.de/networks/top100.php) [22:55:33] [url] IRC Networks - Top 100 | netsplit.de [22:56:00] s/had/has [22:56:00] MacFan4000 meant to say: And re freenode yeah now Libera has the #1 spot (https://netsplit.de/networks/top100.php) [23:46:32] ah, cool [23:47:01] they should remove Freenode from the footer [23:48:46] I wonder how https://www.lizardirc.org ranks in the scheme of the top 100 [23:48:46] [url] Welcome to LizardIRC, the friendly IRC network! | www.lizardirc.org [23:50:16] oh [23:50:22] 94 users in 110 channels [23:53:32] I don't get your comment [23:54:11] [02puppet] 07dmehus commented on pull request 03#239: Add Ballmedia Discord and IRC channel IDs - 13https://git.io/J1TBH [23:56:34] [02puppet] 07MacFan4000 commented on pull request 03#239: Add Ballmedia Discord and IRC channel IDs - 13https://git.io/J1TRT