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 votes

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
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

483 views 3 18
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