Installation permissions

Fresh installation on RHEL 6.7 produces this error.

 

# /home/atlbitbucket/atlassian-bitbucket-4.8.1-x64.bin

Starting Installer ...

 

This will install Bitbucket 4.8.1 on your computer.

OK [o, Enter], Cancel [c]

o

Please choose one of the following:

Install a new instance [1, Enter], Upgrade an existing instance [2]

1

Install a new Bitbucket, Data Center or mirror instance.

Upgrade an existing Bitbucket, Data Center or mirror instance.

Install Bitbucket 4.8.1

Please choose one of the following:

Install a standard instance [1, Enter], Install a Data Center instance [2], Install a mirror instance [3]

1

Where should Bitbucket be installed?

 

[/opt/atlassian/bitbucket/4.8.1]

 

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]

 

Configure which ports Bitbucket will use.

 

 

Bitbucket requires two TCP ports that aren't being used by other

applications.

 

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

control port is used to start and stop Bitbucket.

 

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]

 

Control Port Number

[8006]

 

 

 

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]

y

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]

y

Please review your Bitbucket installation settings

 

 

Installation Directory: /opt/atlassian/bitbucket/4.8.1

Home Directory: /var/atlassian/application-data/bitbucket

HTTP Port: 7990

Control Port: 8006

Install as a service: Yes

 

Install [i, Enter], Exit [e]

i

 

Extracting files ...

                                                                           

Installation of Bitbucket is complete

Would you like to launch Bitbucket?

Yes [y, Enter], No [n]

y

 

Please wait a few moments while Bitbucket starts up.

Launching Bitbucket ...

Installation of Bitbucket 4.8.1 is complete

 

 

 

 

# /etc/init.d/atlbitbucket start

To run Bitbucket in the foreground, start the server with start-bitbucket.sh -fg

Starting Atlassian Bitbucket as dedicated user atlbitbucket

 

-bash: line 0: cd: /opt/atlassian/bitbucket/4.8.1/bin: Permission denied

-bash: ./startup.sh: No such file or directory

 

There was a problem starting Bitbucket

 

#service atlbitbucket start

To run Bitbucket in the foreground, start the server with start-bitbucket.sh -fg

Starting Atlassian Bitbucket as dedicated user atlbitbucket

 

-bash: line 0: cd: /opt/atlassian/bitbucket/4.8.1/bin: Permission denied

-bash: ./startup.sh: No such file or directory

 

There was a problem starting Bitbucket

 

 

1 answer

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...

683 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