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

0 votes
Accepted answer

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 Sign up to answer
Community showcase
Published Tuesday in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

186 views 3 6
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