cancel
Showing results for 
Search instead for 
Did you mean: 

Indexing Office 2007 files on Alfresco 2.1CE

nicof
Champ in-the-making
Champ in-the-making
Hi everybody,

I have installed OpenOffice.org 3.0 on our Centos 5 server, presuming, Alfresco could index MS Office 2007 files afterwards. Well, it doesn't work as is, so I would really appreciate any help.

How do I have to configurate Alfresco to recognize Office 2007 files and to index them?

Kind regards


Nico
3 REPLIES 3

gluck113
Star Contributor
Star Contributor
Hi
What does your log file tell you?
If it's something like this :
10:13:23,544 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Linux
   command:    "/$ALF_HOME/program/soffice" "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" "-env:UserInstallation=file:////$ALF_HOME" -nologo -headless -nofirststartwizard -nocrashrep -norestore
   succeeded:  false
   exit code:  2
   out:      
   err:        Cannot run program ""/$ALF_HOME/program/soffice"": java.io.IOException: error=2, No such file or directory
10:13:25,710 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /$ALF_HOME/alf_data
I have the same problem. Even after following these instructions :http://forums.alfresco.com/en/viewtopic.php?f=8&t=14304&p=47244&hilit=openoffice+location#p47244

Maybe something to do with the openoffice version? Because I can't find any start_oo.sh like it indicates in the wiki http://wiki.alfresco.com/wiki/Setting_up_OpenOffice_for_Alfresco.

Any help would be greatfull

nicof
Champ in-the-making
Champ in-the-making
I have no problems with OpenOffice, it works as intended for all files but the new office files.
Obviously, Alfresco does not know what to do with .docx etc., and I would like to know, how to teach it. ;ö)

Your error message indicaters, that your OpenOffice ist not situated under /$ALF_HOME/program/soffice. Presumed, you have installed OpenOffice, try the following:

cd /
find -name "soffice"
Replace /$ALF_HOME/program/ with the path to the result into your alfresco.sh or wherever your OOo is started and it should work.

Kind regards

gluck113
Star Contributor
Star Contributor
Well your luckier than me  Smiley Happy
In the lab 3 it has the office2007 MIME type integrated (I don't know if it really works). I think you would need to add a MIME type to your Alfresco : http://wiki.alfresco.com/wiki/Adding_a_Mime_Type for the office2007.

I still have the same error, even if I changed the path in the alfresco.sh to where my soffice directory is. I even made links into a /program/ directory I created.
It must be somewhere else but don't know I'm quite new!