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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Bitbucket installed as root

I have a Bitbucket 5.x installation on RHEL7 that was installed by root, and so the process is running as root.  Because of this, elasticsearch will not run.  I tried changing ownership of both the Bitbucket installation and data directories and then restarting the process with the new account by putting the new account name in 'set-bitbucket-user.sh', but that did not work.  What is the correct way to change the Bitbucket ownership from root to another user?

1 answer

0 votes
Alexis Robert Community Leader Nov 08, 2019

Hi @Laura H , 

 

did you create a Bitbucket user too ? You would have to :

  1. create a user with "adduser bitbucket"
  2. change the directory ownership with "chown -R bitbucket:bitbucket bitbucket_home"
  3. modify the bitbucket-user.sh script with the user you create in step 1

This should be anough, let me know if it works

 

--Alexis

Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,926 views 0 7
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