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

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

Torsten Kleiber September 21, 2017

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

0 votes
Torsten Kleiber September 21, 2017

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.

Nitesh Singhal November 3, 2017

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

satish d December 11, 2017

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 Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events