cancel
Showing results for 
Search instead for 
Did you mean: 

Does replication don't run among different releases?

lcandido
Champ in-the-making
Champ in-the-making
We have Alfresco servers at releases 3.4.d and 4.0.d. The replications among the 3.4.d ones run fine. When we try to replicate content from a 3.4 server to a 4.0, an error is returned as the following code:


<?xml version="1.0" encoding="UTF-8"?>
<report:transferReport xmlns:report="http://www.alfresco.org/model/transferReport/2.0">
   <report:target name="Servidor-v321p014" endpointHost="v321p014" endpointPort="8080"></report:target>
   <report:definition isReadOnly="true" isSync="true" numberOfNodes="6"></report:definition>
   <report:exception type="org.alfresco.service.cmr.transfer.TransferException" message="00090442 from repository id is missing"></report:exception>
   <report:events>
      <report:eventStartState date="2013-01-09T12:30:52.247-02:00" state="START">Enter State: START</report:eventStartState>
      <report:eventError date="2013-01-09T12:30:52.389-02:00">00090442 from repository id is missing</report:eventError>
   </report:events>
</report:transferReport>


Note: We have added the following lines in alfresco-global.properties of 4.0 server:

# Enabling Replication - reference: http://wiki.alfresco.com/wiki/FTR
#
replication.enabled=true


A replication from a 4.0 server to a 3.4 returns an explicit "Unable to transfer between incompatible versions". It seems that the target server version isn't recognizable:


<?xml version="1.0" encoding="UTF-8"?>
<report:transferReport xmlns:report="http://www.alfresco.org/model/transferReport/2.0">
   <report:target name="Servidor-v121d006" endpointHost="v121d006" endpointPort="8080"></report:target>
   <report:definition isReadOnly="true" isSync="true" numberOfNodes="2"></report:definition>
   <report:exception type="org.alfresco.service.cmr.transfer.TransferException" message="00100633 Unable to transfer between incompatible versions transferId:workspace://SpacesStore/6de07121-b1bc-407b-982a-37dd786383eb from:Community.4.0.0 to:Unknown.0.0.0"></report:exception>
   <report:events>
      <report:eventStartState date="2013-01-10T17:48:30.458-02:00" state="START">Enter State: START</report:eventStartState>
      <report:eventBegin date="2013-01-10T17:48:30.841-02:00" transferId="workspace://SpacesStore/6de07121-b1bc-407b-982a-37dd786383eb">begin transferId:workspace://SpacesStore/6de07121-b1bc-407b-982a-37dd786383eb</report:eventBegin>
      <report:eventError date="2013-01-10T17:48:31.205-02:00">00100633 Unable to transfer between incompatible versions transferId:workspace://SpacesStore/6de07121-b1bc-407b-982a-37dd786383eb from:Community.4.0.0 to:Unknown.0.0.0</report:eventError>
      <report:eventEndState date="2013-01-10T17:48:31.347-02:00" state="START"></report:eventEndState>
      <report:eventStartState date="2013-01-10T17:48:31.347-02:00" state="ERROR">Enter State: ERROR</report:eventStartState>
      <report:eventReport date="2013-01-10T17:48:31.347-02:00" nodeRef="workspace://SpacesStore/e8dbad71-8ebd-495c-8271-362b5034f997" reportType="DESTINATION"></report:eventReport>
   </report:events>
</report:transferReport>


The server "v121d006" above is running normally as shown:


<?xml version="1.0" encoding="UTF-8"?>
<report:transferReport xmlns:report="http://www.alfresco.org/model/transferReport/2.0">
   <report:target name="Servidor-v121d006" endpointHost="v121d006" endpointPort="8080"></report:target>
   <report:definition isReadOnly="true" isSync="true" numberOfNodes="6"></report:definition>
   <report:events>
      <report:eventStartState date="2013-01-09T12:08:26.344-02:00" state="START">Enter State: START</report:eventStartState>
      <report:eventBegin date="2013-01-09T12:08:27.120-02:00" transferId="workspace://SpacesStore/71eb693f-43e0-4cf1-bb44-2bf0070f22aa">begin transferId:workspace://SpacesStore/71eb693f-43e0-4cf1-bb44-2bf0070f22aa</report:eventBegin>
      <report:eventEndState date="2013-01-09T12:08:27.120-02:00" state="START"></report:eventEndState>
      <report:eventStartState date="2013-01-09T12:08:27.120-02:00" state="SENDING_SNAPSHOT">Enter State: SENDING_SNAPSHOT</report:eventStartState>
      <report:eventSendSnapshot date="2013-01-09T12:08:27.121-02:00"></report:eventSendSnapshot>
      <report:eventEndState date="2013-01-09T12:08:27.400-02:00" state="SENDING_SNAPSHOT"></report:eventEndState>
      <report:eventStartState date="2013-01-09T12:08:27.400-02:00" state="SENDING_CONTENT">Enter State: SENDING_CONTENT</report:eventStartState>
      <report:eventSendContent date="2013-01-09T12:08:27.401-02:00" position="1" range="6" size="21159"></report:eventSendContent>
      <report:eventSendContent date="2013-01-09T12:08:27.401-02:00" position="2" range="6" size="20427"></report:eventSendContent>
      <report:eventEndState date="2013-01-09T12:08:27.422-02:00" state="SENDING_CONTENT"></report:eventEndState>
      <report:eventStartState date="2013-01-09T12:08:27.422-02:00" state="PREPARING">Enter State: PREPARING</report:eventStartState>
      <report:eventEndState date="2013-01-09T12:08:27.434-02:00" state="PREPARING"></report:eventEndState>
      <report:eventStartState date="2013-01-09T12:08:27.434-02:00" state="COMMITTING">Enter State: COMMITTING</report:eventStartState>
      <report:eventCommittingStatus date="2013-01-09T12:08:27.546-02:00" position="7" range="7">committing 7 of 7</report:eventCommittingStatus>
      <report:eventCommittingStatus date="2013-01-09T12:08:29.564-02:00" position="25" range="25">committing 25 of 25</report:eventCommittingStatus>
      <report:eventSuccess date="2013-01-09T12:08:37.633-02:00">success</report:eventSuccess>
      <report:eventEndState date="2013-01-09T12:08:37.841-02:00" state="COMMITTING"></report:eventEndState>
      <report:eventStartState date="2013-01-09T12:08:37.841-02:00" state="SUCCESS">Enter State: SUCCESS</report:eventStartState>
      <report:eventReport date="2013-01-09T12:08:37.842-02:00" nodeRef="workspace://SpacesStore/1ea35765-356e-401e-a149-45eaeb20b5d9" reportType="DESTINATION"></report:eventReport>
   </report:events>
   …
   </report:node>
</report:transferReport>


So, is it mandatory to upgrade the 3.4.d servers to get replication?

Thanks for any help.
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
replication is restricted to same version.

lcandido
Champ in-the-making
Champ in-the-making
Thanks, MRogers. We'll proceed the upgrade of servers at release 3.4.

A question to fine tuning: Does "same version" mean "3" or "4", don't care if 4.0.d, 4.1or 4.2.c, or MUST be all at same minor versioning (all at 4.0 or all at 4.2)?

Best regards