Confluence fails to start: IllegalStateException: Failed to create shared home directory

This is the error message I'm getting when attempting to go to confluence after restarting it:

You cannot access Confluence at present. Look at the table below to identify the reasons.

Type: Bootstrap

Description: Could not load bootstrap from environment No server id found.

Exception: IllegalStateException: Failed to create shared home directory in /var/atlassian2/application-data/confluence2/shared-home

Level: fatal


This page will automatically update every 60 seconds.

What does this mean? I'm getting nothing on google for this error, please help!

2 answers

1 accepted

It was due to invalid permissions on Confluence's home directory. I couldnt figure out which user confluence was using, so I just chmodded to 777 and it booted successfully.

Confluence is running in JVM so you need to look for java process to see what is the user running it. For example in RH linux following ps command should be able to show it:

ps aux|grep java|grep confluence

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 Friday 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...

292 views 11 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