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.
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. -
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 frommodule:defaults
for thechanserv
module. -
Rename
module:expire
for thecs_suspend
module tosuspendexpire
.
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. -
Remove the
ns_secure
option frommodule:defaults
for thenickserv
module. -
Rename
nickserv:passlen
tonickserv:maxpasslen
. -
Replace
options:strictpasswords
withnickserv:minpasslen
(example). -
Load the
ns_set_language
module (example). - If
options:useprivmsg
was enabled load thens_set_message
module (example).
modules.conf
-
If enabled add
module:tlsv10
,module:tlsv11
, andmodule:tlsv12
to thessl_openssl
module (example). -
If enabled remove the
module:sslv3
from thessl_openssl
module (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
,sasl
,sql_log
,sql_oper
,sqlite
,ssl_gnutls
,ssl_openssl
,xmlrpc
, andxmlrpc_main
modules. -
If enabled replace the
m_regex_pcre
module with theregex_pcre2
module. -
If enabled update
module:cert
,module:dhparams
, andmodule:key
for thessl_gnutls
module to be relative to the config directory. -
If enabled update
module:cert
andmodule:key
for thessl_openssl
module to be relative to the config directory. -
If enable replace
module:template
replace for thewebcpanel
module withmodule:template_dir
(example).
operserv.conf
- Remove the
os_oline
module andoperserv/oline
command.
stats.standalone.conf
- Remove the
m_
prefix from themysql
module.