]> jfr.im git - irc/anope/website.git/blame - upgrading.md
Tell Charybdis users to migrate to Solanum.
[irc/anope/website.git] / upgrading.md
CommitLineData
51b3b7ba
SP
1---
2title: Upgrading from 2.0 to 2.1
3layout: simple
4---
5
6Upgrading from 2.0 to 2.1 can be done by:
7
8#### General
9
100. Update any scripts you have that execute `services` to execute `anope` instead.
11
12#### services.conf
13
140. Rename `services.conf` to `anope.conf`.
15
01f50da6 160. Replace `uplink:ipv6` with `uplink:protocol` ([example](https://github.com/anope/anope/blob/2.1.0/data/anope.example.conf#L172-L176)).
51b3b7ba 17
b6b8104d
SP
180. If you are using the `charybdis` protocol module then migrate to [Solanum](https://github.com/solanum-ircd/solanum) and replace it with the `solanum` module.
19
51b3b7ba
SP
200. If you are using the `inspircd3` protocol module then replace it with the `inspircd` module.
21
220. If you are using the `inspircd12` or `inspircd20` protocol modules then upgrade your IRCd and replace it with the `inspircd` module.
23
240. If you are using the `unreal4` protocol module then replace it with the `unrealircd` module.
25
260. If you are using the `unreal` protocol module then upgrade your IRCd and replace it with the `unrealircd` module.
27
280. Move the `enc_md5`, `enc_none` and `enc_sha1` modules to be secondary encryption modules and add `enc_bcrypt` or `enc_sha256` as a new primary encryption module ([example](https://github.com/anope/anope/blob/2.1.0/data/anope.example.conf#L1219-L1256)).
29
ebf10d4b
SP
30#### botserv.conf
31
320. Add a description to the `GREET` privilege ([example](https://github.com/anope/anope/blob/2.1.1/data/botserv.example.conf#L326)).
33
34#### chanserv.conf
35
360. 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](https://github.com/anope/anope/blob/2.1.1/data/chanserv.example.conf#L209-L842)).
37
380. Add the `UNBANME` privilege for `chanserv/unban` ([example](https://github.com/anope/anope/blob/2.1.1/data/chanserv.example.conf#L791-L806)).
39
12490972 40#### chanstats.conf
51b3b7ba 41
12490972 420. Remove the `m_` prefix from the `chanstats` module.
51b3b7ba 43
12490972
SP
44#### nickserv.conf
45
460. Add the `nickserv/set/neverop` and `nickserv/saset/neverop` commands ([example](https://github.com/anope/anope/blob/2.1.0/data/nickserv.example.conf#L581-L582])).
51b3b7ba
SP
47
480. Remove the `ns_getpass` module and `nickserv/getpass` command.
49
12490972
SP
500. Rename `nickserv:passlen` to `nickserv:maxpasslen`.
51
520. Replace `nickserv:strictpasswords` with `nickserv:minpasslen` ([example](https://github.com/anope/anope/blob/2.1.0/data/nickserv.example.conf#L212-L217)).
51b3b7ba 53
ebf10d4b
SP
54#### modules.conf
55
12490972
SP
560. If enabled add `module:tlsv10`, `module:tlsv11`, and `module:tlsv12` to the `ssl_openssl` module ([example](https://github.com/anope/anope/blob/2.1.2/data/modules.example.conf#L632-L639)).
57
580. If enabled remove the `module:sslv3` from the `ssl_openssl` module (now always disabled).
59
600. 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.
61
620. If enabled replace the `m_regex_pcre` module with the `regex_pcre2` module.
ebf10d4b 63
51b3b7ba
SP
64#### operserv.conf
65
660. Remove the `os_oline` module and `operserv/oline` command.
12490972
SP
67
68#### stats.standalone.conf
69
700. Remove the `m_` prefix from the `mysql` module.