cancel
Showing results for 
Search instead for 
Did you mean: 

alfrescoOpenOffice missing (Windows)

drwho
Champ in-the-making
Champ in-the-making
This is a new installation.  I used the standard windows installer and accepted the default options,  including OpenOffice. 

The folder c:\alfresco\openoffice is present

The documentation at http://www.alfresco.com/help/34/community/adminhelp/ states that I should see three services:

    * alfrescoMySQL
    * alfrescoOpenOffice
    * alfrescoTomcat

- But alfrescoOpenOffice is not listed under windows services.  The other two are present and started.

Can anyone comment on this?

I don't know if this is related,  but although I can see document previes for pdf,  .doc and .docx show "This document can't be previewed."

Apart from that,  everything appears to be working and looks great except email inbound and outbound which appears to be a slightly tricky post-install config issue.

Thanks,
5 REPLIES 5

drwho
Champ in-the-making
Champ in-the-making
Answering my own question for the benefit of others:

I took a look at various scripts in c:\alfresco:

serviceinstall.bat has a line which installs the openoffice service.  This runs a script: c:/alfresco/openoffice/scripts/serviceinstall.bat

This doesn't exist,  but there is a script there called openoffice_serviceinstall.bat    –Bug #1

I tried running that manually,  but that didn't add the service.

Edited openoffice_serviceinstall.bat and found references like this:

c:\alfresco\OPENOF~1\……

which should read:

c:\alfresco\openoffice\…..         –bug #2

Corrected those lines and ran the script with the INSTALL argument from an elevated command window (ie run as administrator)

- Now the sevice is listed (although not running.  Attempted a start and it immediately stopped,  which isn't necessarily a problem)

- NOW the document preview works for .doc  and .docx


Having fixed this,  I have a concern that other service installs may also have bugs.

I would have to comment that the product is excellent,  but I'm disappointed to find such bugs in a distributed (ie not beta) installation.

Is the Linux version more stable/tested?

mrogers
Star Contributor
Star Contributor
Please raise problems like this in JIRA (issues.alfresco.com)

The installers for Alfresco have been overhauled recently and are clearly still in need of more work.

drwho
Champ in-the-making
Champ in-the-making
Hi

I've just tried to install on Centos 5.4 and encountered two failures during the installation process before giving up:

1:

Problem running post-install step. Installation may not complete correctly
Error running /opt/alfresco-3.4.b/java/bin/java -jar /opt/ alfresco-3.4.b/bin/alfresco-mmt.jar install /opt/alfresco-3.4.b/ amps /opt/alfresco-3.4.b/tomcat/webapps/alfresco.war - directory -nobackup : child process exited abnormally


2:

an opaque problem regarding mysql which I didn't understand.



Can anyone comment on whether the 3.4.a release is more stable?

Thanks,

victoryan
Champ in-the-making
Champ in-the-making
I fixed the problem by install the service manually, don't run the bat file

C:\Alfresco\openoffice\scripts>winserv install alfrescoOpenOffice -displayname "alfrescoOpenOffice" -start auto "C:\Alfresco\openoffice\App\openoffice\program\soffice.exe" -nofirststartwizard -nologo -headless -accept=socket,host=127.0.0.1,port=8100;urp;

All preview work perfectly now  Smiley Very Happy

applening
Champ in-the-making
Champ in-the-making
This solved the problem that I have been struggling with. Thanks so much for sharing!

Answering my own question for the benefit of others:

I took a look at various scripts in c:\alfresco:

serviceinstall.bat has a line which installs the openoffice service.  This runs a script: c:/alfresco/openoffice/scripts/serviceinstall.bat

This doesn't exist,  but there is a script there called openoffice_serviceinstall.bat    –Bug #1

I tried running that manually,  but that didn't add the service.

Edited openoffice_serviceinstall.bat and found references like this:

c:\alfresco\OPENOF~1\……

which should read:

c:\alfresco\openoffice\…..         –bug #2

Corrected those lines and ran the script with the INSTALL argument from an elevated command window (ie run as administrator)

- Now the sevice is listed (although not running.  Attempted a start and it immediately stopped,  which isn't necessarily a problem)

- NOW the document preview works for .doc  and .docx


Having fixed this,  I have a concern that other service installs may also have bugs.

I would have to comment that the product is excellent,  but I'm disappointed to find such bugs in a distributed (ie not beta) installation.

Is the Linux version more stable/tested?