「Cannot write to read-only GroupManager (読み取り専用の GroupManager には書き込めません)」により、ユーザーを追加できない
Platform Notice: Data Center and Cloud By Request - This article was written for the Atlassian data center platform but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
症状
When adding a user, or perhaps adding a user to a group, the following error is thrown:
Cause
java.lang.UnsupportedOperationException: Cannot write to read-only GroupManager [ldapRepository]
at com.atlassian.user.impl.ReadOnlyGroupManager.addMembership(ReadOnlyGroupManager.java:35)
Stack Trace:[hide]
java.lang.UnsupportedOperationException: Cannot write to read-only GroupManager [ldapRepository]
at com.atlassian.user.impl.ReadOnlyGroupManager.addMembership(ReadOnlyGroupManager.java:35)
at com.atlassian.user.impl.cache.CachingGroupManager.addMembership(CachingGroupManager.java:156)
at com.atlassian.user.impl.delegation.DelegatingGroupManager.addMembership(DelegatingGroupManager.java:231)
原因
There is a group with a duplicate name in the LDAP repository, usually confluence-users or confluence-administrators.
ソリューション
Make sure these group names, reserved for internal use, are not in your LDAP repository.