Given:
I upgrade from 2.7.0 but have forgotten to upgrade elasticsearch first:
When:
I run the upgrade script
Then:
I get the error:
Execute upgrade... 15:26:12.505 - Was not able to retrieve metaData index, schema might not have been initialized yet if this is the first startup! Exception in thread "main" org.camunda.optimize.upgrade.exception.UpgradeRuntimeException: No Optimize Metadata present. at org.camunda.optimize.upgrade.service.UpgradeValidationService.lambda$validateSchemaVersions$0(UpgradeValidationService.java:34) at java.util.Optional.orElseThrow(Optional.java:290) at org.camunda.optimize.upgrade.service.UpgradeValidationService.validateSchemaVersions(UpgradeValidationService.java:34) at org.camunda.optimize.upgrade.main.UpgradeProcedure.validateVersions(UpgradeProcedure.java:47) at org.camunda.optimize.upgrade.main.UpgradeProcedure.performUpgrade(UpgradeProcedure.java:33) at org.camunda.optimize.upgrade.main.UpgradeMain.main(UpgradeMain.java:62)
Expected:
I should get an elasticsearch version warning