I'm currently using crowd for bamboo integration, but would like to create a local bamboo admin as a fail-safe if our crowd server goes down for any reason (it's happened in the past).
However, when I try to switch to "Local users and groups" mode in the "User Repositories" section of bamboo administration, I receive the following error:
"Failed to change the active user repository: At least one administrator required, but none were found. The following administrator groups were searched: [NRMP_Admins, bamboo-admin]"
I did some research and it seemed like the answer was to have a local admin user. Unfortunately, I don't believe I have a local admin user. It may have gotten deleted somewhere down the line. Apparently I'm unable to re-create a local admin user without first switching to local mode.
Seems like I'm in a catch-22 type situation. In order to create a local admin, I need to switch to local mode. But in order to switch to local mode, I need to create a local admin. Is there some backend way to solve this problem, or am I out of luck?
I am assuming you have users in NRMP_Admins group. If so, add this group in Bamboo administration >> Security >> Global permissions and grant it Admin privileges.
Once you have added, please reattempt on switching from Local users and groups to:
Rafael P. Sperafico
Thanks for the reply Rafael. Currently the NRMP_Admins does have admin global permissions, and Bamboo is already set to "Users and groups from JIRA or Crowd."
What I'm trying to do is create a local admin user, which to my understanding involves switching back to "local users and groups" mode before creating a new user. However, when I try to do this I get the error in my original question.
Any advice for this scenario?
What I'm trying to do is create a local admin user...
You do not have access to Bamboo's Internal Directory when using "Users and groups from JIRA or Crowd." and because of that, you are required to change back to "Local users and groups" as you have mentioned.
If running Bamboo 5.13.0.x or 5.13.1 with MSSQL, you might be hitting this bug https://jira.atlassian.com/browse/BAM-17905
In this case, you should:
edit atlassian-user.xml :
<atlassian-user> <repositories> <hibernate name="Hibernate Repository" key="hibernateRepository" description="Hibernate Repository" cache="true"/> </repositories> </atlassian-user>
Users from Bamboo's Internal Directory are stored in USERS table in the database. If you do not remember the password, you could update it to "admin" using this hash:
Rafael P. Sperafico
Sorry for the late response. Appreciate the help. The problem with running the steps you have mentioned are that I do not believe we have a local admin anymore. Is that possible? I looked through the internal directory as well as the database and didn't see one. If so, how would I create a new admin to be able to log in locally?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs