Deployment is succesful from Github, however in Azure says DJANGO is missing from requirements.txt when it is there in the source file.

Robo 0 Reputation points
2023-01-17T20:30:30.66+00:00

LOG >>>>>>

Running post deployment command(s)...

Generating summary of Oryx build

Parsing the build logs

Found 1 issue(s)

Build Summary :

===============

Errors (0)

Warnings (1)

  1. Missing Django modile in Missing Django module in /tmp/*/requirements.txt [I changed the dir name changed to * for the sake of this post does not reflect actual log]

Triggering recycle (preview mode disabled).

Deployment successful. deployer = GITHUB_ZIP_DEPLOY deploymentPath = ZipDeploy. Extract zip. Remote build.

END LOG

There is a forum that had this problem however none of the advice/proposed changes worked.

As a result my site times out with a 504 error

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,866 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 18,286 Reputation points
    2023-01-27T07:31:38.9166667+00:00

    Robo Thanks for reaching here! Could you please connect to the web app's container via SSH and verify that requirements.txt is named correctly and exists directly under site/wwwroot.

    If it doesn't exist, please make site the file exists in your repository and is included in your deployment.

    If it exists in a separate folder, move it to the root.

    0 comments No comments