Upgrading from 2.0 to 2.1

Upgrading from 2.0 to 2.1 can be done by:

General

  1. Update any scripts you have that execute services to execute anope instead.

services.conf

  1. Rename services.conf to anope.conf.

  2. Replace uplink:ipv6 with uplink:protocol (example).

  3. If you are using the charybdis protocol module then migrate to Solanum and replace it with the solanum module.

  4. If you are using the inspircd3 protocol module then replace it with the inspircd module.

  5. If you are using the inspircd12 or inspircd20 protocol modules then upgrade your IRCd and replace it with the inspircd module.

  6. If you are using the unreal4 protocol module then replace it with the unrealircd module.

  7. If you are using the unreal protocol module then upgrade your IRCd and replace it with the unrealircd module.

  8. Move the enc_md5, enc_none, enc_sha1, and enc_sha256 modules to be secondary encryption modules and add enc_argon2, enc_bcrypt, or enc_sha2 as a new primary encryption module (example).

  9. Replace the nickserv/access privilege in operator accounts with the nickserv/cert privilege.

  10. Add the global/queue and global/server privileges to operator accounts with the global/global privilege.

  11. Update serverinfo:motd to be relative to the config directory.

  12. Update serverinfo:pid to be relative to the data directory.

  13. If you are using email then add the i flag to the sendmail command (example).

botserv.conf

  1. Add a description to the GREET privilege (example).

chanserv.conf

  1. Add a description to the ACCESS_CHANGE, ACCESS_LIST, AKICK, ASSIGN, AUTOHALFOP, AUTOOP, AUTOOWNER, AUTOPROTECT, AUTOVOICE, BADWORDS, BAN, FANTASIA, FOUNDER, GETKEY, HALFOP, HALFOPME, INFO, INVITE, KICK, MEMO, MODE, NOKICK, OP, OPME, OWNER, OWNERME, PROTECT, PROTECTME, SAY, SET, SIGNKICK, TOPIC, UNBAN, UNBANME, VOICE, and VOICEME privileges (example).

  2. Add the UNBANME privilege for chanserv/unban (example).

  3. Remove the cs_secure option from module:defaults for the chanserv module.

global.conf

  1. Add the gl_queue and gl_server modules and their commands (example).

chanstats.conf

  1. Remove the m_ prefix from the chanstats module.

nickserv.conf

  1. Add the nickserv/set/neverop and nickserv/saset/neverop commands (example).

  2. Remove the nickserv/set/secure and nickserv/saset/secure commands.

  3. Remove the ns_access module and nickserv/access command.

  4. Remove the ns_getpass module and nickserv/getpass command.

  5. Remove the ns_status module and nickserv/status command.

  6. Remove the ns_secure option from module:defaults for the nickserv module.

  7. Rename nickserv:passlen to nickserv:maxpasslen.

  8. Replace options:strictpasswords with nickserv:minpasslen (example).

modules.conf

  1. If enabled add module:tlsv10, module:tlsv11, and module:tlsv12 to the ssl_openssl module (example).

  2. If enabled remove the module:sslv3 from the ssl_openssl module (now always disabled).

  3. If enabled remove the the m_ prefix from the dns, 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, and xmlrpc_main modules.

  4. If enabled replace the m_regex_pcre module with the regex_pcre2 module.

  5. If enabled update module:cert, module:dhparams, and module:key for the ssl_gnutls module to be relative to the config directory.

  6. If enabled update module:cert and module:key for the ssl_openssl module to be relative to the config directory.

  7. If enable replace module:template replace for the webcpanel module with module:template_dir (example).

operserv.conf

  1. Remove the os_oline module and operserv/oline command.

stats.standalone.conf

  1. Remove the m_ prefix from the mysql module.