Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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

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
AUG Leaders

Atlassian Community Events