Skip to content

Updating

The app updates through its app store. The box updates by re-running the installer — it’s idempotent and leaves your data alone:

Terminal window
curl -fsSL https://get.layergray.com | sudo sh

…or, on a box you manage by hand:

Terminal window
cd /path/to/gray # your install prefix
git pull # or re-fetch the install bundle
sudo systemctl restart gray-server

State lives in the vault and your .env, not in the code directory — updates and rollbacks never touch it (see Data & backups).

  • The box: GET /api/version returns the server build label — curl -sS https://<box>/api/version.
  • The app: the Me footer shows a compact build code identifying the app’s own build (not the box’s version) — support can decode it from a screenshot.

Code and state are separate, so rolling back is checking out the previous code and restarting. Take a backup first if you’re nervous — it’s one tar command.