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?

Cheers,

Charles

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

627 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