Hi,
I have followed all steps in order to get the pdf converter to work with Azure from here: https://www.syncfusion.com/kb/10731/how-to-convert-html-to-pdf-in-azure-app-service-linux-using-net-core
The folder exists on Azure, I have confirmed this. I get the below error when attempting to convert:
{"Success":false,"Code":500,"Message":"/usr/bin/xvfb-run: 184: /usr/bin/xvfb-run: /home/site/wwwroot/QtBinariesLinux/Syncfusion.WebKitWrapper: Permission denied\n"}I have tried on both B1 and S1 plans. I will however note, when running this command:
apt-get update && apt-get -y install xvfb && apt-get -y install fontconfig && apt-get -y install libssl1.0-dev && apt-get -y install libx11-dev libx11-xcb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-shm0-dev libxcb-util0-dev libxcb-xfixes0-dev libxcb-xkb-dev libxcb1-dev libxfixes-dev libxrandr-dev libxrender-dev
I do encounter an issue:
E: Package 'libssl1.0-dev' has no installation candidate
Any help will be much appreciated.
To add some further details. I'm using .NET Core 5, WebKitPath
Thank-you for the prompt reply.
I am however still getting the same error:
{"Success":false,"Code":500,"Message":"/usr/bin/xvfb-run: 184: /usr/bin/xvfb-run: /home/site/wwwroot/QtBinariesLinux/Syncfusion.WebKitWrapper: Permission denied\n"}
UPDATE: Wow. After spending all day trying different options it appears I have a solution. When deploying to Azure through Visual Studio 2019 (Publish) they seem to deploy the web application as a website package and append WEBSITE_RUN_FROM_PACKAGE to the configuration.
The solution is to upload the files manually. I believe there is no to not deploy as package from VS Studio.
I would strongly recommend updating the documentation alerting users of this as I imagine users are more than likely going to deploy thro