alpacon agent upgrade

Upgrade the Alpamon agent on a server to the latest version.

Usage

alpacon agent upgrade SERVER [flags]

Key facts

  • Confirmation is required unless you pass --yes.
  • Active Websh or WebFTP sessions and running commands block the action unless you pass --force.
  • Exit code 5 means the server has active user work.

Flags

FlagTypeDescriptionDefault
--forceboolOverride the busy guard even when the server has active user workfalse
-h, --helpboolhelp for upgradefalse
-y, --yesboolSkip confirmation promptfalse
--outputstringOutput format: table or jsontable

Examples

Upgrade the agent

bash
alpacon agent upgrade my-server

Skip confirmation

bash
alpacon agent upgrade my-server --yes

Proceed despite active work

bash
alpacon agent upgrade my-server --force
Note
Linux, macOS, and Windows are supported. Windows agents need Alpamon 2.4.0 or later; see upgrading the agent for older versions.

Exit codes

Exit code 5 means the server has active user work; pass --force to override it, or wait until the work finishes.

Last updated: