OakConstraint0100 while pre-upgrade step in AEM 6.4 upgrade

Avatar

Avatar
Validate 1
Level 2
ashishkhadpe
Level 2

Likes

4 likes

Total Posts

50 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
ashishkhadpe
Level 2

Likes

4 likes

Total Posts

50 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 3
Boost 1
View profile
ashishkhadpe
Level 2

10-05-2019

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

10-05-2019

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

Answers (0)