Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,101
Community Members
 
Community Events
165
Community Groups

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

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

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)

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
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,255 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you