Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket setup restarts after creating tables

Christodoulos Mouskos March 20, 2019

After setting up external database (mysql) the setup wizard restarts.

I can see that the tables are created.

In the logs I see some expections

com.atlassian.stash.internal.migration.DatabaseMigrationException: Backup of Active Objects data from /var/atlassian/application-data/bitbucket/tmp/backup-anonymous-20190320-123746-447Z.zip-unpacked7388014936486468009/active-objects-data
.xml could not be restored.
Caused by: java.lang.RuntimeException: Could not read fields for table AO_187CCC_SIDEBAR_LINK
Caused by: java.sql.SQLSyntaxErrorException: Table 'bitbucket.AO_187CCC_SIDEBAR_LINK' doesn't exist

1 answer

1 accepted

0 votes
Answer accepted
Christodoulos Mouskos March 20, 2019

Issue was with the MySQL driver (8.0.15)

We confused with the supported MySQL server version found under

https://confluence.atlassian.com/bitbucketserver/supported-platforms-776640981.html

Although in the 

https://confluence.atlassian.com/bitbucketserver/connecting-bitbucket-server-to-mysql-776640382.html

it has "Bitbucket Server only supports MySQL JDBC version 5.1."

Installing 5.1.47 resolved this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events