Forums

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

Confluence had problems starting up

liu mengtao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 26, 2023

BootstrapException: Unable to bootstrap application: Failed to parse config file: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.

2 answers

0 votes
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.
February 27, 2023

So the question becomes why you are deleting or emptying out your confluence.cfg.xml file when restarting the server?

Confluence doesn't do that, it has no functions that destroy the configuration files.

The only thing I can think of that might do this is if you ran an upgrade on your Confluence, and crashed out of it partway through the upgrade, or did it with the wrong user.

0 votes
Brant Schroeder
Community Champion
February 26, 2023

@liu mengtao Welcome to the Atlassian community

Is that all you are seeing in the Confluence logs?  Can you share more information?  When did the issue start?  Is this the first time you installed it or did you upgrade?

liu mengtao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 26, 2023

This is generated after my server is powered off and restarted.confluence.cfg.xml file becomes blank

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events