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.
Related
I installed MariaDB with yum in CentOS 7.
SonarQube throws this exception:
org.sonar.api.utils.MessageException: Unsupported mysql version: 5.5. Minimal supported version is 5.6.
When I reinstall MariaDB with version 10, SonarQube still throws the same exception.
How does SonarQube-5.5 detect the MySQL version?
The API of MariaDB 10 is compatible with MySQL 5.6 and CentOS 7 has replaced MySQL with MariaDB.
Why does it not support MariaDB 10?
MariaDB is not supported by SonarQube, see requirements.
Like Nicolas said, MariaDB is not supported by SonarQube - still in v7.
The Solution to run SonarQube in combination with XAMPP is to change the database from MariaDB to MySQL. Here you'll find the steps for changing it:
https://gist.github.com/odan/c799417460470c3776ffa8adce57eece
I am using Hudson 3.1.0 version and sonar 3.7.4 version. SInce yesterday I am getting this weird error while doing sonar analysis:
This was working fine until yesterday. sonar-maven-plugin-3.3.0.603 version is used.Can somebody help here?
You are using a version of the SonaQube Scanner for Maven that is too recent (3.3.0.603). You should lock this version (in your POM) to an older version to make sure this keeps on working correctly.
As a side note, please consider upgrading to more recent software:
SonarQube 3.7.4 is 4 years old and no more supported (which means nobody will help you in case of trouble)
Hudson is kind-of dead - the best option for you is to move on Jenkins
I installed MariaDB with yum in CentOS 7.
SonarQube throws this exception:
org.sonar.api.utils.MessageException: Unsupported mysql version: 5.5. Minimal supported version is 5.6.
When I reinstall MariaDB with version 10, SonarQube still throws the same exception.
How does SonarQube-5.5 detect the MySQL version?
The API of MariaDB 10 is compatible with MySQL 5.6 and CentOS 7 has replaced MySQL with MariaDB.
Why does it not support MariaDB 10?
MariaDB is not supported by SonarQube, see requirements.
Like Nicolas said, MariaDB is not supported by SonarQube - still in v7.
The Solution to run SonarQube in combination with XAMPP is to change the database from MariaDB to MySQL. Here you'll find the steps for changing it:
https://gist.github.com/odan/c799417460470c3776ffa8adce57eece
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
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.