Closed (cannot reproduce)
Project:
File Framework
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Dec 2008 at 00:14 UTC
Updated:
6 Dec 2011 at 17:58 UTC
I've got things working, up to a point.
My openoffice daemon (/opt/openoffice3/program/soffice) running as headless, starts fine with the script from here
All of the associated converters, which are called for openoffice via jodconverter, show as installed and active in the settings.
I upload a MSword file and it is converted to various file formats.
Great!
But, the next time I try I only get the original file format. Checking things, it appears that openoffice is dying after the first conversion. I can't seem to see why and I don't know if there is a log that would tell me (or where it would be located).
Can anyone help?
Comments
Comment #1
justin.hopkins commentedgmak,
Have you tried running it by hand?
As far as I know OO doesn't write a log anywhere, but the above command run from a terminal will give you some output - Success looks like this:
Comment #2
gmak commentedcalling it from the command line (as user www-data), as you have suggested above, responds exactly as expected:
And, after this the daemon is still running.
This makes me think that there is something happening with the call from fileframework which is not working correctly. My init script looks like this:
Which looks OK to me.
Any ideas?
Comment #3
Arto commentedComment #4
miglius commentedIf you want to mimic exactly what's going when the file conversion is spawn from the web by using a command line, you should su to the user running webserver and set the environment to be the same as the web server runs in. Look at the web server's start scripts to see which environment variables are set.
Comment #5
johanneshahn commentedfeel free to reopen issue