No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Tested 3x on pissircd with custom scripts installed. | Tested 3x on pissircd with custom scripts installed. | ||
When attempting to upgrade using the built in unrealircd upgrader, it failed with an error about calling a script directly despite using the correct command to do a version upgrade. This was my way of working around the built in updater to go from 5.x to 6.x. | When attempting to upgrade using the built in unrealircd upgrader, it failed with an error about calling a script directly despite using the correct command to do a version upgrade. (From this page: https://www.unrealircd.org/docs/Upgrading_from_5.x ) | ||
This was my way of working around the built in updater to go from 5.x to 6.x. | |||
It -should- work for those running vanilla unrealircd and upgrading to pissircd. But we're making a backup of your unrealircd folder regardless. | It -should- work for those running vanilla unrealircd and upgrading to pissircd. But we're making a backup of your unrealircd folder regardless. | ||
Line 24: | Line 26: | ||
** including "'''flags {'''" | ** including "'''flags {'''" | ||
** to second "'''}'''" | ** to second "'''}'''" | ||
* | * Add the following: | ||
<pre>log { | |||
source { | |||
!debug; | |||
all; | |||
} | |||
destination { | |||
file "ircd.log" { maxsize 100M; } | |||
} | |||
} | |||
</pre> | |||
** Needed for 6.x, otherwise your conf fails checks. | |||
* Add these two lines to your unrealircd.conf: | * Add these two lines to your unrealircd.conf: | ||
** '''include "snomasks.default.conf";''' | ** '''include "snomasks.default.conf";''' |
Revision as of 15:12, 14 February 2022
Tested 3x on pissircd with custom scripts installed.
When attempting to upgrade using the built in unrealircd upgrader, it failed with an error about calling a script directly despite using the correct command to do a version upgrade. (From this page: https://www.unrealircd.org/docs/Upgrading_from_5.x )
This was my way of working around the built in updater to go from 5.x to 6.x.
It -should- work for those running vanilla unrealircd and upgrading to pissircd. But we're making a backup of your unrealircd folder regardless.
The fun bit: You can build, upgrade and make all changes while your ircd is running, needing only to stop and restart when done.
---
- Remove all of your previous build and backup folders (you won't be using the built in unrealircd upgrader, so clear out the old cruft.)
- Back up your unrealircd folder (cp -R unrealircd backup.unrealircd)
- git clone https://github.com/pissnet/pissircd
- cd pissircd && ./Config
- Hit enter on everything (defaults)
- make
- make install
- cd ..
- cd unrealircd
- cd conf
- nano unrealircd.conf
- Comment out the entire block for > log "ircd.log"
- from log "ircd.log"
- including "flags {"
- to second "}"
- Add the following:
log { source { !debug; all; } destination { file "ircd.log" { maxsize 100M; } } }
- Needed for 6.x, otherwise your conf fails checks.
- Add these two lines to your unrealircd.conf:
- include "snomasks.default.conf";
- loadmodule "cloak_md5";
- Save
- cd ..
- ./unrealircd stop
- ./unrealircd start
---
You should be running piss60 successfully.