target database contains tables whose names collide, 2.x to 3.2.4 upgrade

so i upgraded, ran the setenv.bat, and it keeps giving me the database error. when i start stash, i get the stash setup database page, and keeps giving me the target database contains tables whose names collide with stash's tables. Connecting to SqlServer, nothing has changed, home directory is correct. very confused as i followed the upgrade guide, now i need urgent help.

1 answer

0 vote

Hi Michael,

From the upgrade guide all you need to do is to point the newly downloaded Stash binary to your previous $STASH_HOME in the setenv.bat. From there, Stash will detect that the $STASH_HOME you pointed your newly downloaded binary is of a previous version and it will perform the upgrade for you.

The fact that you are seeing the wizard screen tells me that you are pointing to an empty $STASH_HOME and not to your previous version one. That said, could you please double check you are pointing to the "old" $STASH_HOME?

you can also try to follow the most recent Upgrade guide. This way you will use the installer - which doesn't require any manual intervention. That could be another alternative for you to get around this.

Best regards,

Thiago Bomfim

Atlassian Support

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

1,945 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