Updating the AC
VIGIL AC ships signed releases. The AC downloads them, checks the signature and every file, and hands the installation to ac_guard. Code that is not signed is never run.
Optional or mandatory
Section titled “Optional or mandatory”| Optional | Mandatory | |
|---|---|---|
| When it installs | When you say so (/ac update apply), or by itself if updater.autoApply is on |
In the low-activity window (4am to 6am by default, with 5 players or fewer) and, after the deadline, always |
| Can be ignored | Yes (/ac update ignore) |
No |
Staff in game get a notice when a version is ready.
Updating with the guard (recommended)
Section titled “Updating with the guard (recommended)”/ac update: shows the available version, whether it is ready and whether there were errors. In the panel’s Overview it shows “v… ready”.- Make a backup of the
data/folder. - Install:
/ac update apply, or in the panel (updatepermission, asks for confirmation). ac_corerestarts by itself. Check the version with/ac status. The AC notifies Discord (infrastructureroute) when the update is installed or rolled back.
Do not touch the resources while the update runs. If the server crashes midway, ac_guard resumes or undoes the step it stopped at.
What the guard does
Section titled “What the guard does”ac_guard stops ac_core, copies to a backup the files it will replace (ac_guard/backups/<old version>/), writes the new ones, restarts and verifies: right version and build, no module with errors, 30 seconds running and a usable license. If anything fails, it puts the backup back and starts the old version; the version that failed is not installed again by itself. The result is reported to the service.
The data/ folder and ac_guard itself are not touched by updates. Changes that come from a signed update do not raise integrity alerts.
Updating by hand
Section titled “Updating by hand”Use this path only if you cannot use the signed update (for example, an installation without access to the service).
- Make a backup of the
data/folder and of theac_coreandac_guardfolders. - Stop the server. Touching the files with the AC running risks a half-done state.
- Copy the new
ac_corefolder over the existing one. Do not delete thedata/folder ordata/secrets.json: your configuration, database and license are there. - If the release also brings a new
ac_guard, copy it over the same way. - If you renamed the folders (Resource names), copy into the folders with your names.
- Start the server and check the version with
/ac status.
The “meta.xml was changed outside the panel” warning
Section titled “The “meta.xml was changed outside the panel” warning”After copying by hand, the AC detects that meta.xml and server/config.lua changed and shows an integrity alert (also on Discord). This is expected. Check it was you and click Security > Confirm changes, or use /ac integrity ok. See Integrity alerts.
If you need to keep the server on
Section titled “If you need to keep the server on”With /ac maintenance on the guard stops restarting the AC automatically while you work on the files. When you finish, /ac maintenance off. We always prefer the server stopped.
Going back (rollback)
Section titled “Going back (rollback)”- Automatic: if the new version fails verification,
ac_guardputs the previous one back by itself (see above). Nothing to do. - By hand: with the server stopped, copy the contents of
ac_guard/backups/<old version>/intoac_core(the folder structure is the same). Start and check with/ac status, and confirm the integrity alert. - Your configuration is in
data/and does not change with the version. If something in the configuration went wrong, use Configuration > History > Revert.
If you get stuck, contact support with the output of /ac update and /ac diag list (Contact and support).