Random Network
Statistics
* related to indexed networks only

Channel log stopped after server restart [RESOLVED]

Channel log stopped after server restart [RESOLVED]  

  By: CrazyCat on July 10, 2022, 2:13 p.m.

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,

Eggdrop community
Eggdrop IRC support

 Last edited by: daniel on Aug. 30, 2022, 2:49 p.m., edited 1 time in total.

Re: Channel log stopped after server restart  

  By: daniel on July 11, 2022, 3:28 p.m.

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.

Daniel Shafer
Founder / Lead Developer
IRC Driven Networks
https://www.ircdriven.com

Re: Channel log stopped after server restart  

  By: CrazyCat on July 11, 2022, 4:27 p.m.

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 ?

Eggdrop community
Eggdrop IRC support

Re: Channel log stopped after server restart  

  By: daniel on July 11, 2022, 4:50 p.m.

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.

Daniel Shafer
Founder / Lead Developer
IRC Driven Networks
https://www.ircdriven.com

Re: Channel log stopped after server restart  

  By: CrazyCat on July 12, 2022, 12:08 p.m.

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

Eggdrop community
Eggdrop IRC support

Re: Channel log stopped after server restart  

  By: daniel on July 14, 2022, 5:04 a.m.

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.

Daniel Shafer
Founder / Lead Developer
IRC Driven Networks
https://www.ircdriven.com

Re: Channel log stopped after server restart [RESOLVED]  

  By: daniel on Aug. 30, 2022, 2:50 p.m.

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)

Daniel Shafer
Founder / Lead Developer
IRC Driven Networks
https://www.ircdriven.com