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]

تم ترخيص هذا العمل بموجب الترخيص العام غير المعدل الخاص بالإسناد وعدم التجارة والمشاركة الإصدار 3.0 ‏من ‏‏Creative Commons‏‏  إن بنود Creative Commons لا تشمل منشورات Twitter™‎ وFacebook.

إشعارات قانونية   |   سياسة الخصوصية على الإنترنت