Unable to deploy static site via zip file
Bug Report
-
At what date and time did you most recently experience the problem? Started on 9th Mar 2022
-
Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use. Azure Web App
-
If your repo is publicly available please share its URL: Repo is private but consists of an index.html and .htaccess
-
What happened? Deployments have stopped working via this method to this platform
Azure CLI method:
az webapp deploy --only-show-errors --type zip --resource-group "$app_rg_name" --name "$app_name" --slot maintenance --src-path $upload_zip --output none
Azure CLI version:
{
"azure-cli": "2.34.0",
"azure-cli-core": "2.34.0",
"azure-cli-telemetry": "1.0.6",
"extensions": {
"alertsmanagement": "0.1.1",
"application-insights": "0.1.14",
"azure-devops": "0.22.0",
"costmanagement": "0.1.1",
"resource-graph": "2.1.0"
}
}
-
What did you expect or want to happen? Deploy should have succeeded
-
How can we reproduce it? I've created a public repo: https://github.com/booyaa/gh_oryx_1293
App Service Details
-
SKU: P1v2
-
OS: Linux
-
Stack: PHP
-
Major Version: PHP 7.4
-
Do you have log output? Please include between the backticks:
2022-03-09T09:47:30.5366259Z,Updating submodules.,e0294f0a-4649-4c37-8a08-0cd6a72ad8f0,0
2022-03-09T09:47:31.6331405Z,Preparing deployment for commit id 'c9d3ac83-c'.,a9a15be8-17aa-4d1a-bdc4-3bf5bd389a5c,0
2022-03-09T09:47:31.8517100Z,Repository path is /tmp/zipdeploy/extracted,6592f7f6-7abc-4aa2-9015-7ca6e305a592,0
2022-03-09T09:47:31.9293539Z,Running oryx build...,cfa887cd-66ba-439d-8edb-a1555db681c6,0
2022-03-09T09:47:31.9450614Z,Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform php --platform-version 7.4 -i /tmp/8da01b1d4cc251b --log-file /tmp/build-debug.log ,,0
2022-03-09T09:47:32.8911401Z,Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx,,0
2022-03-09T09:47:32.9292948Z,You can report issues at https://github.com/Microsoft/Oryx/issues,,0
2022-03-09T09:47:32.9639644Z,,,0
2022-03-09T09:47:32.9775735Z,Oryx Version: 0.2.20211207.1, Commit: 46633df49cc8fbe9718772a3c894df221273b2af, ReleaseTagName: 20211207.1,,0
2022-03-09T09:47:32.9891334Z,,,0
2022-03-09T09:47:33.0076638Z,Build Operation ID: |Mvb4buYqGw4=.f7495f07_,,0
2022-03-09T09:47:33.0155333Z,Repository Commit : c9d3ac83-c29d-4ae5-9682-7cc458a9d7d8,,0
2022-03-09T09:47:33.0267738Z,,,0
2022-03-09T09:47:33.0342309Z,Detecting platforms...,,0
2022-03-09T09:47:33.0507968Z,Could not detect any platform in the source directory.,,0
2022-03-09T09:47:33.0877893Z,Error: Couldn't detect a version for the platform 'php' in the repo.,,1
2022-03-09T09:47:34.8851006Z,Error: Couldn't detect a version for the platform 'php' in the repo.\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform php --platform-version 7.4 -i /tmp/8da01b1d4cc251b --log-file /tmp/build-debug.log ,,2
2022-03-09T09:47:35.3197404Z,Deployment Failed.,77c7ca38-9dc1-4efb-9b7a-8f09ba593957,0