Upgrading from 2.0 to 2.1
Upgrading from 2.0 to 2.1 can be done by:
General
-
Update any scripts you have that execute
services
to executeanope
instead. -
If you are using the
db_sql
ordb_sql_live
modules it is recommended that on 2.0 you loaddb_flatfile
and export your database to a file and re-import on 2.1 to update the schema of your database. -
The syntax for using defines has changed. Replace all usages of
services.host
with${services.host}
and do the same for any defines you have added.
services.conf
-
Rename
services.conf
toanope.conf
. -
Replace
uplink:ipv6
withuplink:protocol
(example). -
If you are using the
charybdis
protocol module then migrate to Solanum and replace it with thesolanum
module. -
If you are using the
inspircd3
protocol module then replace it with theinspircd
module. -
If you are using the
inspircd12
orinspircd20
protocol modules then upgrade your IRCd and replace it with theinspircd
module. -
If you are using the
unreal4
protocol module then replace it with theunrealircd
module. -
If you are using the
unreal
protocol module then upgrade your IRCd and replace it with theunrealircd
module. -
Move the
enc_md5
,enc_none
,enc_sha1
, andenc_sha256
modules to be secondary encryption modules and addenc_argon2
,enc_bcrypt
, orenc_sha2
as a new primary encryption module (example). -
Replace the
nickserv/access
privilege in operator accounts with thenickserv/cert
privilege. -
Replace the
nickserv/saset/kill
privilege in operator accounts with thenickserv/saset/protect
privilege. -
Add the
global/queue
andglobal/server
privileges to operator accounts with theglobal/global
privilege. -
Update
serverinfo:motd
to be relative to the config directory. -
Update
serverinfo:pid
to be relative to the data directory. -
If you are using email then add the
i
flag to the sendmail command (example). -
Replace
options:usestrictprivmsg
withoptions:servicealias
(example). -
Update
options:languages
to no longer includeca_ES.UTF-8
,hu_HU.UTF-8
, andru_RU.UTF-8
.
botserv.conf
- Add a description to the
GREET
privilege (example).
chanserv.conf
-
Rename the
FANTASIA
privilege toFANTASY
(example). -
Add a description to the
ACCESS_CHANGE
,ACCESS_LIST
,AKICK
,ASSIGN
,AUTOHALFOP
,AUTOOP
,AUTOOWNER
,AUTOPROTECT
,AUTOVOICE
,BADWORDS
,BAN
,FANTASY
,FOUNDER
,GETKEY
,HALFOP
,HALFOPME
,INFO
,INVITE
,KICK
,MEMO
,MODE
,NOKICK
,OP
,OPME
,OWNER
,OWNERME
,PROTECT
,PROTECTME
,SAY
,SET
,SIGNKICK
,TOPIC
,UNBAN
,UNBANME
,VOICE
, andVOICEME
privileges (example). -
Add the
UNBANME
privilege forchanserv/unban
(example). -
Remove the
cs_secure
option from{chanserv}:defaults
. -
Add the
misc_numeric
field to theSET URL
command of thens_set_misc
module (example). -
Rename
{cs_suspend}:expire
to{cs_suspend}:suspendexpire
.
global.conf
- Add the
gl_queue
andgl_server
modules and their commands (example).
chanstats.conf
- Remove the
m_
prefix from thechanstats
module.
nickserv.conf
-
Add the
nickserv/set/neverop
andnickserv/saset/neverop
commands (example). -
Remove the
nickserv/set/secure
andnickserv/saset/secure
commands. - Remove the
ns_access
module andnickserv/access
command. . -
Remove the
ns_getpass
module andnickserv/getpass
command. -
Remove the
ns_status
module andnickserv/status
command. -
If the
killprotect
option is set in{nickserv}:defaults
replace it withprotect
and set{nickserv}:defaultprotect
to the value of{nickserv}:kill
. -
If the
kill_quick
option is set in{nickserv}:defaults
replace it withprotect
and set{nickserv}:defaultprotect
to the value of{nickserv}:killquick
. -
If the
kill_immed
option is set in{nickserv}:defaults
replace it withprotect
and set{nickserv}:defaultprotect
to0s
. -
Remove the
ns_secure
option from{nickserv}:defaults
. -
Rename
{nickserv}:passlen
to{nickserv}:maxpasslen
. -
Replace
{nickserv}:guestnickprefix
with{nickserv}:guestnick
(example). -
Replace
options:strictpasswords
with{nickserv}:minpasslen
(example). -
Load the
ns_set_keepmodes
module (example). -
Load the
ns_set_language
module (example). -
Load the
ns_set_protect
module (example). - If
options:useprivmsg
was enabled load thens_set_message
module (example).
modules.conf
-
If enabled add
{ssl_openssl}:tlsv10
,{ssl_openssl}:tlsv11
, and{ssl_openssl}:tlsv12
(example). -
If enabled remove
{ssl_openssl}:sslv3
(now always disabled). -
If enabled remove the the
m_
prefix from thedns
,dnsbl
,helpchan
,httpd
,ldap
,ldap_oper
,mysql
,proxyscan
,redis
,regex_pcre2
,regex_posix
,regex_stdlib
,regex_tre
,rewrite
,sql_log
,sql_oper
,sqlite
,ssl_gnutls
, andssl_openssl
modules. -
If enabled replace the
m_regex_pcre
module with theregex_pcre2
module. -
If enabled replace the
m_sasl
module with thens_sasl
module. -
If enabled update
{ssl_gnutls}:cert
,{ssl_gnutls}:dhparams
, and{ssl_gnutls}:key
to be relative to the config directory. -
If enabled update
{ssl_openssl}:cert
and{ssl_openssl}:key
to be relative to the config directory. -
If enable replace
{webcpanel}:template
with{webcpanel}:template_dir
(example). -
If enabled replace the
m_xmlrpc
module with thexmlrpc
extra module or migrate to thejsonrpc
module (example). -
If enabled replace the
m_xmlrpc_main
module with therpc_data
,rpc_main
, andrpc_message
modules (example).
operserv.conf
- Remove the
os_oline
module andoperserv/oline
command.
stats.standalone.conf
- Remove the
m_
prefix from themysql
module.