Error when connect MySQL database to Confluence

quoc February 18, 2019

Hi, 

I'm trying to connect confluence with my own database but I got this error.
Confluence 6.14.1
JDBC: mysql-connector-java-5.1.47
Mysql 5.7.25 (It's already connected successfully with jira server)

 

A system error has occurred - our apologies!

For immediate troubleshooting, consult our knowledge base for a solution.

If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:

a description of your problem and what you were doing at the time it occurred
a copy of the error and system information found below
a copy of the application logs (if possible).
Your Confluence administrator can use the support request form to create a support ticket which will include this information.

We will respond as promptly as possible.
Thank you!

Return to site homepage…

The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report. 
The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set
Cause
com.atlassian.config.ConfigurationException: Invalid bean definition with name 'tenantedLuceneConnection' defined in class path resource [indexingSubsystemContext.xml]: Could not resolve placeholder 'lucene.index.dir' in value "${lucene.index.dir}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'lucene.index.dir' in value "${lucene.index.dir}"
at com.atlassian.confluence.setup.actions.AbstractSetupAction.transitionFromColdToVacantState(AbstractSetupAction.java:162)
.....

Please help me, thanks you 

1 answer

1 accepted

1 vote
Answer accepted
quoc February 18, 2019

:))

Fixed by add this line 

<property name="lucene.index.dir">${confluenceHome}/index</property>

to <home_dir>/confluence.cfg.xml 

Grigory Salnikov
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 18, 2019

If only all the questions were solved by their authors :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events