Installation issue with DSpace 7.6

77 views
Skip to first unread message

Maruan Sahyoun

unread,
Oct 30, 2023, 1:12:44 PM10/30/23
to DSpace Technical Support
Dear DSpace Community,

upon a fresh install of DSpace 7 on a Linux Server using a Postgres DB I'm getting below stack trace when running ant fresh_install.

Would you have any pointers what might be causing this issue and how to overcome that?

With kind regards
Maruan

----

test_database:
     [java] Caught exception:
     [java] org.postgresql.util.PSQLException: ERROR: relation "schema_version" does not exist
     [java]   Position: 23
     [java] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2713)
     [java] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2401)
     [java] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:368)
     [java] at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:498)
     [java] at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:415)
     [java] at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:190)
     [java] at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:134)
     [java] at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:122)
     [java] at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:122)
     [java] at org.dspace.storage.rdbms.DatabaseUtils.getCurrentFlywayState(DatabaseUtils.java:1556)
     [java] at org.dspace.storage.rdbms.FlywayUpgradeUtils.upgradeFlywayTable(FlywayUpgradeUtils.java:83)
     [java] at org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:113)
     [java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     [java] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
     [java] at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)
     [java] at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
     [java] at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)

Maruan Sahyoun

unread,
Oct 31, 2023, 5:42:01 AM10/31/23
to DSpace Technical Support
The issue has been resolved and was caused by an improper database installation. After fixing that the error is gone
Reply all
Reply to author
Forward
0 new messages