sonarqube - Failed sonar migration because table already exists -


i trying upgrade sonarqube 3.7.4 4.5.4

i've updated plugins , new application starts expected.

i go /setup url prompted start db migration. fails following error:

activerecord::jdbcerror: table 'rule_tags' exists: 

i've backed v3.7.4 db, , when restore it, can see contains table called rule_tags, has 0 records. restored backup , older plugins in place, v3.7.4 starts again fine.

the migration code is attempting create table without checking if exists.

anyone know why happening? suspect has earlier failed migration.

the table rule_tags created in version 4.2. if it's still present when restoring mysql backup, means restored data not structure. double check command-line restore mysql schema.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -