After having downloaded sonarqube, I start the server and try to access it at http://localhost:9000. Logs show that server is started. I have however an error:
2015.03.11 14:39:02 INFO web[o.s.s.app.Logging] Web server is started
2015.03.11 14:39:03 ERROR web[o.s.s.ui.JRubyFacade] Fail to render: http://localhost:9000/
"fr" is not a valid locale
/home/osallou/.rvm/gems/ruby-1.9.3-p429/gems/i18n-0.7.0/lib/i18n.rb:284:in `enforce_available_locales!'
/home/osallou/.rvm/gems/ruby-1.9.3-p429/gems/i18n-0.7.0/lib/i18n/config.rb:13:in `locale='
/home/osallou/.rvm/gems/ruby-1.9.3-p429/gems/i18n-0.7.0/lib/i18n.rb:43:in `locale='
....
fr_FR is in my locale (ubuntu), and my default locale is en_US
I do not understand why it takes french (but why not), but I need to fix the conf/startup issue. I do not see any locale config in sonar.conf.
Thanks
SonarQube uses an older version of the i18n gem (see the web/WEB-INF/gems/gems
directory).
If you disable the rvm
, Sonar should work fine.
$ rvm use system
You can just create a new gemset & use that instead. The sonarqube zip file comes with all the gems that are needed.
rvm gemset create sonar
rvm gemset use sonar
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With