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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,410 views 26 12
Join discussion

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