First time here? Check out the FAQ!
asked 2012-09-10 19:08:05 +0200
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.
answered 2013-03-02 06:24:23 +0200qubit
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-09-10 19:08:05 +0200
Seen: 437 times
Last updated: Mar 02