Problem upgrading unrealircd 3.2.10.2 to 4.0.4

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

Post Reply
Alahin
Posts: 3
Joined: Sat Jul 23, 2016 9:07 am

Problem upgrading unrealircd 3.2.10.2 to 4.0.4

Post by Alahin » Sat Jul 23, 2016 9:14 am

Hello all,

I have problems while trying to upgrade to the latest version of unrealircd.

Compiling and everything is going alright, but when it tries to load in the configuration file from the old server (using command ./unrealircd upgrade-conf) I get the folowing error:

Code: Select all

Attempting to upgrade '/home/ircd/unrealircd/conf/unrealircd.conf' (and all it's included files) from UnrealIRCd 3.2.x to UnrealIRCd 4.0...
config error: /home/ircd/unrealircd/conf/unrealircd.conf:51: Extra data detected. Check for a missing ; character at or around line 50
config error: /home/ircd/unrealircd/conf/unrealircd.conf:51: Extra data detected. Perhaps missing a ';' or one too many?
config error: /home/ircd/unrealircd/conf/unrealircd.conf:51: Extra data detected. Check for a missing ; character at or around line 50
config error: /home/ircd/unrealircd/conf/unrealircd.conf:51: Extra data detected. Perhaps missing a ';' or one too many?
Checking '/home/ircd/unrealircd/conf/unrealircd.conf'...
config error: /home/ircd/unrealircd/conf/unrealircd.conf.tmp:51: Extra data detected. Check for a missing ; character at or around line 50
config error: /home/ircd/unrealircd/conf/unrealircd.conf.tmp:51: Extra data detected. Perhaps missing a ';' or one too many?
config error: could not load configuration file '/home/ircd/unrealircd/conf/unrealircd.conf'
File '/home/ircd/unrealircd/conf/unrealircd.conf' left unchanged (no upgrade necessary)
Oh wait, /home/ircd/unrealircd/conf/unrealircd.conf needs an include for operclass.default.conf. Added.

1 configuration file(s) upgraded. You can now boot UnrealIRCd with your freshly converted conf's!
You should probably take a look at the converted configuration files now or at a later time.
See also https://www.unrealircd.org/docs/Upgrading_from_3.2.x and the sections in there (eg: Oper block)

When I look in the configuration file I see on those lines the following configuration (first line here is number 44, the help.conf is line 51):

Code: Select all

/*
 * You can also include other configuration files.
 * help.conf contains all the /helpop text. The badwords.*.conf
 * files contain all the badword entries for mode +G...
 * spamfilter.conf contains some good rules for current trojans.
 * You probably want to include them:
 */
include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
And when I scroll down the help.conf I can't find a missing or to much added ; either. Anyone else who has had this problem?

Alahin
Posts: 3
Joined: Sat Jul 23, 2016 9:07 am

Re: Problem upgrading unrealircd 3.2.10.2 to 4.0.4

Post by Alahin » Sat Jul 23, 2016 12:43 pm

Issues solved in the online chat, was something on row 38.

Post Reply