Questions tagged [azure-linux]

72 questions
0
votes
2 answers

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: 0x38 (SPXERR_AUDIO_SYS_LIBRARY_NOT_FOUND) when…
0
votes
1 answer

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 committed to remote repository but deployment to…
vdidxho
  • 165
  • 1
  • 14
0
votes
0 answers

Puppeteer html to pdf not working for html containing large image ( above 5MB ) on azure ubuntu server, works on my pc ( ubuntu )

I am trying to convert HTML to PDF in puppeteer. On my local server, everything works fine, it takes sometime but it works for even html containing large images. However on my azure server, for html containing small images, it works fine. But for a…
0
votes
1 answer

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 type 'System.Int32' to type…
0
votes
1 answer

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 functions where you can turn this option on to prevent…
BorisD
  • 1,611
  • 17
  • 22
0
votes
1 answer

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?
DaiKeung
  • 1,077
  • 1
  • 19
  • 38
0
votes
1 answer

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 browsing local path instead of HTTPS?
DaiKeung
  • 1,077
  • 1
  • 19
  • 38
0
votes
1 answer

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 not find a way to find index.html. I tried below…
DaiKeung
  • 1,077
  • 1
  • 19
  • 38
0
votes
1 answer

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 basically have to recreate the Function from…
0
votes
1 answer

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/vsftpd.conf file ftp> mkdir blob 550 Create…
0
votes
0 answers

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 anywhere), yet the logs in github actions sais…
Herlin
  • 353
  • 1
  • 5
  • 12
0
votes
2 answers

IdentityServer4 loading certificates in a Linux Web App in Azure

At the moment I have a web app that works in developer mode, but I am trying to make it work with a self-signed certificate in a Linux Web App in Azure. I have already uploaded the .pfx file to Azure and loaded it into the container by setting the…
0
votes
0 answers

How to execute bash script on an Azure Linux VM from Azure Functions app

I need to call a bash script on an Azure Linux VM from an azure function app, and I need it to use the compute on that VM and not my resource plan for my function app. I know I can perform remote execution via Azure CLI, but I can't seem to wrap my…
NoCarrier
  • 2,558
  • 4
  • 33
  • 44
0
votes
0 answers

How to copy SSH Key to private VM

I have a Public IP VM (VM1) and Private IP VM (VM2) under same virtual network. My goal here is to enable users to login to VM1 through Azure Active Directory and once they are inside they can SSH to VM2 from VM1 using ssh keys. I followed these…
John
  • 351
  • 5
  • 18
0
votes
1 answer

Is it possible to do continuous deployment CI/CD of an Azure Function through a Linux Environment via Azure DevOps?

When creating a function in Azure through a Linux environment it seems CI/CD is completely missing from it's capabilities as I can't see any actual files. My VS code tells me this Error: This plan does not support viewing files. and when I try to…