willmanio / sonarqube

SonarQube Chef Cookbook
https://supermarket.chef.io/cookbooks/sonarqube
7 stars 27 forks source link

Unable to install Sonar plugin #15

Open sernapallyanurag opened 8 years ago

sernapallyanurag commented 8 years ago
============================================================================

Error executing action `install` on resource 'sonarqube_plugin[javascript]'
============================================================================

Net::HTTPServerException
------------------------
remote_file[/opt/sonarqube-5.1.2/extensions/plugins/sonar-javascript-plugin-

2.7.jar] (/var/chef/cache/cookbooks/sonarqube/resources/plugin.rb line 15) had a n error: Net::HTTPServerException: 404 "Not Found"

willmanio commented 8 years ago

Hey! Sorry for letting this one sit. Are you overriding the default configuration?

sernapallyanurag commented 8 years ago

Thank you for the response. I am overriding jdbc driver attributes.

override['sonarqube']['jdbc']['username'] = 'sonar' override['sonarqube']['jdbc']['password'] = 'sonar' override['sonarqube']['jdbc']['url'] = 'jdbc:h2:tcp://localhost:9092/sonar' So should I change it to default? Since in Sonarqube-mysql cookbook Readme https://github.com/pghalliday-cookbooks/sonarqube-mysql it says to override jdbc configuraion.