java.sql.SQLException: Flyway migration error occurred

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Eugene Jose Espinoza, 4 months ago
Flyway migration error occurred
via Google Groups by Bill T, 1 year ago
Flyway migration error occurred
via Sakai JIRA by Terry Brady, 1 year ago
Flyway migration error occurred
via Google Groups by euler, 1 year ago
Flyway migration error occurred
org.flywaydb.core.api.FlywayException: This PostgreSQL Database is INCOMPATIBLE with DSpace. The upgrade will NOT proceed. A supported version (>=1.1) of the 'pgcrypto' extension must be installed! Please run 'dspace database info' for additional info/tips.
at org.dspace.storage.rdbms.PostgreSQLCryptoChecker.checkPgCrypto(PostgreSQLCryptoChecker.java:60)
at org.flywaydb.core.internal.command.DbBaseline$1.doInTransaction(DbBaseline.java:89)
at org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
at org.flywaydb.core.internal.command.DbBaseline.baseline(DbBaseline.java:85)
at org.flywaydb.core.Flyway$5.execute(Flyway.java:1186)
at org.flywaydb.core.Flyway$5.execute(Flyway.java:1182)
at org.flywaydb.core.Flyway.execute(Flyway.java:1418)
at org.flywaydb.core.Flyway.baseline(Flyway.java:1182)
at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:535)
at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:478)
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:227)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.