For various reasons I need to move an alfresco repository from one host to another. I configured the replication service between the target and the source and am trying to figure out how to set the replicated content to not be read only in alfresco-global.properties. I have added replication.readOnly=false in both the target and source repositories and run the replication service but it doesn't seem to be working as the content is read only. After the initial replication is done it will not be run again.
The only other thoughts I had were i could remove the cm:lockable and trx:transferred from the content but I can't seem to get around the PERSISTENT lock on the node. I think that if I copy the content to another folder that the copied content does not have the aspects and functions normally but I don't want to have to do that because we have a lot of content.
Solved! Go to Solution.
Solution. The best way to do this as far as I can tell: Replicate your data once, let's say the folder name is OriginalFolder from source to target. In the target repository rename the folder something say-- OriginalFolderRO. Copy the content from the OriginalFolderRO to OriginalFolder. This removes the transferred and locked aspects. To delete the OriginalFolderRO create an empty OriginalFolderRO on the source and replicate it to the target.
Hi,
As per this enable-target-repository-in-editable-form post, for community edition,target repository is only allowed to work in read only mode.
If you are able to find any alternate solution, please post here.
Thanks,
Hardik
Hi @ehelfrich ,
Have you considered taking a backup & retoring that on the new server?
HTH,
That is how I got to this place -- the original database was built on latin1 character set in mysql. It will not import and work -- alf_node_properties contains some blob serialized objects among other thing-- so this is the workaround vs pultting everything in a series of acp's and moving them manually. Not sure why I can't remove the aspects in the target system though -- specifically lockable and the trx one.
You should be able to override the value in global properties even so. Not sure why that didn't work
Solution. The best way to do this as far as I can tell: Replicate your data once, let's say the folder name is OriginalFolder from source to target. In the target repository rename the folder something say-- OriginalFolderRO. Copy the content from the OriginalFolderRO to OriginalFolder. This removes the transferred and locked aspects. To delete the OriginalFolderRO create an empty OriginalFolderRO on the source and replicate it to the target.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.