Problem with install DSpace V6.3/Mirage2 - ¿compass?

154 views
Skip to first unread message

Jose Texier

unread,
Aug 21, 2021, 12:35:26 PM8/21/21
to DSpace Community
Hello everybody

I'm trying to install DSpace V6.3 on my "production server" with the Mirage2 theme but I get a problem. In the installation of the "production server" without Mirage 2 I had no problems.

The installation in the "development server" went well, both in the DSpace with Mirage2 and the normal one.

The error that I get on the production server is this:
Running "compass: prod" (compass) task
Warning: Command failed: compass --version
/usr/lib/ruby/2.7.0/rubygems.rb:275:in `find_spec_for_exe ': can't find gem compass (> = 0.a) with executable compass (Gem :: GemNotFoundException)
        from /usr/lib/ruby/2.7.0/rubygems.rb:294:in `activate_bin_path '
        from / usr / local / bin / compass: 23: in `<main> '
 Use --force to continue.

Aborted due to warnings.
...
...
[INFO] ----------------------------------------------- -------------------------
[INFO] Reactor Summary for DSpace Parent Project 6.3:
[INFO]
[INFO] DSpace Parent Project .............................. SUCCESS [0.660 s]
[INFO] DSpace Services Framework :: API and Implementation SUCCESS [2,503 s]
[INFO] DSpace Kernel :: API and Implementation ............ SUCCESS [9,842 s]
[INFO] DSpace Addon Modules ............................... SUCCESS [0.005 s]
[INFO] DSpace Kernel :: Additions and Local Customizations SUCCESS [0.241 s]
[INFO] DSpace XML-UI (Manakin) ............................ SUCCESS [4.729 s]
[INFO] DSpace XML-UI Mirage2 Theme ........................ SUCCESS [0.127 s]
[INFO] DSpace XML-UI Mirage2 Theme :: Local Customizations FAILURE [20,789 s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations .... SKIPPED
[INFO] DSpace JSP-UI ...................................... SKIPPED
...
...
[ERROR] Failed to execute goal com.soebes.maven.plugins: iterator-maven-plugin: 0.3: iterator (default) on project xmlui-mirage2: Command execution failed .: Process exited with an error: 6 (Exit value: 6 ) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf: xmlui-mirage2



The command in linux that I am using is:
mvn clean package -Dmirage2.on = true -Dmirage2.deps.included = false

And the versions of the packages I have are:
npm -v
3.10.3
nvm --version
0.38.0
node -v
V10.19.0
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]
bower 1.8.12
Sass 3.3.14 (Maptastic Maple)
Compass 1.0.1 (Polaris)
grunt-cli v1.3.2
grunt v1.0.4

The pom.xml in "dspace/modules/xmlui-mirage2/pom.xml" has this:
        <sass.version> 3.3.14 </sass.version>
        <compass.version> 1.0.1 </compass.version>
        <node.version> 10.19.0 </node.version>
        <npm.version> 3.10.3 </npm.version>



Also try installing with Dmirage2.deps.included to true:
mvn clean package -Dmirage2.on = true -Dmirage2.deps.included = false

And I get this error:
...
...
[WARNING] ERROR: Error installing /home/ubuntu/.m2/repository/rubygems/chunky_png/1.4.0/chunky_png-1.4.0.gem:
[WARNING] chunky_png requires Ruby version> = 2.0.
[INFO] Successfully installed rb-fsevent-0.11.0
[WARNING] ERROR: Error installing /home/ubuntu/.m2/repository/rubygems/rb-inotify/0.10.1/rb-inotify-0.10.1.gem:
[WARNING] rb-inotify requires Ruby version> = 2.2.
[WARNING] ERROR: Error installing /home/ubuntu/.m2/repository/rubygems/ffi/1.15.3/ffi-1.15.3.gem:
[WARNING] ffi requires Ruby version> = 2.3.
[INFO] 6 gems installed


Any suggestions to be able to do the installation on the "production server" for DSpace V6.3 with Mirage2.

Thanks.
Jose Texier

florbo...@gmail.com

unread,
Sep 27, 2021, 10:34:00 AM9/27/21
to DSpace Community
Hi, 
I hope you have solved the problem, but if not:
I've this error, the solution to me was to add in pom.xml this:
<jruby.version>9.1.17.0  </jruby.version>
And then run sudo mvn clean package -Dmirage2.on = true



pom.jpeg

Thư viện Đại học VH,TT&DL Thanh Hóa

unread,
Oct 7, 2021, 7:43:42 AM10/7/21
to DSpace Community
I am writing to talk about dspace database connection problem. I have used windows server 2008 r2 to administer the dspace database, but do not know how to configure the data for online access. I look forward to receiving your guidance on using static IP addresses to access online databases for faculty and students in the school. Looking forward to your feedback Best regards Trinh Tat Dat, from VietNam

Vào lúc 21:34:00 UTC+7 ngày Thứ Hai, 27 tháng 9, 2021, florbo...@gmail.com đã viết:
Reply all
Reply to author
Forward
0 new messages