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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can someone give me a complete description of installing Bitbucket server from a .gz file?

There is nowhere that a "albitbucket" user is created to own everything, there is no clear way to know where JAVA_HOME should be. (I am on Redhat. The java executable is in /bin/java.) and I will probably run into a few more problems/questions.

1 answer

Thanks so much for your answer, Nic!

Yes, that is the exact page I am looking at and following, however, it does not provide any detail on how to set JAVA_HOME which is required for starting the instance. I did however figure this out by looking at our production instance (which was installed with and installer).

So that just leaves creating the user -- "altbitbucket" in the Installer version -- if that is even needed. For now, I am running as root. But when I browse to it, it just hangs forever, no error, no nothing

I am wondering if maybe I need to use different ports to distinguish from the production instance, which is on a different server.

Java installation is up to the OS really, not Bitbucket.

You can run Bitbucket as any user you want, although I'd very strongly recommend not using a privileged account (such as root).  adduser <username> should get you started, and I'd maybe try adding atlbitbucket (note the spelling - I don't know if you made a type there).  The important bit is that the user has to be named in the config file and all the files and directories in the installation and data directories should be owned by that user.

If you're stuck, have a look at the logs - if file ownerships etc are incorrect, they should be telling you they can't open them

Thanks Nic.

Yes I have resigned myself that all of this is manual. Kinda makes me shake my head when for the past 20 years I've been using ./configure and related scripts that figure out what platform you are on, what tools/versions you have installed and then setup your software accordingly. And that is for free software! Here I am paying for software and I get nothing?


Oh well, maybe I will write my own and post the results.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,741 views 10 16
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