Forums

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

Confluence can`t start

David_Canalejo May 16, 2020

When I try to log into my Confluence account, it gets me the following error: "Confluence had problems starting up".

Captura.PNG

1 answer

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.
May 16, 2020

What does the application log say the underlying error is?  <confluence home directory>/log/atlassian-confluence.log is the file to look in

David_Canalejo May 16, 2020

The log file that you are asking for does not appear in confluence/log. The most similar name that we found is the file "confluence131119114958-stdout.2020-05-13.log".

This answer format does not allow me to attach the log file. Can you give another way to contact you so that I can attach the log file, please?

These are the first lines of the file (there are thousand of lines in the log file so that I decided not to paste it all):


2020-05-13 12:33:30 Commons Daemon procrun stdout initialized
2020-05-13 12:33:35,308 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 7.1.0 [build 8301 based on commit hash 8fa50d05398fea29bc3b44b63cde07d279fbe836] - synchrony version 3.1.0-master-0f086db5
2020-05-13 12:33:41,338 ERROR [Catalina-utility-1] [atlassian.confluence.setup.ConfluenceConfigurationListener] contextInitialized An error was encountered while bootstrapping Confluence (see below):
Cannot connect to h2db
java.lang.RuntimeException: Cannot connect to h2db
at com.atlassian.h2.DatabaseCreatingServerLifecycle.start(DatabaseCreatingServerLifecycle.java:57)
at com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateConfig.getHibernateProperties(ConfluenceHibernateConfig.java:51)
at com.atlassian.confluence.setup.DefaultBootstrapManager.getHibernateProperties(DefaultBootstrapManager.java:634)
at com.atlassian.confluence.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:318)
at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:81)
at com.atlassian.confluence.setup.DefaultBootstrapManager.init(DefaultBootstrapManager.java:188)
at com.atlassian.config.util.BootstrapUtils.init(BootstrapUtils.java:36)
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.initialiseBootstrapContext(ConfluenceConfigurationListener.java:133)
at com.atlassian.confluence.setup.ConfluenceConfigurationListener.contextInitialized(ConfluenceConfigurationListener.java:64)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5143)

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.
May 16, 2020

>Cannot connect to h2db

is what I'd worry about - my guess is that the underlying h2 database is unreachable, which happens when you're trying to reconfigure Confluence to use another database, or when the h2 database fails.  If it has failed, it's likely to be corrupt and probably un-repairable.

I would look for the standard backup exports in <confluence data>/export, take the latest one, create a new installation of Confluence and import from the backup

David_Canalejo May 17, 2020

Is there a way to check if the h2db has failed? Can you give us a guide of how to do it?

In the case that it has failed, we'd like to repair it. We have been searching for related issues in the Altassian Community and saw that sometimes it is possible to repair the h2db. Can you indicate us how to proceed, step by step?

Thank you in advance

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.
May 17, 2020

There may be other errors in the logs that say "unable to read" about the database, but the way to check proprely is to get into it with a command line.  http://www.h2database.com/html/tutorial.html is a primer for that.  You'll probably need that if it is fixable too.

David_Canalejo May 18, 2020

Good morning,

 

We have reinstalled Confluence, but we are still getting the same error. In order to import from the backup, it is necessary that the application is ok.

 

Can you give us a step-by-step installation guide for Windows?

Thank you in advance and best regards. 

David_Canalejo May 18, 2020

Hi,

We have already reinstalled Confluence and now we get another error:

 

 

 

Can you tell us how to proceed and give us a guide?

 

Thank you in advanceCaptura.PNG

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events