Can't deploy Linux web app
See original GitHub issueThe following template generates a Linux ARM template that is invalid:
let template =
let myWebApp = webApp {
name "mysuperwebappisaac"
sku WebApp.Sku.F1
operating_system Linux
runtime_stack DotNetCore22
}
arm {
location NorthEurope
add_resource myWebApp
}
The service host is deployed, but the web app is not, with an error that the LinuxFxVersion is invalid (in the generated template it’s DOTNETCORE|2.2
).
What do you think this is @Dzoukr ?
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Unable to web deploy to Linux App Service from Visual ...
I have an ASP.NET Core 3.1 MVC application that I am trying to web deploy to a Linux App Service on Azure. When...
Read more >Unable to web deploy to Linux App Service from Visual ...
I have an ASP.NET Core 3.1 MVC application that I am trying to web deploy to a Linux App Service on Azure. When...
Read more >Unable to run sample Web Application in Azure App ...
I've been having trouble for the past several days deploying an example Java application in AppService on a Linux environment using Tomcat.
Read more >Cannot deploy to Azure App Service Linux (Can't open lib ...
Currently I'm no longer unable to deploy my Django (4.0.x) app to Azure ... Cannot deploy to Azure App Service Linux (Can't open...
Read more >unable to deploy v9 site to linux web app on azure
Hi, we are trying to deploy our v9 umbraco 9 site to a linux web app on Azure and we are getting an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@viktorvan @Dzoukr an you both check now? I’ve made some changes to the template generation which I think are now working. Not yet released but it’s in master
Hi @isaacabraham,
prepare for a good laugh. I tried and failed with the same error. Then I tried to create a same configuration manually and copy some parts to locally generated ARM template. After some desperate guesses, I realized that output for
Microsoft.Web/serverfarms
is slightly different.Our output:
the portal template (manual clicked resource) output:
The second one sort of works - returns bad request but at least creates resource on Azure. I tried to investigate (= change randomly things and pray) and realized, that deleting section
resources
from webApp section containingwill make it 100% work.
So here is the investigation summary:
apiVersion
is now2018-11-01
Microsoft.Web/serverfarms
now with first letter uppercase make it work. Why? Only God and Microsoft know.Microsoft.Web/sites
will make it fail.(╯°□°)╯︵ ┻━┻