I’m trying to use Libreoffice within an Azure Function to convert office docs to PDF.
Having uploaded the Libreoffice files, I am using a command line tool to navigate to the folder and try to run
soffice --version
On my local machine everything works fine (as does the conversion).
Both the conversion and the version ‘test’ command above fail silently on the Azure Function environment with no error output.
I’ve tried to run this programmatically and capture stdout and stderror - but nothing.
Also tried to run soffice --version --backtrace but no log file is created.
Java is installed on the azure functions environment but the user running the process is not root and only has limited permissions.
Are there any ideas that I can try to figure out what may be wrong?