Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

485 views 5 4
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