Hi, I am new user of bamboo. I am usning MySQL database. Now I want to reset admin password & I am already done with following steps :
1)select
*
from
USERS
where
ID=1
it gives me error so I replace USERS with users,
2) update users set PASSWORD = 'x61Ey612Kl2gpFL56FT9weDnpSo4AV8j8+qx2AuTHdRyY036xxzTTrw10Wq3+4qQyB+XURPWx1ONxp3Y3pB37A==' where NAME = 'admin'
it shows me ok
but still I am not able to log-in bamboo. Now what I need to do?
Do I required to set internal directory T=1(as we do for jira) ? if yes how can I do that?
Hi Krystin,
Thanks for help!
I followed following steps for resolving issue.
1. Please stop Bamboo completely. Make sure there is no frozen/orphaned Bamboo process is running in the background. There are records in your log file showing that there were more than one instances running at the same time. Using command similar to "ps ax |grep amb" can help finding running processes. You can then use "kill -9 (process ID)" to kill them.
2. Open "seraph-config.xml" file from under <bamboo-install>\atlassian-bamboo\WEB-INF\classes and check if SSO is correctly disabled:
... <init-param> <!-- the URL to redirect to when the user explicitly clicks on a login link (rather than being redirected after trying to access a protected resource). Most of the time, this will be the same value as 'login.url'. - same properties as login.url above --> <param-name>link.login.url</param-name> <param-value>/userlogin!default.action?os_destination=${originalurl}</param-value> <!--<param-value>/secure/Dashboard.jspa?os_destination=${originalurl}</param-value>--> <!--<param-value>http://sso.mycompany.com/login?redirectTo=${originalurl}</param-value>--> </init-param> ....
3. Please edit the administration.xml file under <bamboo-home>/xml-data/configuration with the following changes:
... <enableAnonymousAccess>true</enableAnonymousAccess> ... <enableRestrictedAdmin>false</enableRestrictedAdmin> ...
4. Please remove previous user login credentials by running the command:
delete from rememberme_token;
5. Please also run:
delete from AUTH_ATTEMPT_INFO;
6. Confirm that you have modified the correct atlassian-user.xml file under <bamboo-home>/xml-data/configuration with the following (The file attached to this ticket is correctly modified):
<atlassian-user> <repositories> <hibernate name="Hibernate Repository" key="hibernateRepository" description="Hibernate Repository" cache="true"/> </repositories> </atlassian-user>
7. Move "logs", "jms-store", "temp" and "caches" from under <bamboo-home> directory to a different location.
8. Please run the update query again and use the this hash this time: "d+o50IH94vMmkUj32ex+lwXNzbSmaZ/6TDueZFQydIH824tXAUtdfCpgiPjO3bV4hvHLDckI4MkapjOTJ2FsdQ=="
Double check to make sure it's saved correctly.
9. Now run Bamboo using "start-bamboo.sh" file from under <bamboo-installation-directory>/bin and login with:
User: admin
Password: sepideh
Hi Felipe,
Thanks for replay! but stil it's not working. I have followed following steps:
1) Shutdown bamboo
2)mysql -u root -p
3) show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| bamboo |
| conf |
| confluence |
| jiradb |
| mysql |
| performance_schema |
| stash |
| test |
+--------------------+
9 rows in set (0.02 sec)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Felipe,
Thanks for replay! but stil it's not working. I have followed following steps:
1) Shutdown bamboo
2)mysql -u root -p
3) show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| bamboo |
| conf |
| confluence |
| jiradb |
| mysql |
| performance_schema |
| stash |
| test |
+--------------------+
9 rows in set (0.02 sec)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
we forgot the admin local password, and in bamboo version 6.5.0 you cannot change the admin lcoal user password throw the application UI.
so we used another solution.
we went to the administration.xml file (try the "locate" command to find it), and enabled the signup,
then we started bamboo again, and created new user.
and just copied his password throw the DB to the admin local user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hardik
It is also possible that multiple failed login attempts have blocked your access. Can you please execute the following query on your DB?
SELECT * FROM AUTH_ATTEMPT_INFO
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hardik,
Can you please also check that the $BAMBOO_HOME/xml-data/configuration/atlassian-user.xml is as follows:
<atlassian-user> <repositories> <hibernate name="Hibernate Repository" key="hibernateRepository" description="Hibernate Repository" cache="true"/>
<!-- Any other user repository, such as LDAP, should be listed after the Hibernate Repository above, which is the internal repository -->
</repositories> </atlassian-user>
This should allow you to login with the 'admin' user and 'admin' password.
If by chance the problem continues, please create a Support issue and attach these files:
This will allow us to investigate what else could be happening.
Kind regards,
Felipe Kraemer
Atlassian Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hii Felipe,
Thanks again for reply
Yes I made changes atlassian-user.xml as mentoned by you.
before changes file was as follow :
<atlassian-user>
<repositories>
<crowd name='Crowd Repository' key='crowd'/>
</repositories>
</atlassian-user>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hardik,
As you're a new Bamboo user, I understand your Bamboo version is 5.5.x. From Bamboo 4.3.x onwards this is the admin hash you should use:
{PKCS5S2}2ji+BcvOsgMOh5QGHHc+reOU2qvyHdf20E/0caC/Lf+u3+JvEst9prD15lLLpglJ
The password hash you're trying to use should be used in Bamboo 4.2.x and older versions.
By default, Bamboo uses its internal / built-in user directory, so it is not necessary to set it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I am trying to reset password for bamboo 6.9.2, would you know what password hash I should use for this version of bamboo? it seems the password hashes change with every version of bamboo?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.