Forum OpenACS Development: Re: JODconverter vs. OpenOffice/LibreOffice Command Line

Collapse
Posted by Malte Sussdorff on
Solved my own problem using google and looking for a PHP solution instead of TCL, which taught me that the HOME env was missing....

exec -- /usr/bin/env HOME=[acs_root_dir] /usr/bin/libreoffice --headless --convert-to $convert_to --outdir $outdir $oo_file

Collapse
Posted by Antonio Pisano on
Yep, more or less the same thing I came up with. The problem is Libreoffice needs to write stuff in its home directory, therefore this must be set to something you have write permissions into.

Kudos for solving! :-)