question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not create linux runtime for AppService

See original GitHub issue

We confirmed the AppService’s node.js runtime for Linux.

az webapp list-runtimes --os-type linux
[
           : 
  "NODE:18-lts",
  "NODE:16-lts",
  "NODE:14-lts",
           :
]

But azure-cli try to create windows runtime even if we write linux runtime name.

az webapp create --resource-group RG --plan PLAN --name APP --runtime "NODE:18-lts" --deployment-local-git
Windows runtime 'NODE|18-lts' is not supported. Please invoke 'az webapp list-runtimes' to cross check

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
navba-MSFTcommented, Nov 14, 2022

@sokichi-fj Thanks for getting back and clarifying the ask. You are right. Currently, the command az webapp list-runtimes displays both linux and windows:

az webapp list-runtimes { “linux”: [ “DOTNETCORE:7.0”, “DOTNETCORE:6.0”, “DOTNETCORE:3.1”, “NODE:18-lts”, “NODE:16-lts”, “NODE:14-lts”, “PYTHON:3.10”, “PYTHON:3.9”, “PYTHON:3.8”, “PYTHON:3.7”, “PHP:8.1”, “PHP:8.0”, “PHP:7.4”, “RUBY:2.7”, “JAVA:17-java17”, “JAVA:11-java11”, “JAVA:8-jre8”, “JBOSSEAP:7-java11”, “JBOSSEAP:7-java8”, “TOMCAT:10.0-java17”, “TOMCAT:10.0-java11”, “TOMCAT:10.0-jre8”, “TOMCAT:9.0-java17”, “TOMCAT:9.0-java11”, “TOMCAT:9.0-jre8”, “TOMCAT:8.5-java11”, “TOMCAT:8.5-jre8”, “GO:1.19”, “GO:1.18” ], “windows”: [ “dotnet:7”, “dotnet:6”, “DOTNETCORE:3.1”, “ASPNET:V4.8”, “ASPNET:V3.5”, “NODE:18LTS”, “NODE:16LTS”, “NODE:14LTS”, “PHP:7.4”, “java:1.8:Java SE:8”, “java:11:Java SE:11”, “java:17:Java SE:17”, “java:1.8:TOMCAT:10.0”, “java:11:TOMCAT:10.0”, “java:17:TOMCAT:10.0”, “java:1.8:TOMCAT:9.0”, “java:11:TOMCAT:9.0”, “java:17:TOMCAT:9.0”, “java:1.8:TOMCAT:8.5”, “java:11:TOMCAT:8.5”, “java:17:TOMCAT:8.5” ] }

Since your ask is to improve the error message, I am filing the PR to get the right commands in the error message.

1reaction
sokichi-fjcommented, Nov 14, 2022

@navba-MSFT Thank you for supporting my report.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure App Service on Linux FAQ - Microsoft Learn
Find answers to the frequently asked questions about the built-in Linux containers in Azure App Service.
Read more >
Missing Stack settings in App Service running on App ... - GitHub
Missing the stack settings when creating App Service on App Service Plan for Linux. The problem is that the node.js app doesn't work ......
Read more >
Deployment to Linux App Service Resets Runtime Stack when ...
1) Create a Linux App Service that uses the .NET Core 3.1 runtime stack and check in 'Configuration > General Settings' that the...
Read more >
pm2 not found on Azure App service with Node 14 runtime
If you must use node 14LTS, I suggest you raise a support ticket on portal for help. Recurring problem: Create a linux node...
Read more >
Azure App Service: Cannot create directories and write to ...
You need to expand the Additional Deployment Options section and click on the Select deployment method checkbox, which is unchecked by default.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found