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.
@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?
This is generated after my server is powered off and restarted.confluence.cfg.xml file becomes blank
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.
It looks like you're new here. Sign in or register to get started.