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

Could not load bootstrap from environment. Premature end of file.

Виталий Фомин March 18, 2021

Hello

Confluence version 7.4.6

auto reboot server confluence doesnt start

 

 

Descriptions: Could not load bootstrap from environment
Time: 2021-03-19 15:35:02

Level: fatal

Exception: 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.

log files from server:

https://drive.google.com/file/d/1dtAzfMhZJIGpls6vgvVQkxV1xL4b1nx_/view?usp=sharing

2 answers

0 votes
Daniel Ebers
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.
April 4, 2021

Hi @Виталий Фомин

I am not following by your last reply. Have you checked confluence.cfg.xml and it did not help, is this correct?

Please also review the basics of the server, for example if there is sufficient disk space available and permissions set right according to installation guide.

Is the error still coming up when you try to start Confluence? If so, is it the same error or do you meanwhile get another error message?

Please provide as many details as possible. Somebody from Community is then more likely being able to help.

Regards,
Daniel

0 votes
Pavel Junek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 19, 2021

Hi @Виталий Фомин,

Welcome to Atlassian community!

You can try see this thread. There may be a problem with the file confluence.cfg.xml

Pavel

Виталий Фомин March 21, 2021

It is How to Generate a New confluence.cfg.xml good instraction but need to add to configuration strings:

<property name="hibernate.connection.password">db_password</property>
<property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/confluencedatabasename</property>
<property name="hibernate.connection.username">yourDBuser</property>

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events