Confluence Not Starting, It's showing "The Confluence context path is empty" error
Asked by Sagar Patil:

Hi team,

I've tried to run the most recent version of Confluence on my device, but I was unable to do so because of the following issue. Check the attached for more information.

Note :- I've use https proxy setup

Confluence :- 8.0.2

Error:- 2023-01-17 17:46:36,235 INFO \[main\] \[atlassian.confluence.bootstrap.SynchronyProxyWatchdog\] The Confluence context path is empty. No further action is required.  

Screen-shot -

<https://sagarpatil-perennialsys.tinytake.com/msc/Nzc4ODAwN18yMDgzNDYyMA>


Answers:
author: Mahesh Shinde
body: Hi [@Sagar Patil](/t5/user/viewprofilepage/user-id/5123379) :

Could you please share the proxy configuration file, server.xml from Confluence and the application logs to analyze your issue?

Regards,

Mahesh Shinde

comments: author: Sagar Patil
body: Hii [@Mahesh Shinde](/t5/user/viewprofilepage/user-id/2230848)

Thanks for response, please check attach image of my connector.

<https://sagarpatil-perennialsys.tinytake.com/msc/Nzc5MjIxOV8yMDg0MDU4Ng>

Regards,

Sagar Patil


author: Mahesh Shinde
body: Hi [@Sagar Patil](/t5/user/viewprofilepage/user-id/5123379)

Thanks for sharing the details.

I guess, your context path is not properly mention in server.xml file.

Please , refer this document: <https://confluence.atlassian.com/kb/set-a-context-path-for-atlassian-applications-836601189.html>

And I don't see **proxyName** and **proxyPort**in connector configuration.

Could you please update the same and refer this article: <https://confluence.atlassian.com/doc/using-apache-with-mod_proxy-173669.html>

Let me know if you able to solve this issue.

Regards,

Mahesh Shinde


author: Sagar Patil
body: Hello [@Mahesh Shinde](/t5/user/viewprofilepage/user-id/2230848) ,

I've modified the server.xml file in accordance with the document above, but I'm still receiving the following issue:-

**2023-01-20 14:29:13,175 INFO \[main\] \[atlassian.confluence.bootstrap.SynchronyProxyWatchdog\] A Context element for ${confluence.context.path}/synchrony-proxy is found in D:\\confluence\\atlassian-confluence-8.0.2\\conf\\server.xml. No further action is required**

Thanks in advance.  
Regards,

Sagar Patil


author: Mahesh Shinde
body: Hi [@Sagar Patil](/t5/user/viewprofilepage/user-id/5123379) :

This is not error log, this is **INFO log,**Could you please share the whole log file?

Regards,

Mahesh Shinde


author: Sagar Patil
body: Hello [@Mahesh Shinde](/t5/user/viewprofilepage/user-id/2230848) ,

Please check below log file and let me know if any configuration is require from my end.  

Log file:-

<https://drive.google.com/file/d/1rZXkEt6N9VudG3rm0JpW9en7YOb0cpvK/view?usp=share_link>

Thnx in advance.

Regards,

Sagar Patil


author: Mahesh Shinde
body: Hi Sagar,

I want application log file "**confluence-application.log**" which is present in under \<confluence-local-home\>/logs directory.

This file is referring for synchrony logs.

Regards,

Mahesh Shinde


author: Sagar Patil
body: Hi [@Mahesh Shinde](/t5/user/viewprofilepage/user-id/2230848) ,

There is no log file generated in the "confluence-local-home" directory.

Please refer below video link:  
<https://screenrec.com/share/fwFSIC5lvU>

Regards,

Sagar Patil


author: Mahesh Shinde
body: Hi [@Sagar Patil](/t5/user/viewprofilepage/user-id/5123379) ;

As per your video, You are using windows machine to setup the confluence. You can't run startup scripts directly in windows.

Please download the confluence installer file from this site <https://www.atlassian.com/software/confluence/download-archives> which will provide you .exe file and then run it on windows machine- with admin account.

Refer this article: <https://confluence.atlassian.com/doc/installing-confluence-on-windows-255362047.html>

Regards,

Mahesh Shinde


author: Sagar Patil
body: [@Mahesh Shinde](/t5/user/viewprofilepage/user-id/2230848)   

I want to modified server.xml file and I think it is difficult to change server.xml file in installer version that's why I've downloaded standalone file.

Thanks \& Regards,

Sagar Patil


author: Sagar Patil
body: and I want to install Single Sign On plugins and this can happens only for https not for http.


author: Sagar Patil
body: Hello [@Mahesh Shinde](/t5/user/viewprofilepage/user-id/2230848) ,

I've successfully started confluence server by using <http://localhost:8090>, but now I want to access localhost by using https instance. Please refer below screen-shot

Screen-shot:-

<https://sagarpatil-perennialsys.tinytake.com/msc/NzgxMDU3N18yMDg2NjU1NA>

Server.xml :-  
<https://sagarpatil-perennialsys.tinytake.com/msc/NzgxMDYwMF8yMDg2NjU3Nw>

Error :-  
<https://sagarpatil-perennialsys.tinytake.com/msc/NzgxMDYwMl8yMDg2NjU3OQ>


author: Mahesh Shinde
body: Hi [@Sagar Patil](/t5/user/viewprofilepage/user-id/5123379) :

Great! you have successfully installed the confluence application.

Please, use below document to configure the proxy in windows machine.

Link: <https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-microsoft-internet-information-services-iis-833931378.html>

Regards,

Mahesh Shinde


author: Sagar Patil
body: Hii [@Mahesh Shinde](/t5/user/viewprofilepage/user-id/2230848)

Thanks for the valuable support, now I am able to access confluence 8.0.2 versing using https instance.  
However, I am now experiencing the following issue when configuring SSO plugins.

Video Link:-  
<https://screenrec.com/share/01oy2HMSY7>  

Screen-shot:-  
<https://sagarpatil-perennialsys.tinytake.com/msc/NzgxOTE3Nl8yMDg3ODI2NQ>

Thanks in advance.

Regards,

Sagar Patil


author: Mahesh Shinde
body: Hi [@Sagar Patil](/t5/user/viewprofilepage/user-id/5123379) :

If my answers would help you to resolve this issue then please accept my answer and vote for it.

For SSO configuration, if you are using Confluence Datacenter license then you will get out of box functionality for SSO configuration. Refer the below documentation:

Link: <https://confluence.atlassian.com/enterprise/saml-single-sign-on-for-atlassian-data-center-applications-857050705.html>

Regards,

Mahesh Shinde


Tags: confluence-server

migration-customer-care

server