So you want to update your ircd

From pisswiki
Revision as of 15:16, 14 February 2022 by Roadkill (talk | contribs)

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:
    • (Needed for 6.x, otherwise your conf fails checks.)
log {
        source {
            !debug;
            all;
        }
        destination {
            file "ircd.log" { maxsize 100M; }
        }
}
  • 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.