Atlassian Stash Upgrade

Hi Team,

We are using Atlassian stash to manage our Git repositories and we were using 2.6.0 version of stash. Now that we have upgraded stash version from 2.6.0 to 2.6.2 we encountered data loss in all the repositories.

By mistake, we have used same directories as Stash installation and stash Home which might be one of the reason for data loss. I now have a backup of stash 2.6.0 on the server. If I uninstall new version of stash (2.6.2) and do the installation again by providing different directories for stash Home and installation, will it work?

Else, if I copy repository directories from backup of 2.6.0 STASH_HOME/data/repositories to the existing path (/opt/atlassian/stash/atlassian-stash-2.6.2/data/repositories) , will it work?

Please let me know.

2 answers

0 votes

Hi Bhargavi,

I suggest you open a support request at https://support.atlassian.comand a support zip (Administration > Support tools > Support Zip). This will allow our support engineers to go through your logs and see whether any issues occurred during upgrade. Please also describe in a bit more detail

  • what steps you performed in the upgrade
  • what you mean by 'data loss' in all the repositories. Are the repositiories gone, or are they still there but displayed as empty?



Thanks for the reply Michael.

I just created SSP-4752 for the issue and attached the support log as well.

Answers for your question are here:

1)We have the zip file of stash version 2.6.2 and did the installation.

2)POst upgrade, we are left with repositories which are empty with no data code inside them.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

660 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot