Upgrade to 6.4.3, cannot login

We are running Confluence 5.10.8 with the database hosted on an external SQL 2014 server. After doing all the pre-upgrade checks I upgraded to 6.4.3. Confluence came up fine but I could not login as either my user or the Administrator user.

We are running 5.10.8 using https so we did import an SSL cert. During the upgrade process it mentioned that three files had changed

  • server.xml
  • setenv.bat - I think we specified the java path here
  • web.xml - I think we changed this so https uses 443 and not 8443

After the upgrade the login screen uses http not https

1 answer

0 votes
Ann Worley Atlassian Team Dec 18, 2017

Hello, based on your description of the issue, it sounds like we need to do two things, get the SSL working again and get users logged into Confluence. 

My theory is that you cannot log in because a remote user directory like Jira, Crowd or LDAP is being used to authenticate users. If the Confluence is configured in the remote directory at an https address which is now invalid, that would "break" authentication. 

 If you had SSL working fine before the upgrade, you may just need to copy the connector directive from your old server.xml to the new one, and restart Confluence. The connector you would copy over should look something like:

<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLSv1.2" sslEnabledProtocols="TLSv1.2" SSLEnabled="true"
URIEncoding="UTF-8" keystorePass="<MY_CERTIFICATE_PASSWORD>"/>

If you find that ^ uncommented in the old server.xml it indicates that you were terminating SSL at Confluence's Tomcat web server.

If you still cannot log in after getting SSL/https working, or would like to log in first and then work with SSL, you may use the SQL queries in this article to gain access to Confluence:

Restore Passwords To Recover Admin User Rights

After you are able to log in, you may reconfigure any remote user directories at Confluence Admin>User Directories.

I look forward to any follow up questions and to hearing whether you find the SSL connector in your old server.xml.



PS - Here are some other helpful docs:

Running Confluence Over SSL or HTTPS

Managing Multiple Directories

That did the trick. I am terminating SSL at Confluence. I had documented exactly what I did to get SSL working the first time. After a little editing of the server.xml file I can now login.

A bit more editing in web.xml and all http traffic is redirected to https which is they way we like it. Thanks for the assistance

Ann Worley Atlassian Team Dec 18, 2017

Happy to hear you resolved it! Thanks for following up.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,489 views 4 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you