Cleaning up Failed Deployments
Before you re-attempt the deployment, you must clean the remnants of the failed deployment. Use Force undeploy to clean the remnants of the failed deployment. Force undeploy only affects the current version of the application; it does not affect any older versions that may be running.
After Force undeploy completes, the Runtime State reflects the state of the remaining versions (and thus may change from one of the failure states to the Running state after Force undeploy).
Once Force undeploy has completed, you have three choices:
A) Revert to the Older Running Version of the Application
- Click
to clean the remnants of the failed version.
In the dialog box for dependent applications, unselect any other dependent application that the ActiveMatrix Administrator offers you to Force undeploy.
- In the General tab, choose the older version (that is, the version in a Running state) of the Application Template Version from the drop-down list. Note that a version already in the Preparing for Undeploy state cannot be changed back to the Running state. You must choose the version that is in the Running state.
- In the dialog that follows, click
Save.
Your application is flagged as Out of Sync.
- Click
Deploy.
This brings the application to In Sync and Running state. The application has been fully reverted to the previous version.
B) Re-deploy the Same Version
- Click
to clean the remnants of the failed version.
In the dialog box for dependent applications, unselect any other dependent application that the ActiveMatrix Administrator offers you to Force undeploy.
- Click
Deploy to re-deploy the same version.
If this attempt also fails, use Force undeploy before attempting to deploy (or downgrade) again.
C) Upgrade to a newer version and then deploy that newer version
- Click
to clean the remnants of the failed version.
In the dialog box for dependent applications, unselect any other dependent application that the ActiveMatrix Administrator offers you to Force undeploy.
- In the Generaltab, upload a new DAA.
- Upgrade the application to the newer version you uploaded.
- Click Deploy.