Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Confluence startup confluence failed

Hello, I have a problem with startup Confluence.


My problem: 

Could not load bootstrap from environment. BootstrapException: Unable to bootstrap application: Couldn't save confluence.cfg.xml to /var/atlassian/application-data/confluence


But! I read the posts in the community. And I tried all the solutions and not a result... 


I am re-installed Confluence, I check privileges. Help me!


Dedicated user - Confluence.

drwxr-xr-x 14  confluence confluence 4.0K Jul  3 19:14 /opt/atlassian/confluence

drwx------ 20 confluence  confluence  4.0K Jul  3 19:40 /var/atlassian/application-data/confluence

2 answers

1 accepted

0 votes
Answer accepted

There's not a lot we can help you with here.  You need to look at the operating system to see why it cannot save the file to the disk.

Try logging in as the user that is set up to run Confluence, then

  • cd /var/atlassian/application-data/confluence
  • cat confluence.cfg.xml
  • touch confluence.cfg.xml

You will get an error message from at least one of those steps which will tell you what is wrong.

cd - OK!

cat - OK!

touch - not error - OK!



uid=1007(confluence)  gid=1007(confluence) groups=1007(confluence)

-rwx------ 1 confluence confluence  confluence.cfg.xml

Are you running the installer as "confluence"?

No, as root. need to use user "confluence"?

i re-installed Confluence as "confluence" user. Works! thnks

By the way, an alternative is to set the right file permissions:

sudo chown -R <confluence-user> <confluence-install-folder>
sudo chown -R <confluence-user> <confluence-home-folder>
sudo chmod -R u=rwx,g=rx,o=rx <confluence-install-folder>
sudo chmod -R u=rwx,g=rx,o=rx <confluence-home-folder> 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

773 views 5 21
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you