Am trying to convert a .doc file to .html using libreoffice. Works fine via command line, but not when running within context of web server. My invocation of libreoffice is essentially:
‘/opt/libreoffice3.6/program/soffice --headless -env:UserInstallation=file:///tmp/foobar --convert-to html:HTML (StarWriter) -outdir /someplace /someplace/test.doc’
This fails with following error:
UNO Exception: cannot open file:///root/.ure/types.rdb: 13
If I chmod 777 /root, then everything works ok, but I’d rather not do that. Is there an environment variable that I could set so that I can point it to find the .ure directory?
By the way the web server is running as nobody.