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

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

858 views 8 13
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