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

1 vote
Accepted answer

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 votes

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
Community showcase
Published Nov 06, 2018 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 ...

417 views 5 9
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