Default Role - FAILED - Sonatype Nexus Repository - Sonatype Community
Default Role - FAILED
post by itperfecto on Jan 21
After upgrading from 3.78.2-04 to 3.88, the following error appeared:
Default Role - FAILED Load failed: javax.validation.ConstraintViolationException: Validation failed; 1 constraints violated
If I delete and recreate this capability (Default Role), the error disappears until the next restart. After restarting Nexus, the error reappears.
post by itperfecto on Jan 23
I replaced the default role with a newly created one, and now the error is gone. Looks like the hyphen in the name (or something similar) was causing the problem.
post by Théo_AD on Apr 10
Hello,
We have the same problem with Nexus (Docker): When we recreate the role it works but is broken at every reboot and it’s need to recreate the role again.
Have you a fix for this issue ?
Thanks!
post by rseddon on Apr 10
That should be fixed in the 3.91.0 release:
- NEXUS-48819 – The Default Role capability now supports built-in roles like nx-anonymous and nx-admin across instance restarts and upgrades.