Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Reset Crucible Database Password

Darius_Fattahipour
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 24, 2017

Hi,

I needed to reset the password on the database account JIRA utilizes.  I was able to update all the related Atlassian product connection strings (BitBucket, Confluence, etc.) but still can't update Crucible.  The service won't start and throws the following error.  Any ideas on how to reset it?  Thanks!

Caused by: java.lang.IllegalStateException: Database not available (Unable to connect to SQLServer 2012 or newer database jdbc:jtds:sqlserver://xxx:1438;instance=Test1;databaseName=Atlassian_Crucible;: java.sql.SQLException: Login failed for user 'xxxx'.). Current state: NO_DB
at com.cenqua.crucible.hibernate.DefaultDBControl.getConnection(DefaultDBControl.java:623) [fisheye.jar:?]
at com.cenqua.crucible.hibernate.DefaultDBControl.validateConnectionAndExitOnFailure(DefaultDBControl.java:495) [fisheye.jar:?]
at com.cenqua.crucible.hibernate.DefaultDBControl.start(DefaultDBControl.java:256) [fisheye.jar:?]
at com.cenqua.crucible.hibernate.DefaultDBControl.start(DefaultDBControl.java:250) [fisheye.jar:?]
at com.cenqua.crucible.hibernate.DBControlFactoryImpl.<init>(DBControlFactoryImpl.java:67) [fisheye.jar:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.8.0_102]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [?:1.8.0_102]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.8.0_102]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [?:1.8.0_102]
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) [spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE]
... 42 more

1 answer

0 votes
Felipe Kraemer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 5, 2018

Hi @Darius_Fattahipour,

There are two ways of updating the credentials that Fisheye/Crucible should use for authenticating against your database:

  1. By going to Administration > System Settings > Database
  2. Directly at FISHEYE_INST/config.xml while the instance is not running

If none of the options work, either the username or password specified for authentication is wrong.

I hope this helps!

Felipe

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events