Why did my repositories disappear after upgrade?

I just upgraded from 2.3.1 to 2.4.0 and now all the repositories are empty, according to the web interface.

$STASH_HOME/data/repositories still hold my two repositories...

I noticed during upgrade that the mysql driver placement was changed, as well as the location of stash-config.properties - (The driver placement was documented but wrongly)

Did the location of the repositories also change?

What gives?

2 answers

1 accepted

Ah, I only changed STASH_HOME in the /etc/init.d script - I forgot to change it in setenv.sh

I wonder why it's specified in the init.d script, when it clearly does not matter... Oh well... :)

My bad.

No worries. Glad it was an easy one. :)

Hi Ibmurai,

What changed about stash-config.properties? That should still be in the same place, as well as the repositories themselves. That sounds like you've specified a different $STASH_HOME directory

Is there anything revealing in your logs?



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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...

2,035 views 1 5
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