[SOLVED] UnrealIRCd 6.x – Config error (log/modules) after upgrade

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Post Reply
takeokismet
Posts: 1
Joined: Thu Oct 02, 2025 2:42 am

[SOLVED] UnrealIRCd 6.x – Config error (log/modules) after upgrade

Post by takeokismet »

Hi everyone That's Not My Neighbor
I just upgraded to UnrealIRCd 6.x and now the server won’t start. It shows errors like:
  • Unknown directive 'log::file'
  • “Your log block contains no sources/destinations.”
  • “module xxx. So not found”
I already checked unrealircd.conf and included modules. default.conf, but still no luck.

Has anyone faced this after moving from v5 to v6? Do I need to update the log block syntax or recompile missing modules? Any sample working config for v6 would help a lot.

Thanks in advance!
CrazyCat
Posts: 270
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: UnrealIRCd 6.x – Config error (log/modules) after upgrade

Post by CrazyCat »

The file is a destination. Your log block must looks like:

Code: Select all

log {
    source {
        !debug;
        all;
    };
    destination {
        file "ircd.%Y%m.log" { maxsize 100M; };
    };
};
You can read https://www.unrealircd.org/docs/Log_block to help you
rafaelgrether
Posts: 7
Joined: Mon Sep 13, 2021 7:36 pm

Re: UnrealIRCd 6.x – Config error (log/modules) after upgrade

Post by rafaelgrether »

takeokismet,

Please read notes about upgrading UnrealIRCd 5 to UnrealIRCd 6: https://www.unrealircd.org/docs/Upgrading_from_5.x
There are a "Update log blocks" section.
But I recommend you read all topics.
---
~ devnull (on irc.unrealircd.org / irc.slackjeff.com.br / libera.chat)
Post Reply