80 questions
0
votes
1
answer
62
views
Including parameters in an ARM template runCommand
Suppose I have the below ARM template (simplified for clarity). I try running this, and the script runs, but the output in the log file in /var/lib/waagent/run-command-handler/download/runCommand/0/...
-1
votes
1
answer
127
views
Azure Certificates are unable to copy to Linux App Service
We're currently integrating our ASP.NET application in Azure using Docker Containers and Linux. We already set up everything .NET related but we're running into issues with our private Certificates.
...
0
votes
3
answers
987
views
Azure Linux App Service fail to create Webjob
Currently, my Linux App Service fails to create Webjob, but it worked fine 2 days ago.
Also, I cannot find the detail error log of such error. All the error detail is the screenshot I shown above.
...
0
votes
0
answers
27
views
pymongo.errors.ServerSelectionTimeoutError in AKS cluster
We are using mcr.microsoft.com/azurelinux/base/python:3.12.3-4-azl3.0.20241101-amd64 as our base image to build python based application . when we are running our application built image in AKS , its ...
0
votes
0
answers
178
views
pip install failing in azurelinux based docker image
We are using mcr.microsoft.com/azurelinux/base/python:3.12.3-4-azl3.0.20241101-amd64 as our base image to build python based application . but when we are performing docker build from a ubuntu18 or 22 ...
0
votes
2
answers
158
views
Prevent cookie being logged to azure web app linux HTTP logs
I am running a NodeJS application, hosted in a Linux Azure Web App. I have set up diagnostic logs for HTTP Logs to be forwarded to a Log Analytics Workspace and having looked at the logs I can see ...
0
votes
1
answer
501
views
Files in a Azure App Service local share are not accessible when using a public URL
I have a Azure App service (Linux) with a mounted local share from an Azure storage blob container. I followed the guide on this page. When I try to access a file in the local share via http, I get a ...
1
vote
1
answer
219
views
How to convert xlsb to xlsx using Azure Function?
I've developed and successfully tested locally a function that converts xlsb files to xlsx. Once I tried to deploy and run on Azure Portal, I got the following failure Result: Failure Exception: ...
2
votes
1
answer
2k
views
Use `az ssh vm` (AADSSHLoginForLinux) with Ansible
I have deployed an Azure Linux VM and installed the AADSSHLoginForLinux VM extension.
This allows me to login to the VM using my Azure credentials, and allows me to configure role based access for my ...
2
votes
1
answer
2k
views
Issue running .NET 8 in Azure App Service running Linux
Just to prefix this with the fact that I have no Linux experience.
I have a .NET WebAPI that I publish to two local folder locations:
Windows
Configuration = Release
Target Framework = netcoreapp3.1 (...
0
votes
2
answers
1k
views
Linux Function App in Azure portal won't start because it keeps looking for a directory in /home/site/wwwroot/
I've been trying to get my Linux Function App running, but I've been stuck with this error now:
Microsoft.Azure.WebJobs.Script: Error building configuration in an external startup class. Microsoft....
0
votes
1
answer
2k
views
Error while pushing Docker image on Azure Container Registry
I am getting below error when I run docker push command on my Azure Linux server,
The push refers to repository [prio.azurecr.io/prio-adi-piplines]
ea8e4df76021: Preparing
48b104cbbb7b: Preparing
...
0
votes
1
answer
805
views
How can I check which content of cloud-init.txt was used on my Linux Azure VM or VMSS instance?
I had a problem where I was updating cloud-init.txt for a VMSS deployment like https://github.com/KaiWalter/azure-private-link-port-forward/blob/main/infra/modules/forwarder/cloud-init.txt for while, ...
0
votes
1
answer
785
views
Linux Azure Function - how to change the port used by underlying container?
I am trying to deploy Azure function to Linux environment. Function needs to use hybrid connection to connect to on-prem API on port 80.
After deploy I receive the following error "Azure ...
0
votes
0
answers
39
views
nginx included file not relaoding properly
I am using Linux azure box for PHP application. In my /etc/nginx/sites-available/default file I have added one file containing set of redirections. See code below,
include /home/site/...
0
votes
1
answer
537
views
How to generate PGP key in Azure Linux host
In the Web SSH console for my Azure Linux host, the following command:
gpg --homedir=$homeDir --batch --gen-key pgp-params.txt
results in this:
gpg: error running '/usr/bin/gpg-agent': exit status 2
...
1
vote
2
answers
7k
views
Change Azure VM authentication to ssh key
I have Linux VM on Azure which at first set without SSH keys. which means authentication is made only with password via SSH. I would like to change it now. I tried the way I know, I can login with the ...
0
votes
1
answer
577
views
How to set a subfolder as webapp root on Azure Linux
I'm using Linux on Azure to host my webapp and it deploys fine. My local dev tree structure looks like this:
build
node_modules
src
.deployment
.env
.gitignore
package.json
README.json
...
When I ...
-1
votes
1
answer
162
views
Virtual Machines not accessible in Azure [closed]
I am in an organization on azure with the following roles:
Another member with the same roles created an azure VM that I can not see in my virtual machine interface. It always takes me to this window ...
0
votes
1
answer
287
views
Does Direct Line App Service extension work on Azure Linux App Service?
I am working in project which uses Bot Framework, and We are implementing DirectLine with websockets connection. For this, we are using Direct Line App Service extension. We are following these steps: ...
0
votes
0
answers
818
views
Install PHP extensions on Azure App Service with PHP 8+
We have written an application in PHP that we're about to deploy to Azure that utilizes a few PHP extensions, such as ImageMagick.
Since Azure PHP 8.0 and 8.1 as runtime is now only available on Linux,...
0
votes
1
answer
159
views
Azure Linux Reset password fails with ParentResourceNotFound
I am trying to reset a password in the Azure portal for a Linux VM and I'm getting the error: ParentResourceNotFound. No extensions, like VMAccessForLinux, are shown as installed but I know I was ...
0
votes
1
answer
222
views
Unable to Deploy Flatcar OS on Azure
I was trying to deploy flatcar image on Azure, but I am not able to deploy it. following are the steps I performed
I downloaded latest azure supported VHD from https://stable.release.flatcar-linux....
2
votes
1
answer
887
views
Azure functions v4 .Net 6 on Linux issue
I have created a new Function App with an App Service Plan. It is based on Linux with .NET6 see here.
After the creation, the Function runtime version is 4 and on the General settings page the Stack ...
0
votes
1
answer
264
views
Azure Insights: webapp request time
I have enabled http request logging for my webapp in Azure insights. I don't understand there is such a large response time disparity between identical requests, received just a few seconds or a few ...
0
votes
1
answer
727
views
Azure RHEL Linux VM updates , Gen2 supported?
I am trying to add a RHEL8.2Gen2 VM to automated patching but its failing . I get the hybrid runbook worker is not running error when I run the trouble shooter.
I also get the following error when I ...
1
vote
1
answer
384
views
rsync: rename ... -> ...: No such file or directory (2) Azure Linux App Service
After adding a custom startup command as per the docs I began receiving error rsync: rename ... -> ...: No such file or directory (2). The first deployment worked but consecutive deployments failed....
0
votes
2
answers
853
views
How can I install my own Python package in Azure Web App Service Linux environment?
I deployed my Python Django project to Azure Web Service Linux environment, and found an error most likely caused by the version of Azure's own Python version (see this post Azure Text to Speech Error:...
0
votes
1
answer
1k
views
The current deployment branch is ''main'', but nothing has been pushed to it
When following the Azure App Service PHP quick start guide you receive the below error;
remote: The current deployment branch is ''main'', but nothing has been pushed to it
remote: Error - Changes ...
1
vote
3
answers
2k
views
Azure Linux Startup Command ignored
I'm facing to a problem with Azure Wordpress on App Service, the Startup Command is ignored when I perform a restart of App service. I need to copy a custom config file into nginx directory as ...
2
votes
1
answer
1k
views
Error when deploying Azure app service on linux : disk quota exceeded
I have a .net 6 app deployed on a linux azure app service (P1V2 tier). I deploy the app on a staging slot.
Since yesterday I can't manage to deploy it because on the following error :
Docker API ...
1
vote
1
answer
458
views
Why would Azure Devops pipelines be unable to connect to my Python/Linux function app?
Update It is happening again. Successfully-created Windows-hosted function, visible in the Azure portal. Can connect to other functions in the same subscription and resource group, from the same ...
1
vote
0
answers
129
views
Azure: unable to include extension
So I'm trying to deploy a Laravel app to azure and it worked fine at the start. In this project, I need to use SOAP so I included the SoapWrapper package in my Laravel app. When however I try to ...
1
vote
2
answers
523
views
azure linux web app whitelist IP gets 401 error
Our website is hosted on the Azure Linux web app, the site pulls data from third-party vendors. So we need to whitelist our website IP address to their server but after adding the IP for whitelisting ...
4
votes
0
answers
523
views
Deploy NextJS on Azure Devops App Service with Linux OS
I have the past three days really been struggling with getting my NextJS application deployed on Azure Devops. I have tried the PM2 solution here and the post posted by Ravikumar B.
Localy:
When i run ...
0
votes
1
answer
126
views
InvalidCastException after moving ASP.NET Core 5 application from Windows to Linux
After moving my ASP.NET Core 5 application from Azure Windows app service to Linux app service I am getting these errors on almost all of my endpoints:
InvalidCastException (Unable to cast object of ...
1
vote
1
answer
529
views
Azure Functions on linux - No always on available so possible idle app?
We are not used to Linux function apps on Azure but this time we need to run the code on a Linux OS.
I have noticed that there is no "Always on" option on configuration, unlike windows ...
0
votes
1
answer
452
views
How to install fonts in Azure Linux Function?
As I need to display different languages on a webpage (i.e. have multiple languages in text field then use PuppeteerSharp to print as PDF), how to install fonts in Azure Linux Function?
5
votes
1
answer
3k
views
Azure web app on Linux stoped working suddenly
I have a web application on .NET Core 5 deployed on the Azure web app (Linux). Deployment to the web app goes via Azure DevOps and the last deployment took place at the end of April and no one touched ...
0
votes
1
answer
899
views
How to use `GoToAsync()` from PuppeteerSharp to support local path but not with https?
I am using PuppeteerSharp in C#.
I would like to use await page.GoToAsync(localPath); but faced below exception:
Protocol error (Page.navigate): Cannot navigate to invalid URL
How can I support ...
0
votes
1
answer
78
views
How to get another folder in same Project in Azure Linux Function
Below is my project Structure:
ProjectX
- www (folder)
- - index.html (target file that want to access)
- MyFunc.cs (Function)
- local.settings.json
After I deployed to Azure Linux Function, I could ...
0
votes
1
answer
143
views
Azure move function app to premium tier using APIM
I'm trying to migrate a Azure Linux/Python function app from the consumption tier to a Elastic Premium tier. It turns out this is not so easy: https://github.com/Azure/Azure-Functions/issues/155 . You ...
2
votes
1
answer
4k
views
How can we automatically start the azure agent in a self hosted Ubuntu VM
I have installed an azure agent on a self hosted linux VM as per the documentation here & like to start the agent (i.e., trigger ./run.sh) when the VM is started everytime.
2
votes
2
answers
3k
views
Azure App Service Plan is Of Linux kind but showing Operating System as Windows
I am preparing an infrastructure for one of my angular application on Azure through ARM template, i want to host application on Linux based operating system, thus configured "App service plan&...
2
votes
1
answer
5k
views
Encountered the "Error calling sync triggers (TooManyRequests)" error when running "func azure functionapp publish" for a Python Function App in Azure
I encountered the Error calling sync triggers (TooManyRequests) error when running func azure functionapp publish... for a Python Function App in Azure. Encountered this error consistently after ...
1
vote
1
answer
2k
views
How to get application logs from AzureVM on Azure Analytics Log
I have an azure Linux VM where I want to run custom application which have simple stdout logs. For assumption, assume a python application with logs in print("This is a log") as logs. I want ...
1
vote
1
answer
2k
views
Domain Join Azure Linux VM with ARM template
Is there any way we can domain join Azure Linux VM with ARM template? Like we have domain join extension for Azure Windows VM?
Or any other way to achieve this in ARM template?
Thanks
0
votes
1
answer
696
views
Azure VM FTP Server Error: 550 Create directory operation failed
I am trying to set home directory for FTP Server created on Azure VM (Linux) and I tried many ways taking help of google, but it throws error saying
If I add $USER in local_root while modifying /etc/...
3
votes
2
answers
4k
views
Is Azure App Service editor available on Linux App Service?
The app service editor is available on Windows App Service. However, I am not able to identify it on Linux App Service. The /dev route on the scm of the app service is supposed to bring up the App ...
0
votes
0
answers
646
views
Deploying Azure function to linux consumption plan
I need some help deploying my dotnet core functions app to a linux consumptionplan machine in azure, using github actions.
Right now when I deploy nothing happens in azure (no functions to be seen ...