Confluence unable to start after upgrade
Asked by Vishal:

I have upgraded confluence from 5.8.4 to 6.11.1 \& after the upgrade ./startup.sh was showing tomcat started successfully. But upon trying to access confluence getting error as below :

**Tomcat Started :**

If you encounter issues starting up Confluence, please see the Installation guide at <http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide>

Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out  
---------------------------------------------------------------------------  
Using Java: /opt/atlassian/confluence/jre//bin/java  
2019-07-25 15:09:11,994 INFO \[main\] \[atlassian.confluence.bootstrap.SynchronyProxyWatchdog\] A Context element for ${confluence.context.path}/synchrony-proxy is found in /opt/atlassian/confluence/conf/server.xml. No further action is required  
---------------------------------------------------------------------------  
Using CATALINA_BASE: /opt/atlassian/confluence  
Using CATALINA_HOME: /opt/atlassian/confluence  
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp  
Using JRE_HOME: /opt/atlassian/confluence/jre/  
Using CLASSPATH: /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar  
Using CATALINA_PID: /opt/atlassian/confluence/work/catalina.pid  
Tomcat started.

**Browser Access Error :**

Confluence had problems starting up {#toc-hId--1413423852}
----------------------------------------------------------

This page is for Confluence administrators. If you're seeing this page, your Confluence administrator is probably working to restore the service.

DescriptionTimeLevelException

|-------------------------------------------|---------------------|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Could not load bootstrap from environment | 2019-07-25 15:09:19 | fatal | BootstrapException: Unable to bootstrap application: The database driver (oracle.jdbc.OracleDriver) was not found in the class path.\<br/\>This Confluence installation cannot be upgraded automatically. Please see Confluence documentation:\<br/\><https://confluence.atlassian.com/display/DOC/Database+Configuration> |

Anyone has encountered this kind of error before ?


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: According to the error, it says that the database driver can't be found (ie: you need to install the Oracle driver.) Have a look at the [doc](https://confluence.atlassian.com/doc/database-setup-for-oracle-173821.html) and there is a link to the driver download.

comments: author: Vishal
body: Hi Dave,

I am new to using confluence so need some clarification. As this is upgrade just copying jdbc drivers will work ? And does it have any version dependancy ?


author: Dave Theodore [Coyote Creek Consulting]
body: Most likely that will do the trick. I linked you to the Atlassian doc above on what to do. In order to confirm which versions of things are supported, check out the Supported Platform page for the tool and version in question ([page for 6.11](https://confluence.atlassian.com/conf611/supported-platforms-956138710.html).) While you're there, I would recommend verifying that you are using supported Java and Oracle database versions as well. Things may work if you are not running a supported platform, but you may encounter odd issues.

Pro-tip on how to find the correct Supported Platforms page: Use Google and search as follows "confluence \<major.minor version\> supported platforms" Now you can select from the dropdown and choose the appropriate version, but that method works well for all of the Atlassian documentation. By including the version in your search, you can find the details about your version, which may be different to other versions.

Good luck!


author: Vishal
body: Hey Dave,

Thanks for the help, it did resolve the issue \& I was able to start confluence successfully by just downloading \& copying jdbc drivers.


author: MANISHA KAUSHIK
body: Hello [@Vishal](/t5/user/viewprofilepage/user-id/3505998) , [@Dave Theodore \[Coyote Creek Consulting\]](/t5/user/viewprofilepage/user-id/853538) ,

Could you please help me out with how you did it. I am facing the same error when I have upgraded my Confluence from 6.6.8 version to 7.4.0 version.

I am getting the same fatal error. Also, please let me know if there is anything in Oracle versions which is related to or is dependent on the Confluence Enterprise versions.

Kindly help me out as I am getting System error and I am not able to open my Confluence.


author: Vishal
body: [@MANISHA KAUSHIK](/t5/user/viewprofilepage/user-id/2111358) I had downloaded new ojdbc8.jar driver from the below link \& replace the file with existing. After that I tried to restart the confluence \& it did work for me.

<https://confluence.atlassian.com/doc/database-setup-for-oracle-173821.html?_ga=2.247808327.1360391706.1589902250-711725157.1585215646>


author: MANISHA KAUSHIK
body: Hello [@Vishal](/t5/user/viewprofilepage/user-id/3505998) , [@Dave Theodore \[Coyote Creek Consulting\]](/t5/user/viewprofilepage/user-id/853538) ,

I did all the required changes to my database and have changed the driver as well that was needed. But now I am facing the below error.

![ErrorLogin.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/95584iC291C7FDBA36CB2A/image-size/large?v=v2&px=999 "ErrorLogin.PNG")

Could you please help me with this, as what needs to be done next, as I am not able to trace the bug, as why is this error message coming!!

Best Regards,

Manisha


author: Dave Theodore [Coyote Creek Consulting]
body: Check the atlassian-confluence.log after your login attempt. It will tell you what the problem is.


author: Vishal
body: [@MANISHA KAUSHIK](/t5/user/viewprofilepage/user-id/2111358) Paste error from your logs where it starts **Caused by:**\& then only we may be able to answer.


author: MANISHA KAUSHIK
body: Hello [@Vishal](/t5/user/viewprofilepage/user-id/3505998) ,

I just recognized one issue. I did the RCA and found there is an issue with SSL Authentication with LDAP Server which is causing Login error.

Hope this needs to be solved by my team itself. I will reach out to you in case of other help.

Best Regards,

Manisha