java.lang.IllegalArgumentException: Password must be different from old password
Did you already try setting the admin password to something else than “admin”?
In general I would assume that this would not crash the application but this looks like it
Tried to spinup new container for sonarqube . Again its exiting after machine reboot.
We didn’t face this issue previously .
Came across this error in logs
Nah if you take a look at the logs you provided you can clearly see that sq stops because it encountered a illegal state, which is the admin password is changed to the default one.
I would try to reset the admin password via the database (see docs how to do that: Security | SonarQube Docs ) and see if sq starts afterwards. If it does, change it to something else than the default
username - admin
passwd - not as default (default - admin)
Passwd is not default we have changed it after 1st time login .
Still getting this error .
Any idea ?
Okay maybe I am misunderstanding your issue. So sonarqube runs when you start the stack manually but it does not start automatically after a system reboot? If this is the case you are probably missing a restart policy in your compose file: Compose file version 3 reference | Docker Documentation
I was under the impression that sonarqube was not starting at all and was searching for an exception in the logs
what would be the version of your docker and compose installation? This seems more related to a issue with the container runtime and not with sonarqube. are other containers on the same system working as intended?