hello, when trying to migrate a set of users and groups I get this error in package manager:
"org.apache.jackrabbit.vault.packaging.PackageException: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0027: The admin user cannot be removed.
Am hoping someone has a set of guidelines for migrating users from one 6.1 author to another.
Thanks
Solved! Go to Solution.
This is a constraint, please have a look at the documentation :- https://jackrabbit.apache.org/oak/docs/security/user.html
and as mentioned by Sham and Opkar, exclude admin user and tokens using Package Manager filter.
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Exclude admin user using package manager filter.
Views
Replies
Total Likes
Also, make sure ".tokens" are excluded from all the user folders
Regards,
Opkar
Views
Replies
Total Likes
This is a constraint, please have a look at the documentation :- https://jackrabbit.apache.org/oak/docs/security/user.html
and as mentioned by Sham and Opkar, exclude admin user and tokens using Package Manager filter.
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Do you have a definitive guideline over it?
Views
Replies
Total Likes
Something like this should be followed
Exclude tokens, excluding admin and anonymous user
exclude | /home/users/.*/.tokens |
exclude | /home/users/Q/QY5FIMXeQIbGpwZtQ3Dv |
exclude | /home/users/K/Kj1406Qo9IDODc_nk5Ib |
Views
Replies
Total Likes
see step 6) from https://gist.github.com/andrewmkhoury/280c6d0ac1db03b57c58 for detailed steps.
Views
Likes
Replies