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

This widget could not be displayed.

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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,205 views 8 11
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