Unable to upgrade Bitbucket: DB Setup required

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

Unable to upgrade Bitbucket Server properly. Upgrade takes you to the database setup page.

Diagnosis

Diagnostic Steps

  • Ensure the user running Bitbucket has access to the bitbucket.properties file and the <Bitbucket Home> directory as a whole.

Cause

The user running Bitbucket is unable to access the bitbucket.properties file.

Resolution

Run the following command to give the user access to the directory.

sudo chown -R <Bitbucket user> <Path to Bitbucket Home>

 

Last modified on Sep 13, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.