Cannot use SonarQube: Invalid language

After loading sonarqube, I started the server and tried to access it at http: // localhost: 9000 . Logs indicate that the server is running. However, I have 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 don’t understand why it takes French (but why not), but I need to fix the conf / startup problem. I do not see any locale configuration in sonar.conf file.

thank

+4
source share
4 answers

SonarQube i18n gem (. web/WEB-INF/gems/gems).
rvm, .

rvm

$ rvm use system

+13

gemset . Zip , .

rvm gemset create sonar
rvm gemset use sonar
+6

, . , ,

, ,

gem uninstall i18n

sonar restart

. , .

+4

.bashrc SQ.

unset GEM_HOME
unset GEM_PATH

0

All Articles