What version are you upgrading from?
9.6.1-developer image
System information (Operating system, Java version, Database provider/version)
OS: Linux, Java version: 16, DB version: Azure SQL
What’s the issue you’re facing?
Log in issue(intermittent) after sonarqube:9.9-developer image upgrade. Log in page just redirects back to the log in page after providing the correct credentials.
Thanks for the reply.
Have you checked your [server logs] to see if there are any errors when these looping redirects happen? We did not see anything on the logs.
What’s your auth system? Its a default basic auth type.
What shows up in the user’s browser console when this happens? Anything? After providing credentials and hitting enter, it again redirects back to the login page. Sometimes, it redirects to …/sonarqube/projects page but still not logged in.
You should increase your server logging level to DEBUG and try logging in again. More than likely this is just a bad password. It’s possible that case is playing a role here.
Note that a global admin can reset a locally-maintained user’s password.
Did you read the log? If so, what did you make of this?
2023.05.03 14:18:44 WARN app[][startup] ####################################################################################################################
2023.05.03 14:18:44 WARN app[][startup] Default Administrator credentials are still being used. Make sure to change the password or deactivate the account.
2023.05.03 14:18:44 WARN app[][startup] ####################################################################################################################
Yes, as per the log default credentials are in use. I’m using the default credentials to login but not able to login. To change the password I need to login to that dashboard first.
Is there any other way to do that?
Okay, so the default credentials (admin/admin) were in use when the instance started up. If you weren’t able to log in with them, then there’s likely something between you & SonarQube (e.g. a proxy) interfering with the traffic.
We tried resetting the password in the database, seeing the same result. After login page, we able to see the dashboard like before but still not logged in.
We created another Sonarqube instance and tried logging in, it worked. I was able to login and reset the password. But it is intermediate, now I’m not able to login.
Is it okay if we rollback to the older version(9.6.1-developer image)?
Is there a way for you to create a ticket internally and assign an engineer on this please?