Error "The installer was unable to detect whether Bitbucket started correctly"

I have installed latest version of bitbucket as root on SLES 11.4 as described in the documentation. The installation finishes, but cannot start bitbucket with the mentioned error message

# sudo ./atlassian-bitbucket-5.4.0-x64.bin
Starting Installer ...
Bitbucket 5.4.0 installation wizard
Would you like to install or upgrade an instance?
Install a new instance [1, Enter], Upgrade an existing instance [2]
1
Install Bitbucket 5.4.0
What type of instance are you looking to install?
Install a Server instance [1, Enter], Install a Data Center instance [2], Install a Smart Mirroring instance [3]
1
Where should Bitbucket be installed?

[/opt/atlassian/bitbucket/5.4.0]
/data/atlassian/bitbucket/5.4.0
Default location for Bitbucket home directory

The location for Bitbucket data.
This will be the default location for repositories, plugins, and other data.

Ensure that this location is not used by another Bitbucket installation.
[/var/atlassian/application-data/bitbucket]
/data/atlassian/application-data/bitbucket
Configure which ports Bitbucket will use.


Bitbucket requires a TCP port that isn't being used by other applications.

The HTTP port is where users access Bitbucket through their browsers.

Bitbucket also requires ports 7992 and 7993 are available to run an embedded
Elasticsearch instance that provides search functionality to Bitbucket.
HTTP Port Number
[7990]




For a production server we recommend that you run Bitbucket as a
Windows/Linux service because Bitbucket will restart automatically when the
computer restarts.
Install Bitbucket as a service?
Yes [y, Enter], No [n]

It looks like a Bitbucket service is already installed in the target environment.
The installation will replace any existing services. Do you want to continue?
Yes [y, Enter], No [n]

Please review your Bitbucket installation settings


Installation Directory: /data/atlassian/bitbucket/5.4.0
Home Directory: /data/atlassian/application-data/bitbucket
HTTP Port: 7990
Install as a service: Yes

Install [i, Enter], Exit [e]


Extracting files ...

Installation of Bitbucket is complete
Would you like to launch Bitbucket?
Yes [y, Enter], No [n]


Please wait a few moments while Bitbucket starts up.
Launching Bitbucket ...
Installation of Bitbucket 5.4.0 is complete
The installer was unable to detect whether Bitbucket started correctly
Please consult the '
/data/atlassian/application-data/bitbucket/log/atlassian-bitbucket.log' file
to verify that Bitbucket started successfully
Bitbucket 5.4.0 can be accessed at http://localhost:7990
Launch Bitbucket 5.4.0 in browser?
Yes [y, Enter], No [n]
n
Finishing installation ...

 

1 answer

I believe the problem is, that all directories and files created with owner root and group root, but the service user atlbitbucket is created not with group root and therefore has now write access.

Hi,

I am also getting the same error on RHEL7. May you please advice what fix you applied for its solution?

 

Thanks,

Nitesh

niteshsinghal88@hotmail.com

I am also facing the same problem.Anyone as the answer for it ??

 

 

# sudo ./atlassian-bitbucket-5.4.0-x64.bin
Starting Installer ...
Bitbucket 5.4.0 installation wizard
Would you like to install or upgrade an instance?
Install a new instance [1, Enter], Upgrade an existing instance [2]
1
Install Bitbucket 5.4.0
What type of instance are you looking to install?
Install a Server instance [1, Enter], Install a Data Center instance [2], Install a Smart Mirroring instance [3]
1
Where should Bitbucket be installed?

[/opt/atlassian/bitbucket/5.4.0]
/data/atlassian/bitbucket/5.4.0
Default location for Bitbucket home directory

The location for Bitbucket data.
This will be the default location for repositories, plugins, and other data.

Ensure that this location is not used by another Bitbucket installation.
[/var/atlassian/application-data/bitbucket]
/data/atlassian/application-data/bitbucket
Configure which ports Bitbucket will use.


Bitbucket requires a TCP port that isn't being used by other applications.

The HTTP port is where users access Bitbucket through their browsers.

Bitbucket also requires ports 7992 and 7993 are available to run an embedded
Elasticsearch instance that provides search functionality to Bitbucket.
HTTP Port Number
[7990]




For a production server we recommend that you run Bitbucket as a
Windows/Linux service because Bitbucket will restart automatically when the
computer restarts.
Install Bitbucket as a service?
Yes [y, Enter], No [n]

It looks like a Bitbucket service is already installed in the target environment.
The installation will replace any existing services. Do you want to continue?
Yes [y, Enter], No [n]

Please review your Bitbucket installation settings


Installation Directory: /data/atlassian/bitbucket/5.4.0
Home Directory: /data/atlassian/application-data/bitbucket
HTTP Port: 7990
Install as a service: Yes

Install [i, Enter], Exit [e]


Extracting files ...

Installation of Bitbucket is complete
Would you like to launch Bitbucket?
Yes [y, Enter], No [n]


Please wait a few moments while Bitbucket starts up.
Launching Bitbucket ...
Installation of Bitbucket 5.4.0 is complete
The installer was unable to detect whether Bitbucket started correctly
Please consult the '
/data/atlassian/application-data/bitbucket/log/atlassian-bitbucket.log' file
to verify that Bitbucket started successfully
Bitbucket 5.4.0 can be accessed at http://localhost:7990
Launch Bitbucket 5.4.0 in browser?
Yes [y, Enter], No [n]
n
Finishing installation ...

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

656 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot