5 Troubleshooting Flyway Issues

This topic describes the troubleshooting procedures for the flyway issues.

5.1 Failed Migrations

This topic describes about the Troubleshooting procedures for failed migrations.

5.1.1 Success Column Verification

Perform the following steps for the success column verification:

  1. Check the flyway_schema_history table to identify the migration record with success column as ‘0’.
  2. Delete the record with status as ‘0.
  3. Restart deployment.

5.1.2 Migration Checksum Mismatch for a Version

Perform the following steps for the success column verification:

  1. Make sure that the flyway script is not manually updated before deployment.
  2. If yes, then replace with original and restart deployment.

5.1.3 Placeholder errors

Pass the placeholder values using setUserOverrides.sh in Weblogic. Alternatively, these issues can be debugged from Weblogic console during deployment. In addition, the application specific logs can be verified for further inputs.