Hi Everyone,
I'm facing an issue during the replication of content into AEM. Specifically, I'm encountering the following error:
Repository error during node import: rep:cugPolicy
I have checked the below points and these are in place:
Any Thoughts ? What causes this error during replication of a page ?
Thanks,
Ravi
--- Compact log from publisher ---
Caused by: javax.jcr.PathNotFoundException: rep:cugPolicy
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$7.perform(NodeImpl.java:558) [org.apache.jackrabbit.oak-jcr:1.22.13]
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Everyone,
I’ve found a solution to this issue and here’s a quick overview:
Reason: By default, rep:cugPolicy nodes are protected and aren’t included in replication.
Solution: To enable CUG policies on publishers, we need to configure the Apache Jackrabbit Oak CUG configurations in the Config Manager on the publish instance.
Let me know your thoughts, and feel free to share any suggestions or references.
Hi @Ravi_Joshi
Could you please try with admin credentials? could be that Author does not have acl read permissions.
Hi @arunpatidar , I am using admin credentials only.
Hi @Ravi_Joshi,
check if your replication-service user has jcr:readAccessControl permissions on the root path.
Good luck,
Daniel
Hi @daniel-strmecki , It is there for the replication-service.
check jcr:readAccessControl permission for the replication-service user under the root path.
Hi Everyone,
I’ve found a solution to this issue and here’s a quick overview:
Reason: By default, rep:cugPolicy nodes are protected and aren’t included in replication.
Solution: To enable CUG policies on publishers, we need to configure the Apache Jackrabbit Oak CUG configurations in the Config Manager on the publish instance.
Let me know your thoughts, and feel free to share any suggestions or references.