Skip to content

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 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.

  1. /ac update: shows the available version, whether it is ready and whether there were errors. In the panel’s Overview it shows “v… ready”.
  2. Make a backup of the data/ folder.
  3. Install: /ac update apply, or in the panel (update permission, asks for confirmation).
  4. ac_core restarts by itself. Check the version with /ac status. The AC notifies Discord (infrastructure route) 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.

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.

Use this path only if you cannot use the signed update (for example, an installation without access to the service).

  1. Make a backup of the data/ folder and of the ac_core and ac_guard folders.
  2. Stop the server. Touching the files with the AC running risks a half-done state.
  3. Copy the new ac_core folder over the existing one. Do not delete the data/ folder or data/secrets.json: your configuration, database and license are there.
  4. If the release also brings a new ac_guard, copy it over the same way.
  5. If you renamed the folders (Resource names), copy into the folders with your names.
  6. 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.

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.

  • Automatic: if the new version fails verification, ac_guard puts 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>/ into ac_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).