4Science / DSpace

This repository contains the 4Science optimized DSpace & DSpace-CRIS distribution.
https://wiki.lyrasis.org/display/DSPACECRIS/
BSD 3-Clause "New" or "Revised" License
43 stars 62 forks source link

Clarify installation instructions #255

Open jan356 opened 2 years ago

jan356 commented 2 years ago

Please clarify the installation instructions.

I would like to propose the following changes to the document "dspace-cris7-2021_03_00-technical-documentation.pdf" (https://github.com/4Science/DSpace/releases/download/dspace-cris-2021.03.00/dspace-cris7-2021_03_00-technical-documentation.pdf).

Change paragraph "Getting started" on page 8 of the pdf files as follows.

[heading] New installation: To do a fresh install of DSpace-CRIS follow the following steps:

  1. download the rest backend from https://github.com/4Science/DSpace/releases/tag/dspace-cris-2021.03.00
  2. download the angular frontend from https://github.com/4Science/DSpace-angular/releases/tag/dspace-cris-2021.03.00
  3. follow the backend and frontend installation instructions from https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace
  4. [followed by the text in the pdf document, starting from "DSpace-CRIS provides convenient scripts..." until "... and security via the configuration tool."]

Please note that for a new installation, no sources need to be downloaded from the original DSpace on https://github.com/DSpace/DSpace/releases or https://github.com/DSpace/dspace-angular/releases.

[heading] Upgrading an existing DSpace installation to a DSpace-CRIS installation [steps necessary to accomplish this. is this possible anyway?]

Please make sure that a click on an entry in the table of contents results in the reader being taken to that place in the document. Now, the reader is taken to a page about 1 page before the desired location.

Thanks!

hadidoun commented 2 years ago

Hello, I tried to upgrade an existing Dspace installation to a Dspace-CRIS installation but seems not working when doing "ant update".

I think the problem is related to database testing ...

/var/Dspace-7-src/DSpace-dspace-cris-2021.02.02/dspace/target/dspace-installer/build.xml:770: Java returned: 1

test_database: [java] Failure during kernel init: Error creating bean with name 'org.dspace.importer.external.service.ImportService' defined in URL [jar:file:/var/Dspace-7-src/DSpace-dspace-cris-2021.02.02/dspace/target/dspace-installer/lib/dspace-api-cris-2021.02.02.jar!/spring/spring-dspace-addon-import-services.xml]:

Error creating bean with name 'grobidImportMetadataSourceService': Unsatisfied dependency expressed through field 'grobidClient'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.iiif.canvasdimension.factory.IIIFCanvasDimensionServiceFactoryImpl] for bean with name 'iiifCanvasDimensionServiceFactory' defined in file [/dspace/config/spring/api/iiif-processing.xml]

Error creating bean with name 'org.dspace.importer.external.service.ImportService' defined in URL [jar:file:/var/Dspace-7-src/DSpace-dspace-cris-2021.02.02/dspace/target/dspace-installer/lib/dspace-api-cris-2021.02.02.jar!/spring/spring-dspace-addon-import-services.xml]

Error creating bean with name 'grobidImportMetadataSourceService': Unsatisfied dependency expressed through field 'grobidClient'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.dspace.iiif.canvasdimension.factory.IIIFCanvasDimensionServiceFactoryImpl] for bean with name 'iiifCanvasDimensionServiceFactory' defined in file [/dspace/config/spring/api/iiif-processing.xml]

Error creating bean with name 'org.dspace.importer.external.service.ImportService' defined in URL [jar:file:/var/Dspace-7-src/DSpace-dspace-cris-2021.02.02/dspace/target/dspace-installer/lib/dspace-api-cris-2021.02.02.jar!/spring/spring-dspace-addon-import-services.xml]

Exception in thread "main" java.lang.IllegalStateException: Failure during kernel init: Error creating bean with name 'org.dspace.importer.external.service.ImportService' defined in URL [jar:file:/var/Dspace-7-src/DSpace-dspace-cris-2021.02.02/dspace/target/dspace-installer/lib/dspace-api-cris-2021.02.02.jar!/spring/spring-dspace-addon-import-services.xml