ESXi VM ServerID changes after installing sonar8.5 Development Edition - sonarqube

Can someone help me understand that why ServerID changes when I install SONAR 8.3 Dev Edition on the ESXi VM where I have SONAR Opensource 7.6.
I am installing new Dev Edition under /opt/sonar8.5 where as my opensource 7.6 is installed under /opt/sonar7.6
The problem is that I am seeing license key error because now it complaining about serverID
mismatch.
I already sent email to my sonar license support person in SONAR to help me.BUt trying to understand if someone also faced something similar.

Similar case has happened with us as well. The ServerID is relevant to licensing is based on the Database Connection String, not on the host url. So, whenever you change the Database Connection String, serverID will be re-generated and you will need license for that serverID.
You can find the more explanation here:
https://community.sonarsource.com/t/will-the-server-id-change-if-i-move-sonarqube-to-a-new-host-instance/3820
https://docs.sonarqube.org/latest/instance-administration/license-manager/

Related

Recently Installed Elastic Search in Ubuntu Server, afterwards seeing warning that "Key is stored in legacy trusted.gpg keyring"

Hello Community,
Recently, during installation of graylog server. I installed the elastic search package. Afterwards when I am updating the packages, seeing couple of warnings below:
W: http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://artifacts.elastic.co/packages/oss-7.x/apt/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Can anyone please help me out. Why I am seeing these warnings and to resolve. It would be really appreciable

Running Elastic without the Trial License

Background:
I'm trying to use the Elastic stack (Elastic, Logstash & Kibana), but I have no money to pay. I don't mind using the parts that are closed source, as long as they are free. In this regard, I'm trying to understand how Elastic Licensing works.
We Opened X-Pack seems to suggest that after Elastic 6.3 the X-Pack Code is included (though with a different license). I also understand that some parts of X-Pack are free, but other's are not. This is all a bit confusing.
Objective: I would like to run Elastic stack with all of the free stuff, and none of the paid stuff.
What I have done so far:
I'm on Linux but I have chosen not to use the distribution package repositories i.e. I would like to use the downloads provided by Elastic Co. For Elastic and Kibana, I have downloaded and extracted the tar.gz version 6.5.4 GA Release from https://www.elastic.co/downloads/elasticsearch and https://www.elastic.co/downloads/kibana For most part, I did not set any options, so I assume my setup used the defaults. Both Elastic and Kibana started up, without any issues. I'm running these on the commandline for now.
From the logs, I noticed that the install had been granted a trial version license for 14 days or something like that. Since I did not want to use the license, I used the Delete license API i.e. I ran
curl -X DELETE "localhost:9200/_xpack/license"
This worked in a sense i.e. I got the {"acknowledged": true} response. I thought this would get rid of the xpack stuff that was not free, but unfortunately, it didn't. I still saw some of the x-pack stuff in the startup.
I then tried to do what is mentioned in Uninstalling X-Pack. I know this is old, but I did not know how to do it in the newer version. Anyway, if I run the commands:
bin/elasticsearch-plugin remove x-pack
I get the error:
ERROR: plugin [x-pacl] not found; run 'elasticsearch-plugin list' to
get the list of installed plugins
And elasticsearch-plugin list doesn't return anything.
If I run
bin/kibana-plugin remove x-pack
I get:
Unable to remove plugin because of error: “You are using the standard
distribution of kibana. Please install the OSS-only distribution to
remove the X-Pack features.”
Now my Kibana does not run, complaining that:
Elasticsearch cluster did not respond with license information..
i.e. it does start up, but when you go to the webpage it tells me that it Cannot connect to the Elastic cluster
Questions:
What is the OSS-only distribution and where do I download it?
Is there anyway to not use the trial version license of elastic and use
all of the parts that are free (as in cost/price) and would not
expire after x-days? I would like to use all the X-Pack stuff that's free, and not use the X-Pack stuff that's paid.
Since version 6.5 there is not a standalone x-Pack plugin anymore, all the x-pack features are integrated in the Elastic Stack.
If you want to run the Elastic Stack using only the free features, which means that you will use the free basic license, you need to set your license in the elasticsearch.yml file using the line below (more info):
xpack.license.self_generated.type: basic
This will disable the trial and enable only the free features.
If you want to run the stack using only the features licensed under Apache 2.0 license (the open source version), you need to download the oss packages for elasticsearch, kibana and logstash.
You can download it here: elasticsearch-oss,kibana-oss and logstash-oss
You can see the differences between the OSS version and the Free Basic license in the subscriptions page.
Elastic have published a apache-only-open-source distro with just free components:
https://www.elastic.co/es/downloads/elasticsearch-oss
On the other side, AWS have taken last apache-open source versions from Elastic-Apache and have created a new open source distro forking from that and including new functionalities, and functionalities that are no more open source in last Elastic version, like Kibana
https://opendistro.github.io/for-elasticsearch/downloads.html
To know more about the licenses war: https://grafana.com/blog/2019/03/20/everything-you-need-to-know-about-the-oss-licensing-war-part-1./

Some pages are not loading in Sonarqube 5.6.6

Suddenly I'm experiencing a huge problem in my Sonar. I cannot access some of the main pages under my projects.
For example, once I click on the project,
home page not loading
Measures page not loading
Code page loading but once I click on any class, it's not opening and after a while, giving an error saying "Request cannot be processed. Try again later."
List item
But if I do any analysis from Sonar-runner it's executing successfully. I don't see any other issues excepts things I pointed above.
I have taken following actions to rectify the issue but still no luck.
Enabled debug logs to see any errors - cannot see any
Did MySQL optimizations - still no luck
Increased Sonar java heap size
Installed another Sonarqube instance on another CentOS 7.4 fresh server and restored DB dump from old one. - still, the issue is same
Finally, I have upgraded the new instance to Sonar 6.5. -but nothing changed and my issues still there.enter image description here
Appreciate if somebody guides me to fix this issue. Since I cannot go for a fresh installation because I need all my History data.
Thank you.
I could fixed this issue. I assumed this is something issue with the network response due to packet filtering or something else.
First I installed sonar in my local machine and then tried to execute Sonar-Runner analysis and then checked and it worked well.
Then I have realized this is something related to my remote network. therefore I have installed the Sonar in different location (Data center) and its also working.
Thanks to everyone for the guidance and I leave this post here so anyone can read later if they have the same issue.

Domino Designer proxy server settings

I am trying to install an Eclipse plugin in Domino Designer. There are many useful tutorials how to do it. However, when I enter the remote site in the Application Locations window > Remote Location
http://mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable
I get this error code:
CWPPR0031W: The requested provisioning operation(s) completed with partial success.
Network connection problems encountered during search.
Unable to access "http://mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable".
Unable to access site: "http://mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable" [Server returned HTTP response code: "403 Forbidden"
My company uses a proxy server to access the internet. I suspect, the error is caused By Domino Designer trying to access the link directly. Is there any way to tell Designer to go through our proxy server?
It looks like you're trying to install Mercurial into Domino Designer. I know in the past David Leedy and Declan Lynch had to install older versions, because Domino Designer is based on an older version of Eclipse. I'm not sure of the details for that. But I know both David and Declan now recommend using SourceTree for management of local mercurial source control repositories. It's better documented (several NotesIn9 episodes as well as Show 103 from Connect 2014 which I presented with Declan) and mor Domino developers use it (as well as non-Domino developers) so if you hit problems, there will be more of a cummunity to help.
All of those settings will be handled by the location set in the Notes client.
Go to File>Preferences>Locations> and edit the current location
In the basics tab there is an option for proxy configuration. You should be able to drop in all of your configs right there.
this site helps me to install a eclipse color theme for the domino designer.
http://www.intec.co.uk/update-site-for-eclipse-coloor-themes/
first I had the same proxy problem like you, but this guide helps me, perhaps you to.

How to install jBilling community edition on heroku and/or appfog

I am trying to install jBilling community edition on heroku and/or appfog. I could not find any information on google on how to do this. I used the simple way to deploy the war file on heroku and that did not work. I am assuming there must be some configuration changes needed.
Before I venture into this I wanted to get a shout out and see if anyone has already done this successfully and has notes that s/he is willing to share with me.
jBilling has both installation guides (for windows and for mac/linux) and a Getting Started Guide on their website that list each step and walk you through the process. Try starting with those.

Resources