AEM6.2 SP1 Installation error | AEM

Issue

During installation of AEM6.2 SP1 you see this error in the error.log:

Could not Install Package
"javax.jcr.nodetype.ConstraintViolationException: OakConstraint0001: /etc/cloudsettings/default/contexthub[[nt:folder]]: No matching definition found for child node relatedproducts with effective type [nt:unstructured]"

Cause

The nodetype of the folder /etc/cloudsettings/default/contexthub (nt:folder) is incompatible with the changes included in the service pack.

Resolution

Before installing SP1, do the following:

  1. Go to http://aem-host:port/crx/packmgr/index.jsp

  2. Create a backup package of /etc/cloudsettings/default/contexthub

  3. Go to http://aem-host:port/crx/de/index.jsp web app

  4. Browse to and delete the folder /etc/cloudsettings/default/contexthub

  5. Save

  6. Install SP1

  7. Reapply any custom changes that were made to the default contexthub configuration.

Severity

Severity 2

Specified message

javax.jcr.nodetype.ConstraintViolationException: OakConstraint0001: /etc/cloudsettings/default/contexthub[[nt:folder]]: No matching definition found for child node relatedproducts with effective type [nt:unstructured]

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online