Hi ,

I am trying to install Dspace software and have an issue of DSpace software 
when I do *ant fresh_install*, have an error below:

*BUILD FAILED*

*C:\dspace-5.4-src-release\dspace\target\dspace-installer\build.xml:797: 
Java returned: 1*

 

Could you please help me that what is the problem?
thanks
rana
[email protected]

On Wednesday, August 26, 2015 at 9:41:00 AM UTC-6, Kostas Stamatis wrote:

> Hi,
>
>  
>
> It seems that you have run the fresh_install command twice (probably 
> because the first one failed) because the error shows that some data in the 
> database already there.
>
>  
>
> Try to clean your database, maybe by deleting it and creating it again, 
> and run the ant fresh_install again.
>
>  
>
>  
>
> Regards,
>
>  
>
> Kostas
>
>  
>
>  
>
>  
>
>  
>
> *From:* Mrs. Chitralekha M. Chitale [mailto:[email protected] 
> <javascript:>] 
> *Sent:* Monday, August 05, 2013 11:11 AM
> *To:* [email protected] <javascript:>
> *Subject:* [Dspace-tech] Ant fresh_install error
>
>  
>
>  
>
> Hello 
>
>  
>
> I am trying to install dspace-3.2-src-release on Windows 7.
>
>  
>
> I have installed following versions of other softwares
>
> 1. Java jdk1.7.0_25, jre7
>
> 2. Tomcat 7.0
>
> 3. apache-maven-3.1.0
>
> 4. apache-ant-1.9.2
>
> 5. PostgreSQL 9.2
>
>  
>
> I have successfully build mvn package.
>
>  
>
> I am encountering error while running ant fresh_install as follows.
>
> Kindly help me with this.
>
>  
>
> Thanks and regards.
>
>  
>
>  
>
> load_registries:
>      [java] 2013-08-05 11:02:46,087 INFO  
> org.dspace.core.ConfigurationManager @
>  Loading system provided config property (-Ddspace.configuration): 
> config/dspace
> .cfg
>      [java] 2013-08-05 11:02:46,119 INFO  
> org.dspace.core.ConfigurationManager @
>  Using default log4j provided log configuration,if unintended, check your 
> dspace
> .cfg for (log.init.config)
>      [java] Error:
>      [java]  - ERROR: duplicate key value violates unique constraint 
> "bitstreamf
> ormatregistry_short_description_key"
>      [java]   Detail: Key (short_description)=(Unknown) already exists.
>      [java] 2013-08-05 11:02:47,351 INFO  
> org.dspace.content.BitstreamFormat @ a
> nonymous::create_bitstream_format:bitstream_format_id=81
>      [java] 2013-08-05 11:02:47,382 INFO  
> org.dspace.content.BitstreamFormat @ a
> nonymous::update_bitstream_format:bitstream_format_id=81
>      [java] 2013-08-05 11:02:47,398 FATAL 
> org.dspace.administer.RegistryLoader @
>  anonymous::error_loading_registries:
>      [java] org.postgresql.util.PSQLException: ERROR: duplicate key value 
> violat
> es unique constraint "bitstreamformatregistry_short_description_key"
>      [java]   Detail: Key (short_description)=(Unknown) already exists.
>      [java]     at 
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse
> (QueryExecutorImpl.java:2103)
>      [java]     at 
> org.postgresql.core.v3.QueryExecutorImpl.processResults(Query
> ExecutorImpl.java:1836)
>      [java]     at 
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecuto
> rImpl.java:257)
>      [java]     at 
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJ
> dbc2Statement.java:512)
>      [java]     at 
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(
> AbstractJdbc2Statement.java:388)
>      [java]     at 
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(Abs
> tractJdbc2Statement.java:334)
>      [java]     at 
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUp
> date(DelegatingPreparedStatement.java:105)
>      [java]     at 
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUp
> date(DelegatingPreparedStatement.java:105)
>      [java]     at 
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUp
> date(DelegatingPreparedStatement.java:105)
>      [java]     at 
> org.dspace.storage.rdbms.DatabaseManager.executeUpdate(Databa
> seManager.java:1311)
>      [java]     at 
> org.dspace.storage.rdbms.DatabaseManager.update(DatabaseManag
> er.java:725)
>      [java]     at 
> org.dspace.content.BitstreamFormat.update(BitstreamFormat.jav
> a:601)
>      [java]     at 
> org.dspace.administer.RegistryLoader.loadFormat(RegistryLoade
> r.java:183)
>      [java]     at 
> org.dspace.administer.RegistryLoader.loadBitstreamFormats(Reg
> istryLoader.java:138)
>      [java]     at 
> org.dspace.administer.RegistryLoader.main(RegistryLoader.java
> :75)
>
> BUILD FAILED
> C:\dspace-3.2-src-release\dspace\target\dspace-3.2-build\build.xml:850: 
> Java ret
> urned: 1
>
> Total time: 24 seconds
>
> C:\dspace-3.2-src-release\dspace\target\dspace-3.2-build>
>
>  
>
> Mrs. Chitralekha Mahesh Chitale
> Librarian, LTCE, Navi Mumbai, India.
>
>  
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to