Skip to content

Upgrade

ayx server upgrade guides you through an Alteryx Server upgrade in discrete, auditable steps. Every step is read-only by default. Nothing executes without --apply. Do your planning and pre-checks before you touch any running system.

Command What it does
ayx server upgrade path --from <ver> --to <ver> Compute the version upgrade path
ayx server upgrade plan --from <ver> --to <ver> Generate a full upgrade plan document
ayx server upgrade precheck --target <ver> Run pre-upgrade checks against a target version
ayx server upgrade backup --type <type> Take a typed backup as part of the upgrade flow
ayx server upgrade apply --manifest <manifest> Apply the upgrade (requires --apply)
ayx server upgrade postcheck --manifest <manifest> Verify the upgrade result
ayx server upgrade bundle --input <dir> --out <dir> Bundle upgrade artifacts for transport

Work through this order. Each step is a gate — do not skip forward.

Find out which intermediate versions are required:

Terminal window
ayx server upgrade path --from 2023.1 --to 2024.2

For installations using managed MongoDB, specify the deployment type:

Terminal window
ayx server upgrade path --from 2023.1 --to 2024.2 --deployment managed-mongo

The default is embedded-mongo.

Produce the upgrade plan document (written to upgrade-plan/ by default):

Terminal window
ayx server upgrade plan --from 2023.1 --to 2024.2

Override the output directory:

Terminal window
ayx server upgrade plan --from 2023.1 --to 2024.2 --out /tmp/my-upgrade-plan

Review the plan file before proceeding.

The bundled server.upgrade.preflight action automates steps 1–4 of the manual sequence. It validates config, captures auth posture, takes a Mongo snapshot, and checks that the job queue is empty:

Terminal window
ayx actions run server.upgrade.preflight

To run the precheck command directly:

Terminal window
ayx server upgrade precheck --target 2024.2 --profile prod

Output goes to upgrade-precheck/ by default. Override with --out <dir>.

Capture a backup within the upgrade flow (separate from ayx server backup):

Terminal window
# Dry run first — confirm what will be captured
ayx server upgrade backup --type mongo --profile prod
# Commit
ayx server upgrade backup --type mongo --profile prod --apply

The --type value corresponds to the backup category defined in your upgrade plan. Inspect the plan output to confirm the correct type for your environment.

Output goes to upgrade-backup/ by default.

This step is destructive. It will not run without --apply.

Terminal window
ayx server upgrade apply --manifest upgrade-plan/manifest.json --apply --yes

--yes skips the TTY confirmation prompt. Required in non-interactive (CI/automation) environments.

After the installer completes, verify the outcome:

Terminal window
ayx server upgrade postcheck --manifest upgrade-plan/manifest.json --profile prod

Output goes to upgrade-postcheck/ by default.

If you need to transport upgrade artifacts between environments (e.g., from a staging area to an air-gapped server):

Terminal window
ayx server upgrade bundle --input upgrade-plan/ --out upgrade-bundle.zip
Flag Default Notes
--from <ver> (required for path, plan) Source version string
--to <ver> (required for path, plan) Target version string
--target <ver> (required for precheck) Target version for compatibility checks
--deployment embedded-mongo Set to managed-mongo for external MongoDB
--out <dir> varies by command Override the output directory
--profile <name> active profile Named profile — accepted by precheck, backup, and postcheck only (not plan, path, apply, or bundle)
--apply (off) Required for backup apply and apply
--yes (off) Skip TTY confirmation; required in automation

All commands accept --output json as a global flag:

Terminal window
ayx --output json server upgrade plan --from 2023.1 --to 2024.2