[21:08:00] @logoff [21:08:13] test [21:13:38] hey petan :) [21:13:49] what can I do to help with the logging [21:13:57] I think that's the highest priority thing right now [21:14:28] test [21:14:46] I think it's working now [21:14:55] https://wm-bot.wmflabs.org/browser/index.php?start=05%2F21%2F2021&end=05%2F21%2F2021&data=true&display=%23wm-bot [21:14:59] but web interfaces are obviously pointed against the freenode version [21:15:11] Ah [21:15:32] both files and SQL writers are working now [21:15:36] it would be ideal if the old freenode logs were in the same page as the Libera Chat one [21:15:54] hmm yeah but that will require some DB merge [21:15:55] do we need to manually re-enable logging in each channel or is it automatic? [21:15:59] same for FS logs (they are just text files) [21:16:10] default for new channel is logging off [21:16:30] but as I said - configuration of each channel, statistics, infobot keys etc, it can be all copied over [21:16:46] the configuration backend is pretty simple stupid, which is actually an advantage here [21:17:03] each channel has own configuration files in configuration folder, and most subsystems like infobot have own config file [21:17:26] nice [21:17:36] how difficult would it be for you to copy the config over? [21:17:51] root@wm-bot:/opt/wm-bot-lib/channel_logs/#wm-bot# ls /opt/wm-bot/configuration/ | grep '#mediawiki\.' | xargs [21:17:52] #mediawiki.db.xml #mediawiki.list #mediawiki.statistics #mediawiki.xml [21:17:54] very easy [21:17:58] it's just about running cp [21:18:28] .db.xml is for infobot keys [21:19:29] so if you just copy for example #mediawiki.db.xml from /opt/wm-bot/configuration to /opt/wm-bot-lib/configuration and change the file permissions (chown wm-bot-lib) it shoudl work, but probably will need either restart of bot or reload of channel [21:19:59] from what I remember I used to have some special command that just reloaded the channel settings without bot restart, but I was coding this in 2015 so don't really remember all of it [21:21:34] Perhaps we could just have a separate URL that has the Libera logs [21:22:41] !ping [21:22:42] pong [21:23:02] yes probably we can that's not a big deal, there is apache running I think on wm-bot [21:23:26] check /var/www/html/ that's where most of stuff is [21:23:45] * majavah smells an opportunity to use .wmcloud.org [21:23:47] in /opt/wm-bot/ some directories are symlinks into /var/www/html/ dirs [21:24:14] wmcloud.org wasn't registered in times when wm-bot was originally setup :) [21:24:22] I don't mind using a new domain [21:26:39] but how urgent is all of this? what if we just make text format logs available for now, and do the merges and nice UI connected to SQL version later? [21:26:44] it's almost midnight here :) [21:27:42] Text logs should be fine [21:27:50] imo that's good enough [21:28:18] https://wm-bot.wmflabs.org/libera_logs/%23wm-bot/20210521.txt [21:28:44] did you enable logs in any other channel? [21:28:56] I only see folder for #wm-bot [21:29:09] Attempting to join #huggle using wm-bot [21:29:09] @add #huggle [21:29:14] yes, -cloud [21:29:48] 10WM-Bot, 10wikimedia-irc-libera: Migrate wm-bot to libera.chat - https://phabricator.wikimedia.org/T283249 (10MacFan4000) Logging now works. (Available at https://wm-bot.wmflabs.org/libera_logs/) [21:31:09] Attempting to join #testadminwiki using wm-bot [21:31:09] @add #testadminwiki [21:42:58] Permission denied [21:42:58] @join ##L235-secondary [21:43:04] Permission denied [21:43:04] @add ##L235-secondary [21:43:07] You are trusted and identified by the name .*\@user/.* [21:43:07] @whoami [21:43:35] User was deleted from access list [21:43:35] @trustdel .*\@user/.* [21:43:51] Successfully added .*@user/.* [21:43:51] @trustadd .*@user/.* operator [21:43:59] Attempting to join ##L235-secondary using wm-bot [21:43:59] @add ##L235-secondary [21:44:05] Great! [21:44:30] thanks [21:44:35] Attempting to join ##Blablubber using wm-bot [21:44:35] @add ##Blablubber [21:45:09] Successfully added .*@miraheze/.* [21:45:09] @trustadd .*@miraheze/.* operator [21:46:33] It seems to point at the right @info dump but doesn't recognise the commands from it [21:47:14] Web ui is still primarily pointed at freenode [21:47:35] The link in the task is for Libera logs [21:47:35] Attempting to join ##RhinosF1 using wm-bot [21:47:35] @join ##RhinosF1 [22:06:04] 10WM-Bot, 10wikimedia-irc-libera: Migrate wm-bot to libera.chat - https://phabricator.wikimedia.org/T283249 (10Petrb) just few updates: I created a new instance of bot on old infrastructure, there is a new user wm-bot-lib and everything is located under /opt/wm-bot-lib logging to both TXT and SQL is operation... [22:08:42] 10WM-Bot, 10wikimedia-irc-libera: Migrate wm-bot to libera.chat - https://phabricator.wikimedia.org/T283249 (10Petrb) also regarding "lack of maintainers" - I was never opposing having more maintainers of wm-bot (we actually have quite a team for such a small service) - if anyone can be trusted, has the necess... [22:12:43] 10WM-Bot, 10wikimedia-irc-libera: Migrate wm-bot to libera.chat - https://phabricator.wikimedia.org/T283249 (10Petrb) [22:13:38] 10WM-Bot, 10wikimedia-irc-libera: Migrate wm-bot to libera.chat - https://phabricator.wikimedia.org/T283249 (10Petrb) [22:15:47] Attempting to join #miraheze using wm-bot [22:15:47] @add #miraheze [22:16:26] Attempting to join #miraheze-cvt using wm-bot [22:16:26] @add #miraheze-cvt [22:18:04] This channel is already in the database [22:18:04] @add #miraheze-sre [22:18:42] Attempting to join #miraheze-bots using wm-bot [22:18:42] @add #miraheze-bots [22:23:30] Permission denied [22:23:30] @configure default-link-wiki miraheze [22:23:47] uhh, MacFan4000? [22:24:08] oops [22:24:10] wrong channel [22:24:11] lol [22:34:33] I can't get wm-bot's linkie to turn on [23:01:20] Attempting to join ##Urbanecm using wm-bot [23:01:20] @add ##Urbanecm [23:03:02] Attempting to join #miraheze-testwiki using wm-bot [23:03:02] @add #miraheze-testwiki