The issue has been resolved and was caused by an improper database 
installation. After fixing that the error is gone

Maruan Sahyoun schrieb am Montag, 30. Oktober 2023 um 18:12:44 UTC+1:

> 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)
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/77675f67-8bf8-4963-b06d-ebf0170a6080n%40googlegroups.com.

Reply via email to