Azure Web Service deploys with wrong version of Node

I’m trying to deploy a service using Node v18

Indeed, in settings < Configurations I have set it to node v18

The command

az webapp config show --resource-group <RG-name> --name <ServiceName> --query linuxFxVersion

confirms the version to be v18: "NODE|18.20.1"

Even the actual docker container being used seems to correspond to v18:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code> V
2024-08-12T17:08:30.841Z INFO - 18-lts_20220228.1.tuxprod Pulling from appsvc/node
2024-08-12T17:08:30.852Z INFO - Digest: sha256:151be8808b6230b7f1d902cf9fb20cd796016a00bd9a32c45910d6a5fe6c473c
2024-08-12T17:08:30.852Z INFO - Status: Image is up to date for 10.1.0.4:13209/appsvc/node:18-lts_20220228.1.tuxprod
2024-08-12T17:08:30.864Z INFO - Pull Image successful, Time taken: 0 Seconds
2024-08-12T17:08:30.904Z INFO - Starting container for site
2024-08-12T17:08:30.905Z INFO - docker run -d --expose=8080 --name ......
</code>
<code> V 2024-08-12T17:08:30.841Z INFO - 18-lts_20220228.1.tuxprod Pulling from appsvc/node 2024-08-12T17:08:30.852Z INFO - Digest: sha256:151be8808b6230b7f1d902cf9fb20cd796016a00bd9a32c45910d6a5fe6c473c 2024-08-12T17:08:30.852Z INFO - Status: Image is up to date for 10.1.0.4:13209/appsvc/node:18-lts_20220228.1.tuxprod 2024-08-12T17:08:30.864Z INFO - Pull Image successful, Time taken: 0 Seconds 2024-08-12T17:08:30.904Z INFO - Starting container for site 2024-08-12T17:08:30.905Z INFO - docker run -d --expose=8080 --name ...... </code>
                                V
2024-08-12T17:08:30.841Z INFO - 18-lts_20220228.1.tuxprod Pulling from appsvc/node
2024-08-12T17:08:30.852Z INFO - Digest: sha256:151be8808b6230b7f1d902cf9fb20cd796016a00bd9a32c45910d6a5fe6c473c
2024-08-12T17:08:30.852Z INFO - Status: Image is up to date for 10.1.0.4:13209/appsvc/node:18-lts_20220228.1.tuxprod
2024-08-12T17:08:30.864Z INFO - Pull Image successful, Time taken: 0 Seconds
2024-08-12T17:08:30.904Z INFO - Starting container for site
2024-08-12T17:08:30.905Z INFO - docker run -d --expose=8080 --name ......

And yet(!), the version being used to deploy the app is v16 which of course causes the deployment to fail.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>2024-08-12T16:18:09.714643966Z _____
2024-08-12T16:18:09.714690368Z / _ __________ _________ ____
2024-08-12T16:18:09.714696968Z / /_ ___ / | _ __ _/ __
2024-08-12T16:18:09.714701869Z / | / /| | /| | / ___/
2024-08-12T16:18:09.714706569Z ____|__ /_____ ____/ |__| ___ >
2024-08-12T16:18:09.714711469Z / / /
2024-08-12T16:18:09.714716169Z A P P S E R V I C E O N L I N U X
2024-08-12T16:18:09.714720869Z
2024-08-12T16:18:09.714725270Z Documentation: http://aka.ms/webapp-linux
2024-08-12T16:18:09.714729770Z NodeJS quickstart: https://aka.ms/node-qs
2024-08-12T16:18:09.714734270Z NodeJS Version : v16.13.1 <--------
2024-08-12T16:18:09.714738770Z Note: Any data outside '/home' is not persisted
2024-08-12T16:18:09.714743271Z
2024-08-12T16:18:09.965438943Z Starting periodic command scheduler: cron.
2024-08-12T16:18:10.058709071Z Cound not find build manifest file at '/home/site/wwwroot/oryx-manifest.toml'
2024-08-12T16:18:10.058795475Z Could not find operation ID in manifest. Generating an operation id...
2024-08-12T16:18:10.058804876Z Build Operation ID: fa38d167-796d-4f30-af51-d11537e25846
2024-08-12T16:18:10.281955010Z Environment Variables for Application Insight's IPA Codeless Configuration exists..
2024-08-12T16:18:10.289068956Z Writing output script to '/opt/startup/startup.sh'
2024-08-12T16:18:10.310169580Z Running #!/bin/sh
2024-08-12T16:18:10.310198181Z
2024-08-12T16:18:10.310205082Z # Enter the source directory to make sure the script runs where the user expects
2024-08-12T16:18:10.310211182Z cd "/home/site/wwwroot"
2024-08-12T16:18:10.310216482Z
2024-08-12T16:18:10.310222183Z export NODE_PATH=/usr/local/lib/node_modules:$NODE_PATH
2024-08-12T16:18:10.310227883Z if [ -z "$PORT" ]; then
2024-08-12T16:18:10.310233183Z export PORT=8080
2024-08-12T16:18:10.310238583Z fi
2024-08-12T16:18:10.310243784Z
2024-08-12T16:18:10.310248984Z PATH="$PATH:/home/site/wwwroot" bash /home/site/wwwroot/start-dev.sh
2024-08-12T16:18:10.326757685Z Starting custom deployment script...
2024-08-12T16:18:10.354607138Z Expected: v18.20.1
2024-08-12T16:18:10.366245803Z Actual: v16.13.1
</code>
<code>2024-08-12T16:18:09.714643966Z _____ 2024-08-12T16:18:09.714690368Z / _ __________ _________ ____ 2024-08-12T16:18:09.714696968Z / /_ ___ / | _ __ _/ __ 2024-08-12T16:18:09.714701869Z / | / /| | /| | / ___/ 2024-08-12T16:18:09.714706569Z ____|__ /_____ ____/ |__| ___ > 2024-08-12T16:18:09.714711469Z / / / 2024-08-12T16:18:09.714716169Z A P P S E R V I C E O N L I N U X 2024-08-12T16:18:09.714720869Z 2024-08-12T16:18:09.714725270Z Documentation: http://aka.ms/webapp-linux 2024-08-12T16:18:09.714729770Z NodeJS quickstart: https://aka.ms/node-qs 2024-08-12T16:18:09.714734270Z NodeJS Version : v16.13.1 <-------- 2024-08-12T16:18:09.714738770Z Note: Any data outside '/home' is not persisted 2024-08-12T16:18:09.714743271Z 2024-08-12T16:18:09.965438943Z Starting periodic command scheduler: cron. 2024-08-12T16:18:10.058709071Z Cound not find build manifest file at '/home/site/wwwroot/oryx-manifest.toml' 2024-08-12T16:18:10.058795475Z Could not find operation ID in manifest. Generating an operation id... 2024-08-12T16:18:10.058804876Z Build Operation ID: fa38d167-796d-4f30-af51-d11537e25846 2024-08-12T16:18:10.281955010Z Environment Variables for Application Insight's IPA Codeless Configuration exists.. 2024-08-12T16:18:10.289068956Z Writing output script to '/opt/startup/startup.sh' 2024-08-12T16:18:10.310169580Z Running #!/bin/sh 2024-08-12T16:18:10.310198181Z 2024-08-12T16:18:10.310205082Z # Enter the source directory to make sure the script runs where the user expects 2024-08-12T16:18:10.310211182Z cd "/home/site/wwwroot" 2024-08-12T16:18:10.310216482Z 2024-08-12T16:18:10.310222183Z export NODE_PATH=/usr/local/lib/node_modules:$NODE_PATH 2024-08-12T16:18:10.310227883Z if [ -z "$PORT" ]; then 2024-08-12T16:18:10.310233183Z export PORT=8080 2024-08-12T16:18:10.310238583Z fi 2024-08-12T16:18:10.310243784Z 2024-08-12T16:18:10.310248984Z PATH="$PATH:/home/site/wwwroot" bash /home/site/wwwroot/start-dev.sh 2024-08-12T16:18:10.326757685Z Starting custom deployment script... 2024-08-12T16:18:10.354607138Z Expected: v18.20.1 2024-08-12T16:18:10.366245803Z Actual: v16.13.1 </code>
2024-08-12T16:18:09.714643966Z   _____                               
2024-08-12T16:18:09.714690368Z   /  _   __________ _________   ____  
2024-08-12T16:18:09.714696968Z  /  /_  ___   /  |  _  __ _/ __  
2024-08-12T16:18:09.714701869Z /    |    /    /|  |  /|  | /  ___/ 
2024-08-12T16:18:09.714706569Z ____|__  /_____ ____/ |__|    ___  >
2024-08-12T16:18:09.714711469Z         /      /                  / 
2024-08-12T16:18:09.714716169Z A P P   S E R V I C E   O N   L I N U X
2024-08-12T16:18:09.714720869Z 
2024-08-12T16:18:09.714725270Z Documentation: http://aka.ms/webapp-linux
2024-08-12T16:18:09.714729770Z NodeJS quickstart: https://aka.ms/node-qs
2024-08-12T16:18:09.714734270Z NodeJS Version : v16.13.1 <--------
2024-08-12T16:18:09.714738770Z Note: Any data outside '/home' is not persisted
2024-08-12T16:18:09.714743271Z 
2024-08-12T16:18:09.965438943Z Starting periodic command scheduler: cron.
2024-08-12T16:18:10.058709071Z Cound not find build manifest file at '/home/site/wwwroot/oryx-manifest.toml'
2024-08-12T16:18:10.058795475Z Could not find operation ID in manifest. Generating an operation id...
2024-08-12T16:18:10.058804876Z Build Operation ID: fa38d167-796d-4f30-af51-d11537e25846
2024-08-12T16:18:10.281955010Z Environment Variables for Application Insight's IPA Codeless Configuration exists..
2024-08-12T16:18:10.289068956Z Writing output script to '/opt/startup/startup.sh'
2024-08-12T16:18:10.310169580Z Running #!/bin/sh
2024-08-12T16:18:10.310198181Z 
2024-08-12T16:18:10.310205082Z # Enter the source directory to make sure the script runs where the user expects
2024-08-12T16:18:10.310211182Z cd "/home/site/wwwroot"
2024-08-12T16:18:10.310216482Z 
2024-08-12T16:18:10.310222183Z export NODE_PATH=/usr/local/lib/node_modules:$NODE_PATH
2024-08-12T16:18:10.310227883Z if [ -z "$PORT" ]; then
2024-08-12T16:18:10.310233183Z      export PORT=8080
2024-08-12T16:18:10.310238583Z fi
2024-08-12T16:18:10.310243784Z 
2024-08-12T16:18:10.310248984Z PATH="$PATH:/home/site/wwwroot" bash /home/site/wwwroot/start-dev.sh
2024-08-12T16:18:10.326757685Z Starting custom deployment script...
2024-08-12T16:18:10.354607138Z Expected: v18.20.1
2024-08-12T16:18:10.366245803Z Actual: v16.13.1

What am I missing?

Thank you!

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật