Azure / Azure/app-service-linux-docs

Unable to update app to target different version of Node via az cli

Open
#121 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
150
Forks
90
Avg merge
2m
Merged PRs (30d)
1

Description

az cli command to update target to a different version of Node is not behaving as expected:
https://github.com/Azure/app-service-linux-docs/blob/master/Runtime_Support/node_support.md#node-on-linux-app-service

Utilizing the UI to set app config Node version to 16 LTS
![image](https://user-images.githubusercontent.com/18019775/171745264-226a0474-be12-4d7d-a69d-20f0133121eb.png)
az webapp config shows "NODE|16-lts":
![image](https://user-images.githubusercontent.com/18019775/171745369-1daba3e7-cf40-4173-8152-8b3fec1f3da2.png)

When trying to set the node version "NODE|16-lts" via az cli command results in error - I assume because the pipe | is being interpreted incorrectly
![image](https://user-images.githubusercontent.com/18019775/171745742-e24155d4-de91-4fb9-bdc4-069834cd072e.png)

Utilizing format returned via az webapp list-runtimes "NODE:16-lts" succeeds,
![image](https://user-images.githubusercontent.com/18019775/171745789-c181b76e-2be0-4324-a8f2-6a220f49018e.png)

however UI now shows incorrect config and app service is non-functional:
![image](https://user-images.githubusercontent.com/18019775/171745570-2229922d-952d-4453-ba1d-cd20e6bdd4c1.png)

az version and console log:
![image](https://user-images.githubusercontent.com/18019775/171744533-cc0333eb-061c-4a07-bfc7-1ea622913f16.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.