Setup Database Failed

The following error(s) occurred:

  • configuring.db.failed
  • Couldn't lock file 'lock' in directory /var/atlassian/application-data/confluence Make sure the directory is not being used by another Confluence instance.

When setup database with mysql


Here is the log: 

1 answer

0 vote

Look at the first error in your log - it tells you exactly what you have missed when you set up the empty database.

I have fix it, the charset=utf8

i feel main question is this:

com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted [public abstract net.sf.hibernate.Session net.sf.hibernate.SessionFactory.openSession() throws net.sf.hibernate.HibernateException] is not allowed.

That's the sort of error that happens when you have encoding errors earlier on.

If you have fixed the encoding error, then your log should be cleaner - could you show us the ne wlog you get after having fixed the encoding?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

357 views 20 10
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