Heroku LibreOffice installation, complete instructions

Job ID: 31210178

Budget: $30 – $250 USD

Complete instructions to set up LibreOffice at Heroku. When I follow your instructions I should have LibreOffice working at the command line. Size will matter to reduce the size of the dyno.

You are to provide complete instructions to install
LibreOffice version 6.0.7.3 (or sufficiently close version)
into
Heroku 18 stack
so the slug and can be used to run
soffice
to convert an Excel .xslx file to PDF

Your instructions should be complete and, when I follow them, should make it possible to run a command such as
soffice --headless --convert-to pdf --outdir /tmp ./sample.xlsx
from the Herolku bash shell.

Note: I am familiar with https://elements.heroku.com/buildpacks/bluetealondon/heroku-buildpack-libreoffice-for-heroku-18
I followed its instructions but it does not work and gives errors, and no PDF is produced. See my further comments after I show you these encountered errors:

javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=25;real subminor version=26
convert /app/app/sample.xlsx -> /tmp/sample.pdf using filter : calc_pdf_Export

My additional comments: I did not install the java environment because, as I understand it, java is not needed to convert to PDF; and my dyno is getting large and I don't want to increase its size unless necessary. If java is required to make this work, let this be part of your complete installation instructions for the solution you suggest.

I am in the Pacific time zone (Los Angeles). Please keep this in mind when waiting for replies.
Related categories: Heroku LibreOffice