So you want to update your ircd: Difference between revisions

From pisswiki
No edit summary
No edit summary
Line 1: Line 1:
Tested 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. This was my way of working around the built in updater.
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.


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.


The fun bit: You can build, upgrade and make all changes while your ircd is running, needing only to stop and restart when done.
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.)
* 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.)
Line 30: Line 32:
* '''./unrealircd stop'''
* '''./unrealircd stop'''
* '''./unrealircd start'''
* '''./unrealircd start'''
---


You should be running piss60 successfully.
You should be running piss60 successfully.

Revision as of 15:07, 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. 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 "}"
    • It will keep the ircd checker from complaining and default to logging what it already logged without commenting out that section, 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.