3021
Views
10
Comments
Solved
How to cancel deployment 
Question

Now i am deploying from Dev to QA server. 

Although the deploying has finished to QA but the   "Generating mobile apps" hasn't finished.

the status has been continuing more than 3 hours.

i checked the latest version in QA  and it definitely completed deployment.

How can i  cancel or complete this ?

UserImage.jpg
dsf admin
Solution

I solved this by doing  the below.

  1. Write down the Staging ID of the staging that wasn't successfully completed;
  2. How to get the Staging ID? Go to Lifetime > Applications > Click in target environment name > Change Log > Check for "Created deployment plan #<NUMBER> between environments 'X' and 'Y').
  3. Access to https://<yourinfrastructure>/lifetime/ForceStagingClose.aspx and introduce the Staging ID that you want to abort.
2023-10-06 09-22-20
Tiago Bernardo
Champion

Hi!

This tip of accessing https://<yourinfrastructure>/lifetime/ForceStagingClose.aspx to force the termination of a deployment was very helpful!

Just one note: You will need permission to be able to do this.

What this will do is terminate your deployment plan by marking it complete, but the execution will remain in whichever steps it was when it was terminated.

--Tiago Bernardo

2017-11-16 00-34-54
Prakash Behera

Tiago Bernardo wrote:

Hi!

This tip of accessing https://<yourinfrastructure>/lifetime/ForceStagingClose.aspx to force the termination of a deployment was very helpful!

Just one note: You will need permission to be able to do this.

What this will do is terminate your deployment plan by marking it complete, but the execution will remain in whichever steps it was when it was terminated.

--Tiago Bernardo

Hi Tiago,


I too forcefully aborted the deployment. For me also it was on exact same step(Retrieving appl....).


"What this will do is terminate your deployment plan by marking it complete, but the execution will remain in whichever steps it was when it was terminated."


Does this mean the  staged applications will be deployed to target environment  even if it aborted ?


Thank You

2017-11-16 00-34-54
Prakash Behera

Tiago Bernardo wrote:

Hi!

This tip of accessing https://<yourinfrastructure>/lifetime/ForceStagingClose.aspx to force the termination of a deployment was very helpful!

Just one note: You will need permission to be able to do this.

What this will do is terminate your deployment plan by marking it complete, but the execution will remain in whichever steps it was when it was terminated.

--Tiago Bernardo

Hi Tiago,


I too forcefully aborted the deployment. For me also it was on exact same step(Retrieving appl....).


"What this will do is terminate your deployment plan by marking it complete, but the execution will remain in whichever steps it was when it was terminated."


Does this mean the  staged applications will be deployed to target environment  even if it aborted ?


Thank You

2023-06-22 11-11-25
Lauro Silva

In case of someone new has the same problem the new link is: https://yourinfrastructure /lifetime/Troubleshoot.aspx.


UserImage.jpg
Calvin Enriquez

Hi!

Can you tell us what permissions we need? We did a similar action but we cannot cancel the deployment despite already using an account with administrator role (with manage infra and manage teams role)

Regards,

Calvin Enriquez

2018-11-14 19-43-02
Ernesto Muñoz

Hi ! 

I have the same behavior, but I have two questions.


Did this affect something in the target environment?


 Did you have any impact on the application?


Regards.

2021-08-30 15-28-09
Leandro Correa

Hi,

I'm having this same issue,

I've administrator role in the enviroments and I'm receiving the same message:

You have no permissions to do this. Ask your infrastructure manager to perform this action.

And the Administrator role has Manage infrastruture and Users permission.

 




UserImage.jpg
Sripriya Sekar

Hi All,

Am facing similar issue in JAVA stack where am trying to connect to https://<infrastructure>/lifetime/ForceStagingClose.aspx but its throwing 404 not found error. Do i need to install these forcestaging componet in lifetime server, if so please provide the documentation (or) details to follow

Thanks much in Advance..!!

Regards,

Sripriya Sekar

2021-08-30 15-28-09
Leandro Correa

Hi,

I was only able to resolve it with a support ticket. And I didn't know what the procedure was.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.