java.sql.SQLException

Flyway migration error occurred

Solutions on the web5109

  • via Google Groups by Sean Carte, 10 months ago
    Flyway migration error occurred
  • via Sakai JIRA by Terry Brady, 4 months ago
    Flyway migration error occurred
  • via Google Groups by Alex Fletcher, 1 week ago
    Flyway migration error occurred
  • Stack trace

    • java.sql.SQLException: Flyway migration error occurred at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:570) at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:478) at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:260) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81) Caused by: org.flywaydb.core.api.FlywayException: Validate failed. Migration Checksum mismatch for migration 1.1 -> Applied to database : 864087011 -> Resolved locally : 1058944165 at org.flywaydb.core.Flyway.doValidate(Flyway.java:1108) at org.flywaydb.core.Flyway.access$300(Flyway.java:62) at org.flywaydb.core.Flyway$1.execute(Flyway.java:1012) at org.flywaydb.core.Flyway$1.execute(Flyway.java:1006) at org.flywaydb.core.Flyway.execute(Flyway.java:1418) at org.flywaydb.core.Flyway.migrate(Flyway.java:1006) at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:559) ... 8 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    5 times, 7 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    6 times, 1 year ago
    23 more bugmates