How can I export sonarqube metrics to a newer version - sonarqube

I need to know if it is possible to export all the metrics registered in my sonarqube 4.0 to a newer version "6.2". How should I proceed?
Thank you.

There's no need to export; simply upgrade. The upgrade process is automated and should go smoothly.
Because there are two LTS versions between where you are and where you want to go, you'll have to perform this in 3 stages:
4.0 -> 4.5.7 (previous LTS)
4.5.7 -> 5.6.6 (current LTS)
5.6.6 -> 6.2

Related

How to downgrade SonarQube 6.0 to SonarQube 5.6.5 LTS

I am using SonarQube 6.0 on our one of the server1 and wanted to run SonarQube 5.6.5 LTS version on server2 stopping service on Server 2. I was able to run SonarQube 6.0 on Server 2 but when I'm upgrading it to SonarQube 5.6.5 LTS it gives me error - Database was upgraded to a more recent of SonarQube. Backup must probably be restored or db settings are incorrect.
I tried upgrading couple of time and everytime I get same error and again I had to restore my database for SonarQube 6.0. Could anyone know how to resolve this issue. Actually I have followed steps mentioned in the documements as well but didn't not succeed.
Going from 6.0 to 5.6.5 LTS is not an upgrade. It's a downgrade. Your attempts are failing because there is no support for downgrading a database.
If you really want to move to 5.6.5, you'll have to start over with an empty schema.

sonarqube upgrade from 4.5.5 to 5.6

Do we need to upgrade our Sonarqube 4.5.5 to latest LTS 4.5.7 before upgrading to 5.6? Or is it ok to upgrade directly to 5.6 as long as you are on the latest LTS branch 4.5.x?
You don't need to upgrade to 4.5.7.

Difficulty upgrade from version 3.4.1 to 4.5.2

Hi I'm trying to upgrade Sonarqube from 3.4.1 to 4.5.2 but had some issues.
I ensured that the sonar.properties file and the wrapper.conf file were both the same and changed them accordingly on the newer version. To install it we simply moved 4.5.2 onto the server and changed the symlink, this worked until it tried to upgrade the database then it stated 'Upgrade is impossible'
After this we couldn't get Sonar to start again, so we rolled it back to a previous version..
So our current predicament is whether or not to create a new version of Sonar on the latest version or to slowly upgrade the old one but from 3.4.1 to 3.4.2 etc..
What would you suggest?
Thanks

XCode. How Do I Run Two Versions on the Same Dev. Machine: Version 3.2.2 (Pre-release) & Version 3.2.1

Could someone walk me through the setup to run one version of XCode for iPad development - version 3.2.2 prerelease - and another version for iPhone/iPodTouch development - version 3.2.1
The reason I ask is because the pre-release version does not support building < 3.2 iPhone OS. Or if it does I haven't figured out the magic handshake to make that happen. If you know please pass it along. Cheers.
Thanks,
Doug
You can actually change the install location when installing the beta versions... make it something like /DeveloperBeta instead of /Developer, then you can choose which version of the dev tools to run.

Upgrading sonarqube from 4.5.4 to 6.7.1

I am planning to upgrade sonarqube from 4.5.4 (LTS) to 6.7.1 (LTS). Will it be possible to do a direct upgrade from 4.5.4 to 6.7.1 being both are LTS ?? Please suggest if I have to do a step upgrade by first upgrading it to 5.6.7 (LTS) and then later to 6.7.1
As you will read in the "Upgrading" documentation, you can't do a direct upgrade from 4.5 LTS to 6.7 LTS. You will indeed need to upgrade first to 5.6 LTS.
Obviously, you can definitely do those 2 upgrades in a row.

Resources