Modulo google.doc Alfresco Community Edition 6.2 Installation mediante zip.

cancel
Showing results for 
Search instead for 
Did you mean: 
Alfred2
Active Member II

Modulo google.doc Alfresco Community Edition 6.2 Installation mediante zip.

Hola Comunidad,

Ayer, hice una migracion de alfresco 6.2 con docker a alfresco 6.2 sin docker, hay algunos documentos tipo docx, puedo abrirlos mediante el coversor + office, pero en el log me sale error sobre la implementacion de google.doc y cuando eso pasa alfresco muere y tengo que realizar de nuevo todo la migracion.

¿Hay alguna forma de evitar ese problema con el modulo google.doc?

 

Muchas Gracias por todos los conesejos en especial a Cristina.

Saludos.

5 Replies
cristinamr
Advanced

Re: Modulo google.doc Alfresco Community Edition 6.2 Installation mediante zip.

¡Buenas!

Por favor adjunta los logs con los errores (el que te da, y cuando muere). También sería de utilidad si tienes archivos de configuración para ver s hay algo que no esté correctamente configurado.

¡Un saludo!

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc
Alfred2
Active Member II

Re: Modulo google.doc Alfresco Community Edition 6.2 Installation mediante zip.

catalina.out:

ERROR [scripts.forms.FormUIGet] [http-nio-8080-exec-12] org.alfresco.service.cmr.dictionary.DictionaryException: 07120392 Failed to create anonymous type as specified aspect {http://www.alfresco.org/model/googledocs/2.0}sharedInGoogle not found

 2021-08-12 17:42:31,578  ERROR [freemarker.runtime] [http-nio-8080-exec-15] Error executing FreeMarker template

FreeMarker template error:

Method "public boolean org.alfresco.repo.template.BaseContentNode.hasAspect(java.lang.String)" threw an exception when invoked on org.alfresco.repo.template.TemplateNode object "Node Type: {http://www.alfresco.org/model/content/1.0}content\tNode Ref: workspace://SpacesStore/bac9f8f3-82d0-4b47-b36b-1923bea46f76". See cause exception.

The failing instruction (FTL stack trace):

----------

==> #if node.isLocked || node.hasAspect("...  [in template "org/alfresco/repository/comments/comments.get.json.ftl" at line 6, column 4]

----------

 

Java stack trace (for programmers):

----------

freemarker.template.TemplateModelException: [... Exception message was already printed; see it above ...]

at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:135)

at freemarker.core.MethodCall._eval(MethodCall.java:98)

at freemarker.core.Expression.eval(Expression.java:111)

at freemarker.core.Expression.evalToBoolean(Expression.java:143)

at freemarker.core.OrExpression.evalToBoolean(OrExpression.java:68)

at freemarker.core.IfBlock.accept(IfBlock.java:82)

at freemarker.core.Environment.visit(Environment.java:265)

at freemarker.core.MixedContent.accept(MixedContent.java:93)

at freemarker.core.Environment.visit(Environment.java:265)

at freemarker.core.Environment.process(Environment.java:243)

at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:231)

at org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:967)

at org.springframework.extensions.webscripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:267)

at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)

at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:519)

at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)

at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:595)

at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:664)

at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:435)

at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:315)

at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399)

at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)

at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)

at org.alfresco.repo.web.scripts.AlfrescoWebScriptServlet.service(AlfrescoWebScriptServlet.java:43)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.alfresco.web.app.servlet.ClearSecurityContextFilter.doFilter(ClearSecurityContextFilter.java:53)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.base/java.lang.Thread.run(Thread.java:829)

Caused by: org.alfresco.service.namespace.NamespaceException: A namespace prefix is not registered for uri http://www.alfresco.org/model/googledocs/2.0

at org.alfresco.service.namespace.QName.toPrefixString(QName.java:424)

at org.alfresco.repo.template.BaseContentNode.hasAspect(BaseContentNode.java:351)

at jdk.internal.reflect.GeneratedMethodAccessor838.invoke(Unknown Source)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:912)

at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:107)

cristinamr
Advanced

Re: Modulo google.doc Alfresco Community Edition 6.2 Installation mediante zip.

Vale, ya sé por dónde van los tiros: la instalación no está bien hecha porque deberías tener un modelo de datos desplegado pero te dice que falta.

Caused by: org.alfresco.service.namespace.NamespaceException: A namespace prefix is not registered for uri http://www.alfresco.org/model/googledocs/2.0

¿Qué versión de googledocs has utilizado? ¿Puedes darme los pasos desde que lo descargaste hasta su instalación?

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc
Alfred2
Active Member II

Re: Modulo google.doc Alfresco Community Edition 6.2 Installation mediante zip.

Con la instalacion actual, puedo abrir cualqueir documento, pero ¿ hay alguna forma de deshabiliar lo de google.doc ?

 

 

 

 

Saludos,

Alfred

cristinamr
Advanced

Re: Modulo google.doc Alfresco Community Edition 6.2 Installation mediante zip.

Buenos días.

Añade en tu alfresco-global.properties:

googledocs.enabled=false

Reinicia y ¡nos cuentas!

Un saludo.

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc