Thanks for the quick reply Tom! I've already reached out to the contact person as per you instructions.
In the mean time, how can I temporarily remove the MQM module so that my migration succeeds? If it's not too much to ask, is a good set of tutorials/resources online on the internals of DSpace? I need to get my head around it since it seems it's going to part of my daily work for the foreseeable future :-) Thanks, Tsega On Thu, Jun 16, 2016 at 11:45 PM Tom Desair <tom.des...@atmire.com> wrote: > Hi, > > This error is specific to an Atmire custom DSpace module. Please send this > e-mail to your institution's Atmire contact person and he will do the > necessary to solve your problem. > > Best regards, > Tom > > > > [image: logo] > *Tom Desair* > *250 Lucius Gordon Drive, Suite B-3A, West Henrietta, NY 14586* > *Esperantolaan 4, Heverlee 3001, Belgium* > www.atmire.com > <http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=tomd> > > > 2016-06-16 22:19 GMT+02:00 Tsegaselassie Tadesse <tsegasela...@gmail.com>: > >> I am trying to run a local instance of a modified DSpace v5.1 and the >> last database migration fails with the following error: >> >> 2016-06-16 23:07:04,427 ERROR >> org.flywaydb.core.internal.command.DbMigrate @ Migration of schema "public" >> to version 5.1.2015.12.03.3 failed! Changes successfully rolled back. >> 2016-06-16 23:07:04,431 ERROR org.dspace.storage.rdbms.DatabaseManager @ >> SQL getDataSource Error - >> java.sql.SQLException: Flyway migration error occurred >> at >> org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:389) >> at >> org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:309) >> at >> org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1371) >> at >> org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:648) >> at >> org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:627) >> at org.dspace.core.Context.init(Context.java:121) >> at org.dspace.core.Context.<init>(Context.java:95) >> at org.dspace.rest.Resource.createContext(Resource.java:73) >> at org.dspace.rest.ItemsResource.getItems(ItemsResource.java:165) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:497) >> at >> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) >> at >> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185) >> at >> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) >> at >> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) >> at >> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) >> at >> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) >> at >> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511) >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442) >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391) >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381) >> at >> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) >> at >> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538) >> at >> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) >> at >> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) >> at >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) >> at >> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) >> at >> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) >> at >> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >> at >> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >> at java.lang.Thread.run(Thread.java:745) >> Caused by: org.flywaydb.core.api.FlywayException: Migration failed ! >> at >> org.flywaydb.core.internal.resolver.jdbc.JdbcMigrationExecutor.execute(JdbcMigrationExecutor.java:47) >> at >> org.flywaydb.core.internal.command.DbMigrate$5.doInTransaction(DbMigrate.java:287) >> at >> org.flywaydb.core.internal.command.DbMigrate$5.doInTransaction(DbMigrate.java:285) >> at >> org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72) >> at >> org.flywaydb.core.internal.command.DbMigrate.applyMigration(DbMigrate.java:285) >> at >> org.flywaydb.core.internal.command.DbMigrate.access$800(DbMigrate.java:46) >> at >> org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:207) >> at >> org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:156) >> at >> org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72) >> at >> org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:156) >> at org.flywaydb.core.Flyway$1.execute(Flyway.java:864) >> at org.flywaydb.core.Flyway$1.execute(Flyway.java:811) >> at org.flywaydb.core.Flyway.execute(Flyway.java:1171) >> at org.flywaydb.core.Flyway.migrate(Flyway.java:811) >> at >> org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:381) >> ... 47 more >> Caused by: org.dspace.content.NonUniqueMetadataException: Please make the >> namespace unique >> at org.dspace.content.MetadataSchema.create(MetadataSchema.java:228) >> at >> com.atmire.dspace.database.FieldDatabaseLoader.loadDatabaseChanges(FieldDatabaseLoader.java:60) >> at >> org.flywaydb.core.api.migration.atmire.AtmireFlywayMigration.migrate(AtmireFlywayMigration.java:29) >> at >> org.flywaydb.core.internal.resolver.jdbc.JdbcMigrationExecutor.execute(JdbcMigrationExecutor.java:45) >> ... 61 more >> >> >> Here is the database info output: >> >> >> <https://lh3.googleusercontent.com/-jr0g4mf8MvE/V2MJPN8nApI/AAAAAAAAH5s/mZDY2LNgqLAxD9zLUAdfJ6toM9pPS5cTACLcB/s1600/Screen%2BShot%2B2016-06-16%2Bat%2B11.03.07%2BPM.png> >> >> >> How can I fix this? >> > -- >> 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 dspace-tech+unsubscr...@googlegroups.com. > > >> To post to this group, send email to dspace-tech@googlegroups.com. >> Visit this group at https://groups.google.com/group/dspace-tech. >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.