Azure webapp deployment fails

james chalmers 1 Reputation point
2020-07-05T09:28:06.68+00:00

I have been following this tutorial to deploy my webapp to Azure: create-and-deploy-a-react-app-to-azure-using-net-core-on-mac
The webapp is actually a full stack app with a dotnet core 3.1 back end, and a React frontend created using the dotnet new react command in VSCode.
I have followed each command closely and I get a deployment failed when I enter 'git push azure master', near the end. My app is hosted in Azure but there is no content - see reactapp-crud.azurewebsites.net. My Azure git url is reactapp-CRUD.git. I should say that I'm actually using a Ubuntu Linux laptop and following each az command etc closely after installing the Azure CLI, as the tutorial is really intended for Mac users.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,241 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 29,651 Reputation points Microsoft Employee
    2020-07-07T04:32:17.893+00:00

    Hi @jameschalmers-0938,

    You didn't specify the error you're getting when you run git push master. But I did notice the author of your referenced post omitted the url argument in gi remote add azure command. That's one thing to look at. Another thing to look at would be the start up of your app. You can do this by enabling app service logging, restarting your app, and observing the logs in Log Stream.

    11455-2020-06-24-10-32-54-readbetterinbyryan-app-service.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.