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
Community Members
Community Events
Community Groups

Bitbucket upgrade does not migrate the context path from server.xml to

I upgraded from bitbucket 4.4.14. to version 5  ( then to version 6 ) . During the version 4.x to 5.x upgrade - the new bitbucket looks for context path in <bitbucket_home>/shared/ . The earlier version had the context path set-up in <bitbucket-install>/conf/server.xml 

I did a install and spend many hour debugging problem owing to missing context . 

Why doesn't the 5.x installer set the correct context path in It may prompt user asking for context path .

Is this behaviour documented some place ?

Is this a bug ?


1 comment

Hi Yogesh,

As stated at


Upgrading from any version earlier than Bitbucket Server 4.14 or earlier to Bitbucket Server 5.x or later requires that you manually migrate any changes to the server.xml file to the file.

So what you found is the expected behaviour.


Premier Support Engineer



Log in or Sign up to comment
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...

2,119 views 2 9
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