At some point there will be a new version of Ares code available and you’ll want to upgrade the code on the game server.
Table of Contents
There are a few special conditions that require advanced upgrade procedures.
| Scenario | Special Handling |
|---|---|
| Custom Code Changes | See Upgrading With Custom Code Changes |
| Non-Standard Server | See Upgrading With a Custom Environment |
| Release notes say “restart required” | See Upgrade With a Restart |
| Release notes have an “Upgrade Notes” section. | Follow the special instructions in the notes. |
If none of those apply, upgrades are super easy.
From the web portal (in v0.54 and higher):
-or- From the game (in your usual MU client):
upgrade/start to do the first part of the upgrade.upgrade/finish to complete the upgrade.Some upgrades affect the core game engine and require that the game be shut down and restarted. The release notes or the upgrade process will tell you when a restart is required.
To restart the game:
upgrade/start to do the first part of the upgrade.shutdown command in-game or Admin -> Manage -> Shutdown from the web portal to shut down the game. (See Shutting Down the Game for help.)bin/startares from the aresmush directory. Alternately, you could reboot the entire server.When you start touching the core code (outside of community plugins or custom hooks), your upgrade process becomes more involved.
If you have your own GitHub fork, here’s how you upgrade:
If you are not using GitHub, you really should. When you have custom code, upgrades become nigh-impossible without GitHub, and you’re on your own if you attempt it.
When you change core code, there’s a risk that you change something that ALSO changes in core. This results in something called a “merge conflict”. For example - you changed a button from A to B, but core changed it from A to C. You’ll have to decide whether you want the button to be B, C, or some hybrid of the two.
See Resolving GitHub Conflicts for details.
Custom environments are not officially supported. The upgrade scripts are designed with the standard install environment in mind. If you have a custom environment, you may need to tweak paths (notably the standard install directories of /home/ares/aresmush and /home/ares/ares-webportal) or other commands.
Community contributions (plugins or themes) are upgraded independently from the main code. See Upgrading Plugins.
See Server OS Upgrades.