Description of problem: When trying to upgrade the database from RHQ 1.3.1 to the current master, the script fails when trying to apply the changes for schema version 2.78.8 complaining about a non-existent relation. How reproducible: always Steps to Reproduce: 1. Update settings.xml to point to an rhq 1.3.1 database (or modify the below mvn execution to define the overrides of the db connection properties) 2. run mvn -Ddbsetup-upgrade from modules/core/dbutils 3. Wait a bit for the error message Actual results: Upgrade fails Expected results: Upgrade shouldn't fail. Additional info: I think this is caused by the fact the the upgrade is trying to update RHQ_BUNDLE_DEPLOY_HISTORY table but such table doesn't exist. The closest one to the name is RHQ_BUNDLE_DEPLOY_HIST.
Track previous problems with dbupgrade under 582991, should now be fixed *** This bug has been marked as a duplicate of bug 582991 ***