Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,268,505
Community Members
 
Community Events
164
Community Groups

How to change user account for Windows Bitbucket service

We tried to change the account we are running our Bitbucket Windows service on, but loose all repositories available when we restart.  Yikes!  

So how do we change the user account to run on a dedicated local account?

3 answers

The repos themselves should be in  $BITBUCKET_DATA/shared/data/repositories

You might see interesting things in $BITBUCKET_DATA/log/atlassian-bitbucket.log as well as $BITBUCKET_HOME/logs/catalina.out.  Both are worth taking a look at.

Did you adjust the ACLs on the $BITBUCKET_DATA directory to make sure your new user has read and write permission to that directory (and everything under it)?

0 votes
rsperafico Atlassian Team Jan 25, 2017

Hello Bob,

So how do we change the user account to run on a dedicated local account?

Right click on the Bitbucket Windows server and under the Log On tab, change the user.

Please make sure the Bitbucket Home directory is not pointing to a user account but to a common location in the filesystem. Refer to https://confluence.atlassian.com/display/BitbucketServerKB/Change+BITBUCKET_HOME+when+installed+as+a+Windows+service for further information.

Kind regards,

Rafael

This is exactly what we did in the first place.  We loose all repositories when I point to a new user through the 'Log on' tab in the services.  Did verify our Bitbucket home was correct, and both user accounts old/new could see it, but that was all fine.

Bob

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

1,478 views 1 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