Closed cbodin closed 5 months ago
Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure: https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano Azure App Service
POST:ing to
/api/zipdeploy
with a .zip file as per the documentation on an Azure Web App Linux withWEBSITE_RUN_FROM_PACKAGE=1
causes a 500 Internal Server error. https://github.com/projectkudu/kudu/wiki/REST-API#zip-deployment https://github.com/projectkudu/kudu/wiki/Deploying-from-a-zip-file-or-urlThe azure-cli sets a
Content-Type: application/octet-stream
header when performing the zip deploy resulting in a successful deploy. https://github.com/Azure/azure-cli/blob/b88d627d0d681d97639df452c47266a31ed6f3b0/src/azure-cli/azure/cli/command_modules/appservice/custom.py#L595-L600C74Proposed changes to the wiki on both of those pages:
I've also opened an issue to get this fixed in the azure-docs repo: https://github.com/MicrosoftDocs/azure-docs/pull/111803