Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

OakConstraint0100 while pre-upgrade step in AEM 6.4 upgrade

Avatar

Level 3

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
0 Replies

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