Default rules and policy disappearing


(Mirko Pluhar) #1

Hi all,

we have been using Sonarqube version 6.7.5 for some C# based projects. After a restart of Sonarqube all rules have disappeared (default rules) as well as all default quality profiles.
I was wondering how that could happen and also how I can restore the default rules and profiles?

Cheers,
Mirko


(G Ann Campbell) #2

Hi Mirko,

Can you make sure your language analyzers are still in place in $SONARQUBE_HOME/extensions/plugins?

 
Ann


(Mirko Pluhar) #3

Hi Ann,

thanks for your reply. The language analyzers actually disappeared. I believe this is actually due to the way I deploy Sonarqube on Kubernetes. I will do some more investigation, but after creating the plugins directory and putting the plugin in there, the rules and profile appeared again.

Cheers,
Mirko