Could not logged into Jira after upgrading from 4.2.2 to 5.1.2

Jira recently got upgraded using the Manual Upgrade procedure and was successfully except I could not log into JIRA anymore. Even newly created users cannot log in a dn I can view the users in the CWD_USER table. The client message is : "Sorry, an error occurred trying to log you in - please try again."

Previous jira had been connected to Crowd for authentication but we would not be using crowd for the updgraded Jira. In order to complete the manual upgrade process, I copied the osuser.xml file to jira classpath and thereafter commented out the crowd integration section, enabliing Jira integration for authentication only. This did not work. In the new JIRA installation I have not gone throught with integrating crowd with jira.

Stack trace attached (New Text Document (2).txt)

3 answers

1 accepted

1 vote
Accepted answer

You can create a new local account by following the instructions in the link below and then login with that user and make the required changes for the directory configuration.

Thanks John and Renjith, I did try retrieving the system admnistrator account , also set a new password for it but could not still log in as the account uses external directory - Crowd/Ldap. So I created a new local admin according to the guide and can now log in into JIRA with it. I will try and reconnect to ldap.

1 vote

Hi abbeydom, I found an documentation which can troubleshoot your problem. You may refer for more information.

Good Luck,


John Chin

Hi John and Renjith, Just a quick update. I have now connected JIRA to LDAP (Microsoft A D) for authentication and it works fine. Cheers.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,397 views 15 19
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