Channel log stopped after server restart [RESOLVED]

Locked
Networks Admined
11
Posts
5
Topics

Hi there,
I upgraded my servers yesterday, which forced me to restart ircds. The ircdriven log bots aren't anymore present on my channels, even if I deactivate and reactivate the channel log.
Kind regards,

Last edited by: daniel on Aug. 30, 2022, 2:49 p.m., edited 1 time in total.
Staff
Forum Admin
Networks Admined
Channels Admined
63
Posts
31
Topics

So I honestly have not programmed the ability to reconnect on disconnect. The bots using a twisted reconnect factory should reconnect but they don't. I am going to be adding that soon. A fix right now is to disable logging for all channels and re-enable them, it's not a good fix, but I will restart the channel logging bot for now to get them reconnected.

Networks Admined
11
Posts
5
Topics

Thanks Daniel,
I'll remember to deactivate logging on all channels. And to do that before restarting servers to ensure they are not in a quantic state :)

P.S.: are your bot open source ? Can we have a look on their sources ?

Staff
Forum Admin
Networks Admined
Channels Admined
63
Posts
31
Topics

The bots are currently not open source.

I had an idea of making the entire site/bots open source, but ended up having my design ripped off by another (now defunct) IRC indexing site, before doing so, and decided against it for now.

Networks Admined
11
Posts
5
Topics

I can understand ;)
BTW, you do a really good job, thanks a lot

Staff
Forum Admin
Networks Admined
Channels Admined
63
Posts
31
Topics

I updated the channel bot to hopefully fix the reconnect issues. /kill and Lines (G, K, Z) won't reconnect as its a clean /quit according to the bot. Ping timeouts and disconnects should reconnect.

Staff
Forum Admin
Networks Admined
Channels Admined
63
Posts
31
Topics

So after fully investigating and updating the logic for the logbot, I have resolved this. The bots will ALWAYS reconnect while logging is enabled. Had to basically modify the connection endpoint to be a Service instead of just a basic endpoint. (Twisted stuff)