Hello All,
I am installing DSpace 6.3 on ubuntu 18. I have PostgreSQL 'pgcrypto'
extension installed and created this extension for dspace database. But
when run ant fresh_instal command I got following error.
What can be solutions?
Thanks,
Birol.
root@bel-test:/opt/dspace-6.3-release/dspace/target/dspace-installer# ant
fresh_install
Buildfile: /opt/dspace-6.3-release/dspace/target/dspace-installer/build.xml
init_installation:
prepare_configs:
[mkdir] Created dir:
/opt/dspace-6.3-release/dspace/target/dspace-installer/config-temp
[copy] Copying 159 files to
/opt/dspace-6.3-release/dspace/target/dspace-installer/config-temp
[copy] Copying 1 file to
/opt/dspace-6.3-release/dspace/target/dspace-installer/config-temp
[copy] Copying 16 files to
/opt/dspace-6.3-release/dspace/target/dspace-installer/config-temp
init_configs:
[copy] Copying 1 file to /dspace/config
[delete] Deleting directory
/opt/dspace-6.3-release/dspace/target/dspace-installer/config-temp
test_database:
[java] 2018-08-23 09:25:21,437 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
[java] Database Schema: public
[java] Database Username: dspace
[java] Database Software: PostgreSQL version 10.4 (Debian
10.4-2.pgdg90+1)
[java] Database Driver: PostgreSQL JDBC Driver version 42.2.1
[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] 2018-08-23 09:25:22,128 WARN
org.dspace.services.sessions.SessionRequestServiceImpl @ Request
interceptor
(org.dspace.services.events.SystemEventService$EventRequestInterceptor@7e9a7df9)
failed to execute on end (request-458-1535009121853): null
BUILD FAILED
/opt/dspace-6.3-release/dspace/target/dspace-installer/build.xml:789: Java
returned: 1
Total time: 6 seconds
--
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 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.