Bonjour,
Pour faire une montée de version community 4.0.d vers une community 201704 (5.2)
j'ai installé sur un autre serveur une 4.0.d puis j'ai mis à jour la base de donnée et le content store. et supprimé les index.
Aucun modèl de donées n'est applqué à cette instance alfresco.
Au démarrage, j'ai cette erreur :
Catalina.out |
---|
INFO: Server startup in 36126 ms 2017-08-10 16:32:00,277 INFO [alfresco.util.OpenOfficeConnectionTester] [DefaultScheduler_Worker-4] The OpenOffice connection was re-established. 10 août 2017 16:32:54 org.alfresco.solr.tracker.CoreTracker trackRepository GRAVE: Tracking failed org.alfresco.service.namespace.NamespaceException: Namespace prefix {http is not mapped to a namespace URI at org.alfresco.service.namespace.QName.createQName(QName.java:99) at org.alfresco.service.namespace.QName.createQName(QName.java:121) at org.alfresco.solr.client.SOLRAPIClient$SOLRTypeConverter$10.convert(SOLRAPIClient.java:1167) at org.alfresco.solr.client.SOLRAPIClient$SOLRTypeConverter$10.convert(SOLRAPIClient.java:1164) at org.alfresco.service.cmr.repository.datatype.TypeConverter.convert(TypeConverter.java:112) at org.alfresco.solr.client.SOLRAPIClient$SOLRTypeConverter.convert(SOLRAPIClient.java:1182) at org.alfresco.solr.client.SOLRAPIClient$SOLRDeserializer.deserializeValue(SOLRAPIClient.java:1200) at org.alfresco.solr.client.SOLRAPIClient.getNodesMetaData(SOLRAPIClient.java:775) at org.alfresco.solr.tracker.CoreTracker.indexNode(CoreTracker.java:1879) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1410) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563) 2017-08-10 16:32:55,694 ERROR [extensions.webscripts.AbstractRuntime] [http-8443-4] Exception from executeScript - redirecting to status template error: 07100002 Wrapped Exception (with status template): 07100007 Problem converting to Freemarker org.springframework.extensions.webscripts.WebScriptException: 07100002 Wrapped Exception (with status template): 07100007 Problem converting to Freemarker at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:970) at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171) at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:393) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388) at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462) at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:500) at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:275) at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372) at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209) at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118) 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.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58) 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563) 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:662) Caused by: org.alfresco.error.AlfrescoRuntimeException: 07100007 Problem converting to Freemarker at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet$1.handleNodeMetaData(NodesMetaDataGet.java:198) at org.alfresco.repo.solr.SOLRTrackingComponentImpl$NodeMetaDataQueryRowHandler.processResult(SOLRTrackingComponentImpl.java:879) at org.alfresco.repo.solr.SOLRTrackingComponentImpl.getNodesMetadata(SOLRTrackingComponentImpl.java:735) at sun.reflect.GeneratedMethodAccessor437.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:65) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy142.getNodesMetadata(Unknown Source) at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet.executeImpl(NodesMetaDataGet.java:181) at org.springframework.extensions.webscripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:235) at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64) ... 25 more Caused by: org.alfresco.service.namespace.NamespaceException: A namespace prefix is not registered for uri http://www.alfresco.org/model/rmcustom/1.0 at org.alfresco.service.namespace.QName.toPrefixString(QName.java:414) at org.alfresco.repo.web.scripts.solr.SOLRSerializer$SOLRTypeConverter$2.convert(SOLRSerializer.java:231) at org.alfresco.repo.web.scripts.solr.SOLRSerializer$SOLRTypeConverter$2.convert(SOLRSerializer.java:228) at org.alfresco.service.cmr.repository.datatype.TypeConverter.convert(TypeConverter.java:112) at org.alfresco.repo.web.scripts.solr.SOLRSerializer.serializeToJSONString(SOLRSerializer.java:108) at org.alfresco.repo.web.scripts.solr.SOLRSerializer.serialize(SOLRSerializer.java:170) at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet$FreemarkerNodeMetaData.<init>(NodesMetaDataGet.java:294) at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet$1.handleNodeMetaData(NodesMetaDataGet.java:193) ... 37 more 10 août 2017 16:32:55 org.alfresco.solr.tracker.CoreTracker trackRepository GRAVE: Tracking failed org.alfresco.error.AlfrescoRuntimeException: 07100000 GetNodeMetaData return status is 500 at org.alfresco.solr.client.SOLRAPIClient.getNodesMetaData(SOLRAPIClient.java:721) at org.alfresco.solr.tracker.CoreTracker.indexNode(CoreTracker.java:1879) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1410) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:491) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563) |
J'ai même testé avec l'index lucene pareil, pendant l'indexation j'ai un WARNING : "A namespace prefix is not registered for uri http://www.alfresco.org/model/rmcustom/1.0 "
J'ai refait la manip de migration pour verifié, toujours la meme erreur. la base de donnée et le conten store sont cohérent.
Version: 4.0.d
Bdd : MySql
Merci d'avance,
Solved! Go to Solution.
Le modèle était sûrement déployé dynamiquement depuis share, j'ai retrouvé son emplacement dans le contentstore via cette requête :
select alf_content_url.content_url from alf_node left join alf_qname on alf_node.type_qname_id = alf_qname.id left join alf_node_properties on alf_node_properties.node_id = alf_node.id join alf_content_data on alf_content_data.id = alf_node_properties.long_value left join alf_content_url on alf_content_url.id = alf_content_data.content_url_id where alf_qname.local_name = 'dictionaryModel' and alf_content_url.content_url is not null
++
OMAR
Salut,
Je pense que le problème est qu'il ya un modèle de données qui a été enregistré à 4.0 Alfresco 5.2 et Alfresco ne peut pas le trouver (http://www.alfresco.org/model/rmcustom/1.0).
Quelles mesures avez-vous fait pour rendre la migration? Avez-vous déployé des modules personnalisés?
PVI: http://docs.alfresco.com/5.2/concepts/upgrade-path.html
Cris.
Le modèle était sûrement déployé dynamiquement depuis share, j'ai retrouvé son emplacement dans le contentstore via cette requête :
select alf_content_url.content_url from alf_node left join alf_qname on alf_node.type_qname_id = alf_qname.id left join alf_node_properties on alf_node_properties.node_id = alf_node.id join alf_content_data on alf_content_data.id = alf_node_properties.long_value left join alf_content_url on alf_content_url.id = alf_content_data.content_url_id where alf_qname.local_name = 'dictionaryModel' and alf_content_url.content_url is not null
++
OMAR
Discussions about Alfresco Content Services and Alfresco Process Services in French
Related:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.