The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

bitbucket home directory change while upgrading

richa gautam
May 2, 2016
I need to move the home _directory of Bitbucket. We are using stash 3.11.2 now and upgrade to Bitbucket 4.5 .. but while upgrading we need to move our Bitbucket home_directory. Can we use a symbolic link at the existing location to point to new location or is there a better alternative ? We don't want to lose anything or mess up the configuration while doing so. Please let me know your suggestions 
thank you for your help in advance

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Deleted user
May 2, 2016

We don't move our HOME directory but we use symbolic links for the ROOT directory so that switching versions (like upgrading/downgrading) is just a matter of updating the symbolic links. So I guess it should work. Try it in your test environment.

richa gautam
May 4, 2016

WE have no test environment. What we are planning to do is take  backup to a new location s and delete the existing home_directory, then install the upgraded version of bitbucket and use the symbolic link to the new location we stored our home_directory earlier as a back up. Will that work ?? 

0 votes
Steven Whitman
Contributor
May 4, 2016

We changed the home directory for atlbitbucket from it's default location to /home/stash using usermod.  This seems to be working fine on our test environment.

richa gautam
May 4, 2016

We are using stash 3.11.2 and need to upgrade to 4.4/4.5 .. So in that process we need to change the home directory location? And can you please detail how you did it using usermod? Thanks

TAGS
AUG Leaders

Atlassian Community Events