]> jfr.im git - irc/anope/website.git/blob - upgrading.md
Add the upgrading guide.
[irc/anope/website.git] / upgrading.md
1 ---
2 title: Upgrading from 2.0 to 2.1
3 layout: simple
4 ---
5
6 Upgrading from 2.0 to 2.1 can be done by:
7
8 #### General
9
10 0. Update any scripts you have that execute `services` to execute `anope` instead.
11
12 #### services.conf
13
14 0. Rename `services.conf` to `anope.conf`.
15
16 0. Replace `uplink:ipv6` with `uplink:protocol` ([example](https://github.com/anope/anope/blob/2.1.0/data/anope.example.conf#L172-L176).
17
18 0. If you are using the `inspircd3` protocol module then replace it with the `inspircd` module.
19
20 0. If you are using the `inspircd12` or `inspircd20` protocol modules then upgrade your IRCd and replace it with the `inspircd` module.
21
22 0. If you are using the `unreal4` protocol module then replace it with the `unrealircd` module.
23
24 0. If you are using the `unreal` protocol module then upgrade your IRCd and replace it with the `unrealircd` module.
25
26 0. 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)).
27
28 #### nickserv.conf
29
30 0. Replace `nickserv:strictpasswords` with `nickserv:minpasslen` ([example](https://github.com/anope/anope/blob/2.1.0/data/nickserv.example.conf#L212-L217)).
31
32 0. Rename `nickserv:passlen` to `nickserv:maxpasslen`.
33
34 0. Remove the `ns_getpass` module and `nickserv/getpass` command.
35
36 0. 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])).
37
38 #### operserv.conf
39
40 0. Remove the `os_oline` module and `operserv/oline` command.