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?
Hello Isaac,
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:
—
Kind regards,
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
{PKCS5S2}phbp9mo6wRaS5cuF3bQ3vvX8pdDuqxPmSLVyNMO9hj4uUsSdTrRndFGaBTlAthGu
https://confluence.atlassian.com/bamboo/restoring-passwords-to-recover-admin-users-289277354.html
—
Kind regards,
Rafael P. Sperafico
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rafael,
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also just to clarify, we're using Bamboo 5.12.2.1 with PostgreSQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.