4Science / dspace-docker

Docker images for dspace & dspace-cris (experimental)
BSD 3-Clause "New" or "Revised" License
6 stars 8 forks source link

The directory is empty #8

Open rutame opened 6 years ago

rutame commented 6 years ago

Hello! May be I do not understud, but the proccess is not downloading all files, just a few kilobytes. Why?

firecyberice commented 6 years ago

Which process do you mean?

rutame commented 6 years ago

captura Ok, I will try to explain:

docker-compose up -d

This should download all the images (I think): make web server Apache/tomcat; Database Postgres; and the Dspace itself, right?

I mean all the commands from Dockerfile, the evinronment.. It is starting only postgres, see the image above.

firecyberice commented 6 years ago

Replace the lines with: image: 4science/dspace-cris:cris-5.8.0 then a prebuild image from the dockerhub is used and you do not need to build dspace on your own. I tried the commands from the README.md on my machine and it starts pulling the maven image to build everyting.

rutame commented 6 years ago

Thank you! All right! it is done, but how I work with the dspace files then? because I need change the design and some files

rutame commented 6 years ago

At least on Docker for Windows, this does not work. I get error message so:

ERROR [org.springframework.web.context.ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'researcher' defined in ServletContext resource [/WEB-INF/spring/applicationContext-rp.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.dspace.app.cris.util.Researcher]: Constructor threw exception; nested exception is java.lang.IllegalStateException: DSpace kernel cannot be null

prueba