Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

D365FO On-Prem LCS Sandbox environment deployment is stuck with status downloading.

(0) ShareShare
ReportReport
Posted on by 41

Hi all,

 While using LCS to deploy a user application deployable package on D365FO On Premises, Deployment status is stuck with Downloading for more than 24 hours.

Restart all servers in sequence in the environment did not help.

Checking OrchestratorData database tables OrchestratorJob and RunBookTask do not contain any record related to this deployment.

 

Agent version is 3.0.0

Application release: 10.0.26 (10.0.1192.76)

Platform release: Update50 (7.0.6354.76)

 

Any idea how to solve this issue?

  • Suggested answer
    Hammam Profile Picture
    Hammam 41 on at
    D365FO On-Prem LCS Sandbox environment deployment is stuck with status downloading.
    Hi Komi,
     
     Thanks a lot for your follow-up,
     
    Actually, IT team could not find any solution except for refreshing Local Agents deployment on all nodes using Get-AgentConfiguration.ps1  and Get-DeploymentSettings.ps1
     
    Now system is back to normal state, and we try to re-deploy the required software package,
     
    Thanks to everyone tried to help us,
     
    Best regards,
     
    M.Hammam 
  • Komi Siabi Profile Picture
    Komi Siabi 12,711 Most Valuable Professional on at
    D365FO On-Prem LCS Sandbox environment deployment is stuck with status downloading.
    Hi Hammam, 
     
    Do you now confirm that the environment is taken back to clean state?
     
  • Hammam Profile Picture
    Hammam 41 on at
    D365FO On-Prem LCS Sandbox environment deployment is stuck with status downloading.
    Hi Komi,
     
    Thanks a lot Komi for support,
     
                Confirmed as below,
     
  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,711 Most Valuable Professional on at
    D365FO On-Prem LCS Sandbox environment deployment is stuck with status downloading.
    You mentioned that the last record in OrchestratorJob table  is as of 12-April-2023. 
    Can you also confirm the same date is what you have for the latest custom package on LCS?  : History -> Environment changes.
     
     
    We found no records(JobId nor Runbook TaskId) related to stuck downloading deployment in OrchestratorData database tables OrchestratorJob and RunBookTask.
    No, you are not looking for any information relating to stuck, instead, we want to see the last successful deployment and take the environment back to that clean state. Therefore, run 
    select * from OrchestratorJob order by LastProcessedDateTime desc
    select * from RunBookTask order by StartDateTime desc
    From RunBookTask table, we are looking for the recent record where name = executePostDeploymentScript.
     
    Please follow the steps once again and revert.
  • Hammam Profile Picture
    Hammam 41 on at
    D365FO On-Prem LCS Sandbox environment deployment is stuck with status downloading.
    Hello Komi,

           Thanks a lot for your reply,

    We found no records(JobId nor Runbook TaskId) related to stuck downloading deployment in OrchestratorData database tables OrchestratorJob and RunBookTask.

    Last records found are created in 12-April-2023 for a successful package deployment.
     
    Any idea that may help?
     
     
  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,711 Most Valuable Professional on at
    D365FO On-Prem LCS Sandbox environment deployment is stuck with status downloading.
    Hello Hamman, 
     
     
    You do not have to delete the environment and restart. That a whole lot for me , lol. 
     
    You can take the LCS back to the most recent successful deployment state by running a script in the  OrchestratorData database.
     
  • Hammam Profile Picture
    Hammam 41 on at
    D365FO On-Prem LCS Sandbox environment deployment is stuck with status downloading.
    Hi Hana,
     
       Thanks a lot for your reply. 
     
    Neither restarting all servers through operating system/refresh status nor restarting AOS nodes through Service Fabric/refresh status help in getting out from Downloading status.
     
    Any other idea that may help before trying re-install the local agent or deleting/redeployment of the whole environment?
     
  • Suggested answer
    Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    D365FO On-Prem LCS Sandbox environment deployment is stuck with status downloading.
    Hi,
    You can check out old threads similar to your question, where it is mentioned that all servers can be restarted. If restarting does not work, you can restart the AOS node from the Service Fabric cluster, then open LCS and click Refresh Status.
    For more details, please check: Solved: LCS on-prem environment update deployment status is always downloading (dynamics.com)
    Best Regards,
    Hana

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans