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

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

Tim Tvrdik 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

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.17.0
TAGS
AUG Leaders

Atlassian Community Events