question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure App Service Deploy fails with error message

See original GitHub issue

Troubleshooting

I’ve gone through all log files and don’t see a single error in them, the deploy actually still works, but, this task is failing with:

2019-01-30T15:58:19.1785372Z ##[section]Starting: Azure App Service Deploy: edge-component-explorer
2019-01-30T15:58:19.1789089Z ==============================================================================
2019-01-30T15:58:19.1789147Z Task         : Azure App Service Deploy
2019-01-30T15:58:19.1789224Z Description  : Update Azure App Services on Windows, Web App on Linux with built-in images or Docker containers, ASP.NET, .NET Core, PHP, Python or Node.js based Web applications, Function Apps on Windows or Linux with Docker Containers, Mobile Apps, API applications, Web Jobs using Web Deploy / Kudu REST APIs
2019-01-30T15:58:19.1789300Z Version      : 4.3.19
2019-01-30T15:58:19.1789336Z Author       : Microsoft Corporation
2019-01-30T15:58:19.1789385Z Help         : [More information](https://aka.ms/azurermwebdeployreadme)
2019-01-30T15:58:19.1789440Z ==============================================================================
2019-01-30T15:58:20.0072935Z Got service connection details for Azure App Service:'edge-component-explorer'
2019-01-30T15:58:21.8481651Z Package deployment using ZIP Deploy initiated.
2019-01-30T15:58:54.6873659Z Fetching changes.
2019-01-30T15:58:55.3642391Z Cleaning up temp folders from previous zip deployments and extracting pushed zip file /tmp/zipdeploy/45f7qib6.zip (74.59 MB) to /tmp/zipdeploy/extracted
2019-01-30T15:58:55.3642828Z An unknown error has occurred. Check the diagnostic log for details.
2019-01-30T15:58:55.3743631Z ##[error]Failed to deploy web package to App Service.
2019-01-30T15:58:55.3760545Z ##[error]Error: Package deployment using ZIP Deploy failed. Refer logs for more details.

Environment

  • Server - Azure Pipelines or TFS on-premises?

    • If using TFS on-premises, provide the version:

    • If using Azure Pipelines, provide the account name, team project name, build definition name/build number: account name: edgewebui, project name: Edge Web UI, build def name/number: "Edge Component Explorer - Deploy

  • Agent - Hosted or Private:

    • If using Hosted agent, provide agent queue name:

    • If using private agent, provide the OS of the machine running the agent and the agent version: Ubuntu

Issue Description

[Include task name(s), screenshots and any other relevant details] Azure App Service Deploy - This uses Private build agents, running Ubuntu and MacOS. I’ve had this task in both the Build and Release pipeline and I get the same error. In build, I am using a YAML file. On Release it’s not an option so I’m using Visual Designer. I’ve looked at every log file on the Azure Web App (Linux) instance both the staging slot and production. I don’t see any clues why this error is happening. The application runs Node 10.10 with Express server and the OS has AAD turned on for Microsoft.

screen shot 2019-01-30 at 9 06 11 am

Task logs

[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution] ReleaseLogs_38.zip

Error logs

The weird part is I don’t see any errors in the error logs. [Insert error from the logs here for a quick overview]

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
guillermomartinez-accenturecommented, May 7, 2020

Was this issue solved?

9reactions
vincent1173commented, Jan 31, 2019

@awentzel , this error is thrown from Azure Layer. Please follow up here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot common Azure deployment errors
Error code Mitigation More inform... AccountNameInvalid Follow naming guidelines for storage accounts. Resolve erro... AccountPropertyCannotBeSet Check available storage account properties. storageAcco... AnotherOperationInProgress Wait for concurrent operation...
Read more >
Failed to deploy web package to App Service on Azure DevOps
In the Function App, go to the "Deployment Center" blade, and click on the ... set in Application settings of Azure App Service....
Read more >
Error deploying azure app service: The operation has timed out
It's not uncommon during the release that one of the deploys fail with the following error: 2018-02-02T16:49:08.7640170Z ##[error]Failed to deploy web package ...
Read more >
Troubleshooting Azure App Service Deployment Errors
Troubleshooting Azure App Service Deployment Errors: “An Error Occurred While Starting the Application” · 2 ways to enable error logging · 3 ways...
Read more >
Deploying .NET application to Azure App Service using Azure ...
These don't really reveal much about what went wrong and how to solve the underlying issues. Thankfully there is a way to get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found