Upgrade to 6.4.3, cannot login

H December 18, 2017

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
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 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"
protocol="org.apache.coyote.http11.Http11NioProtocol"
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.

Thanks,

Ann

PS - Here are some other helpful docs:

Running Confluence Over SSL or HTTPS

Managing Multiple Directories

H December 18, 2017

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

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 18, 2017

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events