The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

After upgrade from 5.0.1 to 7.17.0 The database, as currently configured, is not accessible.

Tim Tvrdik
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 18, 2021

After successfully running the installer to upgrade from 5.0.1 to 7.17.0 we see the following message after starting up Bitbucket:

 

A fatal error has occurred

The following problem occurred, which prevents Atlassian Bitbucket from starting:

  • The database, as currently configured, is not accessible.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 18, 2021

I'm afraid that really does mean what it says - the connection you have configured for the database points to a database that it can't get into.

Check the bitbucket config file (bitbucket.properties under <bitbucket home>/shared) contains the right host, user, password and so-on, and that the connection settings can be used to connect something else to it (like a command line tool)

Tim Tvrdik
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 19, 2021

I was able to figure out the database connection issue.

The problem is in version 5.0.1 the jdbc driver was to be put in the <install directory>/lib.

In version 7.17.0 the jdbc driver needed to go into the <bitbucket home>/lib.

Once I copied the jdbc driver to the correct directory, The problem was solved.

DEPLOYMENT TYPE
SERVER
VERSION
7.17.0
TAGS
AUG Leaders

Atlassian Community Events