[Koha] ant fresh_install error

Tomas Cohen Arazi tomascohen at gmail.com
Thu Jun 2 06:14:08 NZST 2016


You probably forgot to

 $ mvn package

or forgot to configure the DB in dspace.cfg.

El mié., 1 jun. 2016 a las 14:56, vijay kumar (<vijcrjbhu at gmail.com>)
escribió:

> 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
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>
-- 
Tomás Cohen Arazi
Theke Solutions (http://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F


More information about the Koha mailing list