We recently downgraded from the Data Center edition to the Enterprise Edition. We have successfully performed the downgrade and we can verify that we are now running the Enterprise Edition. We have also uploaded the Enterprise Edition license to our installation. We can verify in the footer of the UI we see “Enterprise Edition”, as well as seeing “Edition: Enterprise” under Administration > System.
However, when we send a new scan to be processed, we see the following error under the Background Tasks:
Analysis suspended. The license edition (Enterprise Edition) does not match the installation edition (Data Center).
This is happening 100% of the time and is consistent, this has happened all 3 times we have run a scan against this installation.
Is there any chance that you have your old DCE of SonarQube still connected to the database? That’s the only way I can imagine SonarQube getting “confused”.
We have restarted all services on the machine. We now appear to be presented with arbitrary “Canceled” statuses on the Background Task for each job. There are no further details. sonar-scanner reports to have completed successfully on the local scan, but the background task simply says “Canceled”. How can we diagnose further?
You inspired me to write a new guide to make it easier to answer this question in the future (and so people can find the guide if they search the same errors).