Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence startup confluence failed

Alexey Zhukov July 3, 2019

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

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2019

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.

Alexey Zhukov July 3, 2019

cd - OK!

cat - OK!

touch - not error - OK!

 

id:

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

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

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2019

Are you running the installer as "confluence"?

Alexey Zhukov July 3, 2019

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

Alexey Zhukov July 3, 2019

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

2 votes
Mirko Schäfer (Seibert Solutions)
Contributor
March 25, 2022

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>

https://confluence.atlassian.com/confkb/how-to-set-file-system-permissions-for-confluence-986879252.html 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events