You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello Jira users,
Wanted to share my experience with one particular behavior of Jira that I have encountered multiple times and was able to fix with the same steps.
Problem:
After a database failover(due to production database crash or not an unplanned failover), users even Jira-administrators, can't log into Jira. Error: Sorry username or password incorrect.
This error also occurs when you restore from backup xml from one Jira instance to another(where the cluster nodes are different)
Solution:
Check clusternode database table. When you restore from backup XML, it includes the entries of clusternode table which has hostnames and status(OFFLINE/ACTIVE) of the source Jira instance. They do not match the cluster or node hostnames on the destination Jira instance.
select * from clusternode
When you can't log in:
NODEID, STATUS, TIMESTAMP, IP, CACHE_LISTENER_PORT, NODE_BUILD_NUMBER, NODE_VERSION
node1 OFFLINE 1621274609792 destinationnode01 40001 805004 8.5.4
node2 ACTIVE 1622135262959 sourcenodejiradc01 40001 805004 8.5.4
What to rectify?
You can use simple update SQLs to do that.
Restart your Jira instance or in some cases no need to restart as well, you will be able to log into Jira.
When you CAN log in, the entries must look this way:
NODEID, STATUS, TIMESTAMP, IP, CACHE_LISTENER_PORT, NODE_BUILD_NUMBER, NODE_VERSION
node1 OFFLINE 1621274609792 destinationnode01 40001 805004 8.5.4
node2 ACTIVE 1622135262959 destinationnode02 40001 805004 8.5.4
node2 or destinationnode02 - is up and running .
node1 or destinationnode01 - is not yet started.
Please let me know if you have tried other ways to solve this mystery.
Thank you for reading.
Regards,
Divya TV