Page 1 of 1

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

Posted: Thu Oct 02, 2025 2:46 am
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!

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

Posted: Thu Oct 02, 2025 10:36 am
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

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

Posted: Thu Oct 02, 2025 6:28 pm
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.