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
BedrockMission!

Learn More

View all

Sign in to view all badges

Getting error when Migration user from 6.0 to 6.2

Avatar

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 10
Level 3
sunitac2231600
Level 3

Likes

4 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 10
View profile
sunitac2231600
Level 3

27-03-2017

Dear All,

We are migrating our AEM 6.0 to 6.2 environment.

I created the user package with below information in my 6.0 environment.

Package Name:     Users_Migrate_6.2_Sunita
Filters:     /home/users
exclude    /home/users/a/admin
exclude    /home/users/a/anonymous

After creating package when I tried to install the above package in 6.2 then I am getting below error. Also screenshot attached.

Error: org.apache.jackrabbit.vault.packaging.PackageException: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0027: The admin user cannot be removed.

Please help me on this.

View Entire Topic

Avatar

Avatar
Validate 1
Level 1
kolpur
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
kolpur
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 1
View profile
kolpur
Level 1

04-04-2017

Hi,

Even we faced this issue when migrating from 5.6.1 to 6.1. The problem here is that your package has all users (at folder level - alphabets, numbers, etc), so what happens is it will replace the existing the folder structure which will remove the existing users including admin and anonymous which are now created with random id.

We resolved this issue by creating user package with individual filters (each user and group path). You can make use of ACS AEM Commons tool - https://adobe-consulting-services.github.io/acs-aem-commons/features/authorizable-packager.html for the same.

Thanks.