Let me put in the whole section:
test_database:
[java] 2020-02-11 11:50:18,422 WARN
org.dspace.services.email.EmailServiceImpl
@ Couldn't get an email session from environment: Need to specify class
name in environment or system property, or as an applet parameter, or in an
application resource file: java.naming.factory.initial
[java]
[java] Attempting to connect to database
[java] Connected successfully!
[java]
[java] Database Type: postgres
[java] Database URL: jdbc:postgresql://localhost:5432/dspace-dev-63
[java] Database Schema: public
[java] Database Username: dspace-dev-30
[java] Database Software: PostgreSQL version 9.4.25
[java] Database Driver: PostgreSQL JDBC Driver version 42.2.1.jre7
[java] PostgreSQL 'pgcrypto' extension installed/up-to-date? false
(not installed)
[java]
[java] WARNING: Required PostgreSQL 'pgcrypto' extension is NOT
INSTALLED on this database.
[java]
[java] ** DSpace REQUIRES PostgreSQL >= 9.4 AND pgcrypto extension >=
1.1 **
[java]
[java] To install it, please connect to your DSpace database as a
'superuser' and manually run the following command:
[java]
[java] CREATE EXTENSION pgcrypto;
[java]
[java] 2020-02-11 11:50:18,893 WARN
org.dspace.services.sessions.SessionRequestServiceImpl
@ Request interceptor
(org.dspace.services.events.SystemEventService$EventRequestInterceptor@2bfc86ba)
failed to execute on end (request-796-1581439818722): null
BUILD FAILED
/deepblue/dspace/build/dspace-6.3-src-release/dspace/dspace/target/dspace-installer/build.xml:789:
Java returned: 1
On Tue, Feb 11, 2020 at 11:55 AM Jose Blanco <[email protected]> wrote:
> getting this error when doing "ant fresh_install"
>
> [java] Database Type: postgres
>
> [java] Database URL: jdbc:postgresql://localhost:5432/dspace-dev-63
>
> [java] Database Schema: public
>
> [java] Database Username: dspace-dev-30
>
> [java] Database Software: PostgreSQL version 9.4.25
>
> [java] Database Driver: PostgreSQL JDBC Driver version 42.2.1.jre7
>
> [java] PostgreSQL 'pgcrypto' extension installed/up-to-date? false
> (not installed)
>
> [java]
>
> [java] WARNING: Required PostgreSQL 'pgcrypto' extension is NOT
> INSTALLED on this database.
>
> [java]
>
> [java] ** DSpace REQUIRES PostgreSQL >= 9.4 AND pgcrypto extension
> >= 1.1 **
>
> [java]
>
> [java] To install it, please connect to your DSpace database as a
> 'superuser' and manually run the following command:
>
> [java]
>
> [java] CREATE EXTENSION pgcrypto;
>
> [java]
>
> [java] 2020-02-11 11:50:18,893 WARN
> org.dspace.services.sessions.SessionRequestServiceImpl
> @ Request interceptor
> (org.dspace.services.events.SystemEventService$EventRequestInterceptor@2bfc86ba)
> failed to execute on end (request-796-1581439818722): null
>
>
> but I see that it is installed.
>
>
> dspace-dev-63=> SELECT * FROM pg_available_extensions WHERE name =
> 'pgcrypto';
>
> name | default_version | installed_version | comment
>
> ----------+-----------------+-------------------+-------------------------
>
> pgcrypto | 1.1 | | cryptographic functions
>
> (1 row)
>
--
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-sXFsioO7-tFSpVHu51KTBg9x9txKABcR6FZ-8LcB3Epw%40mail.gmail.com.