I'm getting this error:

>>> ./dspace database migrate

Migrating database to latest version... (Check dspace logs for details)

Migration exception:

java.sql.SQLException: Flyway migration error occurred

at
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:673)

at
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:576)

at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:221)

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:607)

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: Detected
applied migration not resolved locally: 5.0.2015.06.18

at org.flywaydb.core.Flyway.doValidate(Flyway.java:1008)

at org.flywaydb.core.Flyway.access$100(Flyway.java:72)

at org.flywaydb.core.Flyway$1.execute(Flyway.java:921)

at org.flywaydb.core.Flyway$1.execute(Flyway.java:917)

at org.flywaydb.core.Flyway.execute(Flyway.java:1373)

at org.flywaydb.core.Flyway.migrate(Flyway.java:917)

at
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:662)




>From running "./dspace database info" I see that I have:


| 5.0.2015.06.18 | statistics-harvester                                |
2018-03-08 11:34:55 | Missing |



Not sure what to do next.


-Jose

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vjN3s97ock1h-YF6vK4XyK8%3Dxc7wTbLsosRTK2yo6tXw%40mail.gmail.com.

Reply via email to