ragnarok
ragnarok

Reputation: 31

Errors when building DSpace 6.3 Mirage2 theme on Ubuntu 18.04

I am trying to install DSpace 6.3 on an Amazon LightSail instance running Ubuntu 18.04. When running the mvn package -Dmirage2.on=true command, I get the following error, which I am unable to resolve using suggestions available in forums online.

[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project xmlui-mirage2: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 137 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize (default) on project xmlui-mirage2: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.6:initialize failed: Java returned: 137

Detailed debug output is at https://pastebin.com/vgbyp6Cc.

I have done the following before running the mvn package -Dmirage2.on=true command, as per instructions from https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace:

Upon encountering the error, I've tried the following as per recommendations online:

None of these seem to be able to resolve the issue.

UPDATE

Increasing the memory from 512MB to 1GB as suggested seems to have mostly solved the issue. But I'm still getting a few of the same error messages reported at https://jira.duraspace.org/browse/DS-4115 though. The DSpace application, however, appears to load fine despite these errors.

bower bootstrap-sass-official#3.3.0 invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap-sass-official#3.3.0 invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap-sass-official#3.3.0 invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap-sass-official#3.3.0 invalid-meta The "main" field cannot contain font, image, audio, or video files
bower bootstrap-sass-official#3.3.0 invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["assets/javascripts/bootstrap/affix.js","assets/javascripts/bootstrap/alert.js","assets/javascripts/bootstrap/button.js","assets/javascripts/bootstrap/carousel.js","assets/javascripts/bootstrap/collapse.js","assets/javascripts/bootstrap/dropdown.js","assets/javascripts/bootstrap/tab.js","assets/javascripts/bootstrap/transition.js","assets/javascripts/bootstrap/scrollspy.js","assets/javascripts/bootstrap/modal.js","assets/javascripts/bootstrap/tooltip.js","assets/javascripts/bootstrap/popover.js"]

Upvotes: 1

Views: 1366

Answers (1)

Adán
Adán

Reputation: 381

137=128+9, which means some other process has sent you a signal 9, which is SIGKILL. can it be a memory issue?

As Dspace documentation say about a minimal instalation (https://wiki.duraspace.org/display/DSPACE/User+FAQ#UserFAQ-WhatsortofhardwaredoesDSpacerequire?Whataboutsizingtheserver?HowmuchdiskspacedoIneed?) I would need:

2-3 GB of Random Access Memory (RAM)

  • 1GB for Tomcat (e.g. "TOMCAT_OPTS=-server -Xms1024M -Xmx1024M -XX:MaxPermSize=128M -Dfile.encoding=UTF-8")
  • 1GB for Database (PostgreSQL or Oracle).
  • Keep in mind your Operating System also needs some memory to function. So, while DSpace may only need ~2GB of memory, you should ensure the computer itself has at least 3-4GB of RAM available overall.
  • 20 GB of Storage (or roughly enough storage for all the files you wish to store in DSpace)

Upvotes: 0

Related Questions