cancel
Showing results for 
Search instead for 
Did you mean: 

LibreOffice Online Edit Module Installation Question

steelboots
Champ in-the-making
Champ in-the-making
I'm trying to install the LibreOffice Online Edit Module
http://addons.alfresco.com/addons/libreoffice-online-edit-module

I'm very new to Alfresco (4.2.c community edition) and have only really downloaded the newest version. I want to install this module, but the directions on GitHub are not clear for a complete beginner. If it were a matter of downloading an amp file, stopping Alfresco, putting the amp file in the amps or amps-share folder, and running the apply_amps.bat, then this wouldn't be too much trouble. I've downloaded the master.zip folder, but I don't know where to put anything. I also don't see an AMP files in there.

Any help is greatly appreciated.
22 REPLIES 22

I've installed libreoffice online edit module and I've successfully deployed it (on the module deployment page) but I can't see edit online option anywhere on the document detail page. I found this in the share.log file:


13:23:34,356 ERROR [org.springframework.extensions.surf.extensibility.impl.BasicExtensibilityModuleHandler] The following exception occurred retrieving evaluator:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '' is defined
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
   at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1079)
   at org.springframework.extensions.surf.extensibility.impl.BasicExtensibilityModuleHandler.applyModule(BasicExtensibilityModuleHandler.java:230)
   at org.springframework.extensions.surf.extensibility.impl.BasicExtensibilityModuleHandler.evaluateModules(BasicExtensibilityModuleHandler.java:197)
   at org.springframework.extensions.surf.support.AbstractRequestContext.getEvaluatedModules(AbstractRequestContext.java:1007)
   at org.springframework.extensions.surf.support.AbstractRequestContext.getExtendingModuleFiles(AbstractRequestContext.java:1220)
   at org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer.getExtendingModuleFiles(LocalWebScriptRuntimeContainer.java:323)
   at org.springframework.extensions.webscripts.AbstractWebScript.getExtensionBundle(AbstractWebScript.java:274)
   at org.springframework.extensions.webscripts.AbstractWebScript.getResources(AbstractWebScript.java:437)
   at org.springframework.extensions.webscripts.AbstractWebScript.createTemplateParameters(AbstractWebScript.java:757)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:91)
   at org.springframework.extensions.webscripts.PresentationContainer.executeScript(PresentationContainer.java:70)
   at org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:236)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.mvc.WebScriptView.renderMergedOutputModel(WebScriptView.java:104)
   at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
   at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.site.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:168)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.site.servlet.CSRFFilter.doFilter(CSRFFilter.java:313)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:378)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:744)
13:23:39,822 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 354 Web Scripts (+0 failed), 368 URLs
13:23:39,822 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
13:23:39,822 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
13:23:45,469 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 354 Web Scripts (+0 failed), 368 URLs
13:23:45,469 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
13:23:45,469 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
13:23:53,345 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 354 Web Scripts (+0 failed), 368 URLs
13:23:53,345 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
13:23:53,345 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)

combuster
Champ in-the-making
Champ in-the-making
OK, got it to work (had to change share-custom.xml again, after rebuilding war file). But it only works for odt (I can see edit in libreoffice) - not for doc/docx/xls etc. Is this by design or ?

/edit: As soon as I ask I find the answer on your github page, sry for the noise…

Build the latest version from the develop branch in github, that contains support for the other formats as well. One thing to note is that the check-in/check-out actions in LibreOffice is a bit buggy on Alfresco 4.2 or might in some cases not work at all.

To check out documents you need to check them out in Alfresco first (edit offline) and then edit the working copy with LibreOffice.

Thank you very much Marcus.

Best of luck!

Hi Marcus,

I just built with the devel branch producing version 1.2.0. I still can't see a new function on the page when looking at a document. I've adjusted the share-config-custom.xml with the updated documentation you put for 1.1.0.

The Alfresco server is on a dedicated host, separate from the system I'm on right now. Should share-config-custom.xml have the cmis URL using localhost:8080 or the actual IP the server runs on?

The module activates properly, and seems to stay activated after an alfresco restart, but yet again I cannot find the actual edit online function.

I suspect this is a rudamentary problem.

I'm using 4.2d and I used the binary to install. This is a testing setup I have here, not production.

Any help you give I would greatly appreciate Smiley Happy

bloodyiron
Champ in-the-making
Champ in-the-making
I'm trying to get the module working myself too.

I tried version 1.1 but after reading this thread I build a new amp file with 1.2.0 and tried to install it.

My issue is I cannot see a new function when looking at a document in a list, or when previewing a document.

I'm using 4.2d

Any insight as to why it is not showing up?

hfaria
Champ in-the-making
Champ in-the-making
I've did everything according to the manual, but the java applet neighter the firefox seems to work. Any hints?

Cheers.

linuxyeti
Champ in-the-making
Champ in-the-making
Hi there

What are the plans for this module, post LIbreOffice 4.4 ? I see that the browser plugin is to be stopped being used from 4.4, as Firefox & Chrome are phasing out support for plugins.

Cheers

Tony

Hmm, I haven't seen those news anywhere. Can you point me to where these news are presented so that I can give you a qualified answer?

/Marcus