Expand my Community achievements bar.

SOLVED

OakConstraint0100 while pre-upgrade step in AEM 6.4 upgrade

Avatar

Level 4

Hi All,

I am getting below error while running the PreUpgradeTask by invoking runAllPreUpgradeTasks() method :

com.day.cq.wcm.core.impl.VersionManagerImpl Unable to purge version 1.* for /<path> : OakConstraint0100: Item is protected: <path>

What could be the possible reason and solution?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor
1 Reply

Avatar

Correct answer by
Employee Advisor

Download the Groovy jar from [1] and execute the script mentioned at [2] to resolve this issue.

[1] Central Repository: org/codehaus/groovy/groovy-all/2.1.9

[2] [OAK-5193] Version tree may become inconsistent after removing a version - ASF JIRA