JIRA Fails to Start After SQL db Connection

I initially installed JIRA using the internal db for evaluation. We have started using the product and purchased a 10 user licence, with plans to expand shortly. Once I added my licence to JIRA, it gave me a warning that I should migrate to an external db. 

I am following the guide here;

https://confluence.atlassian.com/adminjiraserver071/switching-databases-802592192.html

Specifically; Migrating JIRA's data to a different type of database server.

I created my back up, shutdown, removed the dbconfig, restarted, walked through the connection wizard, and established my connection.  

But then JIRA just errors out.

I can see that the tables were created in the db. But JIRA does not start.

If I replace the new dbconfig with the old, it restarts just fine.

But I am not sure how to trouble shoot the SQL issue.

See the error log; https://pastebin.com/raw/qzgFcSqu

 

1 answer

1 accepted

This widget could not be displayed.

Hi,

Check database user has all necessary permissions and also do some checks if database is set up correctly as per the recommendations from Atlassian. Ex for MySql DB it is given here .. https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-mysql-938846854.html

After verifying Database is set up correctly, make sure jira is down, delete the lock file and then start again.

We had an incorrect collation, thank you for your help.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,490 views 10 12
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