[Koha] ant fresh_install error

vijay kumar vijcrjbhu at gmail.com
Thu Jun 2 05:55:50 NZST 2016


Dear All,
I am getting the following error during running the command "ant
fresh_install", installing the source from GIt.


[java] Caused by: 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.
     [java]     at
org.dspace.storage.rdbms.PostgreSQLCryptoChecker.checkPgCrypto(PostgreSQLCryptoChecker.java:60)
     [java]     at
org.dspace.storage.rdbms.PostgreSQLCryptoChecker.beforeBaseline(PostgreSQLCryptoChecker.java:162)
     [java]     at
org.flywaydb.core.internal.command.DbBaseline$1.doInTransaction(DbBaseline.java:89)
     [java]     at
org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:72)
     [java]     at
org.flywaydb.core.internal.command.DbBaseline.baseline(DbBaseline.java:85)
     [java]     at org.flywaydb.core.Flyway$5.execute(Flyway.java:1186)
     [java]     at org.flywaydb.core.Flyway$5.execute(Flyway.java:1182)
     [java]     at org.flywaydb.core.Flyway.execute(Flyway.java:1418)
     [java]     at org.flywaydb.core.Flyway.baseline(Flyway.java:1182)
     [java]     at
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:535)
     [java]     ... 8 more


 [java] 2016-06-01 23:11:53,672 INFO
org.dspace.services.sessions.SessionRequestServiceImpl @ shutdown
     [java] 2016-06-01 23:11:53,674 WARN
org.dspace.services.sessions.SessionRequestServiceImpl @ Request
interceptor
(org.dspace.services.events.SystemEventService$EventRequestInterceptor at 53f3521)
failed to execute on end (request-715-1464802913118): null
     [java] 2016-06-01 23:11:53,700 INFO
org.dspace.servicemanager.spring.SpringServiceManager @ Spring Service
Manager Shutdown...
     [java] 2016-06-01 23:11:53,700 INFO
org.dspace.servicemanager.DSpaceServiceManager @ Shutdown DSpace core
service manager
     [java] 2016-06-01 23:11:53,700 INFO
org.dspace.servicemanager.DSpaceKernelImpl @ DSpace kernel shutdown
completed and unregistered MBean:
org.dspace:name=1f445fc0-046a-4a64-af5e-11f7125c71bc,type=DSpaceKernel

BUILD FAILED
/dspace/DSpace/dspace/target/dspace-installer/build.xml:802: Java returned:
1


What are the errors, i am unable to find out
help me to find out the solution.

With regards,
Vijay Kumar


More information about the Koha mailing list