Expand my Community achievements bar.

SOLVED

How to Resolve Repository Error During Node Import: rep:cugPolicy in AEM

Avatar

Level 5

 

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:

  • User group is already there on both Author and Publish.
  • Replication agent (service users) has the required permissions.

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]

 

1 Accepted Solution

Avatar

Correct answer by
Level 5

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.

replication-error.png

View solution in original post

7 Replies

Avatar

Community Advisor

Hi @Ravi_Joshi 
Could you please try with admin credentials? could be that Author does not have acl read permissions.



Arun Patidar

Avatar

Level 9

Hi @Ravi_Joshi,

check if your replication-service user has jcr:readAccessControl permissions on the root path.

 

Good luck,

Daniel

Avatar

Level 2

check jcr:readAccessControl permission for the replication-service user under the root path.

Avatar

Correct answer by
Level 5

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.

replication-error.png