deepy / sonar-crowd

GNU Lesser General Public License v3.0
32 stars 37 forks source link

compatible problem : SQ 7.9 with plugin 2.1.3 #38

Closed deaamoflih closed 4 years ago

deaamoflih commented 4 years ago

hi , i have the issue that the plugin never started with with SQ , i use the following installation :

sq: version 7.9-community (Image from the official sq docker hub repository) crowd plugin: 2.1.3 (from sq market place) Atlassian Crowd Version: 3.7.5

my sonar.properties config: sonar.security.realm=Crowd crowd.url=https://my-company.com/crowd/ crowd.application=sonar crowd.password=the_password sonar.authenticator.downcase=true after editing this file and restarting the sq server i can see from the logs that the plugin successfully installed and deployed but not started correctly due to reaseon i dont know yet : pod logs: kubectl logs sonarqube-7ccfcd4d6b-ggzsr | grep -i "crowd" : INFO web[o.s.s.p.ServerPluginRepository] Deploy plugin Crowd / 2.1.3

but :

kubectl logs sonarqube-7ccfcd4d6b-ggzsr | grep -i "realm" nothing ..

so i dont know if plugin compatible with SQ version, any ideas to help out, will really appreciated !

deepy commented 4 years ago

This sounds a lot like #33 and I can assure you, the plugin works on 7.9.

My recommendation is to install 7.9 manually, outside of docker/kubernetes, following the instructions in the repository and see if that works. If that doesn't work then there may be an issue, but right now I'm leaning towards incorrect setup

deaamoflih commented 4 years ago

thanks a lot for your answer. it works now.

deepy commented 4 years ago

@deaamoflih out of curiosity, what was the issue? given that it happened to at least 2 persons it might be something that should be added to the README

deaamoflih commented 4 years ago

so, it was just a compatible problem between the sq image version and the plugin version. in my case it did not work with image version 7.9 with last version of plugin. it works for now with folowing: sq version 6.4 (build 25310) (image pulled from docker hub) plugin version: 2.0 Atlassian Crowd Version: 3.7.5

deepy commented 4 years ago

the 2.1.3 release was literally created to support 7.9 and I tested it locally with SQ 7.9, so that is strange

deaamoflih commented 4 years ago

exactly, that was strange also for me. maybe because it was a community version for the docker image(that needs may be an active license) , but im not sure what was the problem.