Unable to install workflow package from 6.0 to 6.1 | Community
Skip to main content
anilkum
Level 4
November 19, 2016
Solved

Unable to install workflow package from 6.0 to 6.1

  • November 19, 2016
  • 3 replies
  • 1236 views

Hi,

We are trying to migrate workflow packages from 6.0 to 6.1 and getting the following error while installing

Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakConstraint0030: Uniqueness constraint violated at path [/] for one of the property in [jcr:uuid] having value 3ed8a5c9-e095-4e9b-aeb0-98e9uss7

We were not able to find the above uuid in the target system?

Any help or pointers would be highly appreciated.

Thanks,

Anil

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Peter_Puzanovs

All this exception means is that this jcr:uuid already exists in the CRX.

Have a look here[1] 

Quote:

There was one workflow model xml in the package which was having hardcoded jcr:uuid value. I removed that jcr:uuid manually from the XML and reinstalled the package successfully. The uuid value in the XML was conflicting with one of the existing node IDs in the CRX. 

[1] http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__nrp0-hi_we_did_aninp.html

Regards,

Peter

3 replies

Peter_Puzanovs
Community Advisor
Community Advisor
November 19, 2016

The exception means that you are trying to create two child nodes with exactly same node jcr:uuid under one parent.

Check the data you are trying to import may be it contains duplicate node definition somewhere(most likely .content.xml)

Regards,

Peter

anilkum
anilkumAuthor
Level 4
November 19, 2016

PuzanovsP wrote...

The exception means that you are trying to create two child nodes with exactly same node jcr:uuid under one parent.

Check the data you are trying to import may be it contains duplicate node definition somewhere(most likely .content.xml)

Regards,

Peter

 

Thanks PuzanovsP,

Would that mean that what we are trying to import already exists? If that is the case then why don't we see the workflows in 6.1 as it is an inplace upgraded environment.

Regards,

Anil

Peter_Puzanovs
Community Advisor
Peter_PuzanovsCommunity AdvisorAccepted solution
Community Advisor
November 19, 2016

All this exception means is that this jcr:uuid already exists in the CRX.

Have a look here[1] 

Quote:

There was one workflow model xml in the package which was having hardcoded jcr:uuid value. I removed that jcr:uuid manually from the XML and reinstalled the package successfully. The uuid value in the XML was conflicting with one of the existing node IDs in the CRX. 

[1] http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__nrp0-hi_we_did_aninp.html

Regards,

Peter