stash upgrade from 2.10.1 to 2.12.1 failed; database scheme could not be updated

Hello,

I wanted to upgrade my stash version from 2.10.1 to 2.12.1 but it was not possible. I did it like I always do (successfully) since version 2.7 and as decribed in the upgrade notes from Atlassian. I backed up my database and my data folder and then use a fresh copy of the application (atlassian-stash-2.12.1). I changed the data path & provided a mysql JDBC Connector (mysql-connector-java-5.1.26-bin.jar). When i try to start the stash service I only get an error screen (see screenshot) with the message that the database scheme could not be updated. Now i searched at the logs what happend and I get a lot of severe errors. Too much to insert them in this question but most of them tell that the web application created threads which causes memory leaks. (for different reasons). When I delete all files and do a rollback it works fine again. I also tested to install stash 2.12.1 without any backup files (completly new) and it also works, so I am able to exclude the possiblities that my database version is not supported or that my JDBC Connector isn't working.

I also use Confluence 5.4.3 and JIRA 6.2 which I connected via Application links to stash.

If more information is needed to help please ask.

I would appreciate help. Thanks in advance

3 answers

1 accepted

This answer could be solved with the atlassian support. (It was necessary to perform an upgrade from 2.10.1 to 2.11.6 and then from 2.11.6 to 2.12.1)

0 vote

Hi Frank,

Can you open a support request on https://support.atlassian.comand upload your atlassian-stash.log file that was contains the error logging?

Cheers,

Michael

Okay I will do that.

This answer could be solved with the atlassian support. (It was necessary to perform an upgrade from 2.10.1 to 2.11.6 and then from 2.11.6 to 2.12.1)

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

22,890 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