0

I am trying to deploy this application from Azure repos. https://github.com/pointerness/Check

I have cloned this into my companies Azure repo. This is a simple Python Django Hello World app. I have deployed this code on my personal Azure account many times and it works. I deployed this app via vscode into Azure and it works. However when I created a pipeline, It failed. I have used the same yml as available in the git. Just changed the names as per my organization. I get the error Container XXX for site XXX has exited, failing site start

Things I have tried.

  1. Reset Publish Profile
  2. Tried with and without startup commands
  3. setting environment variables

The docker logs has not been of much use. Any suggestions how I can debug

pointerness
  • 323
  • 3
  • 11

1 Answers1

0

You can the try following ways to check docker logs:

  • Docker logs appear on the Container Settings page in the portal.

  • You can find the Docker log in the /LogFiles directory. You can access this via the Kudu (Advanced Tools) Bash console or by using an FTP client to access it.

  • You can use API to download the current logs.

You can refer to Diagnose container start issues in Azure App Service for Linux, Azure Web App Linux container didn't respond to http ping and Things You Should Know: Web Apps and Linux

DeepDave-MT
  • 1,861
  • 1
  • 5
  • 18