Hi.

I'm trying to install Dspace 5.2 on a Windows Server 2012 R2 64bit machine,
with Mirage2 theme enabled.

I followed the installation instructions from:
https://github.com/DSpace/DSpace/tree/master/dspace-xmlui-mirage2
And
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace

Everything seems to be fine. The final message after the ant fresh_install
command says the process finished ok:

     [echo]  You should then be able to access your DSpace's 'home page':
     [echo]
     [echo]    http://localhost:8080/xmlui
     [echo]
     [echo]
====================================================================
     [echo]

BUILD SUCCESSFUL
Total time: 19 seconds

But I noticed (after several attempts of installing dspace from fresh),
that some problems occured during the installation process.

These are two messages from the command line after BUILD SUCCESSFUL:

[INFO] No proxy was configured, downloading directly
[INFO] Extracting NPM files in node/
[INFO] Unpacking
C:\opt\source\dspace52\dspace52\dspace\modules\xmlui-mirage2\target\themes\Mirage2\npm.tar.gz
into
C:\opt\source\dspace52\dspace52\dspace\modules\xmlui-mirage2\target\themes\Mirage2/node
[INFO] Installed NPM locally.
[INFO] ------ (Mirage2) com.github.eirslett:frontend-maven-plugin:0.0.16:npm
[INFO] Running 'npm install --color=false' in
C:\opt\source\dspace52\dspace52\dspace\modules\xmlui-mirage2\target\themes
\Mirage2
[INFO] npm WARN package.json Mirage2@0.1.1 No description
[INFO] npm WARN package.json Mirage2@0.1.1 No repository field.
[INFO] npm WARN package.json Mirage2@0.1.1 No README data
[INFO]
[INFO] > Mirage2@0.1.1 postinstall
C:\opt\source\dspace52\dspace52\dspace\modules\xmlui-mirage2\target\themes\Mirage2
[INFO] > bower install
[INFO]
[INFO] bower
jqueryuibootstrap#4f3772cd37b898f456c0126c4b44178ce8d4aad7           ENOGIT
git is not installed or not in the PATH
[INFO]
[INFO] npm ERR! Mirage2@0.1.1 postinstall: `bower install`
[INFO] npm ERR! Exit status 1
[INFO] npm ERR!
[INFO] npm ERR! Failed at the Mirage2@0.1.1 postinstall script.
[INFO] npm ERR! This is most likely a problem with the Mirage2 package,
[INFO] npm ERR! not with npm itself.
[INFO] npm ERR! Tell the author that this fails on your system:
[INFO] npm ERR!     bower install
[INFO] npm ERR! You can get their info via:
[INFO] npm ERR!     npm owner ls Mirage2
[INFO] npm ERR! There is likely additional logging output above.
[INFO] npm ERR! System Windows_NT 6.2.9200
[INFO] npm ERR! command
"C:\\opt\\source\\dspace52\\dspace52\\dspace\\modules\\xmlui-mirage2\\target\\themes\\Mirage2\\node\\node"
"C:\\opt\\source\\dspace52\\dspace52\\dspace\\modules\\xmlui-mirage2\\target\\themes\\Mirage2\\node\\npm\\bin\\npm-cli.js"
"install" "--color=false"
[INFO] npm ERR! cwd
C:\opt\source\dspace52\dspace52\dspace\modules\xmlui-mirage2\target\themes\Mirage2
[INFO] npm ERR! node -v v0.10.31
[INFO] npm ERR! npm -v 1.4.23
[INFO] npm ERR! code ELIFECYCLE
[INFO] npm
[ERROR] MojoFailureException:
org.apache.maven.plugin.MojoFailureException: Failed to run task
        at
com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:45)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
        at
com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302)
        at
com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
        at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.
java:51)
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by:
com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'npm
install --color=false' failed. (error code 1)
        at
com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute(NodeTaskExecutor.java:38)
        at
com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:43)
        ... 24 more
[INFO] ------ (Mirage2)
com.github.eirslett:frontend-maven-plugin:0.0.16:grunt
[INFO] Running 'grunt classic_mirage_color_scheme no-compass-prod
--no-color' in C:\opt\source\dspace52\dspace52\dspace\


...


[INFO]
[INFO] Done, without errors.
[INFO] ------ (Mirage2) de.saumya.mojo:gem-maven-plugin:1.0.6:exec
[INFO]     error styles/main.scss (Line 16: File to import not found or
unreadable: ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap.
[INFO] Load paths:
[INFO]   Compass::SpriteImporter
[INFO]
C:/opt/source/dspace52/dspace52/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles
[INFO]
C:/opt/source/dspace52/dspace52/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.3/stylesheets)
[INFO] Compilation failed in 1 files.
[ERROR] PluginManagerException:
org.apache.maven.plugin.PluginExecutionException: Execution null of goal
de.saumya.mojo:gem-maven-plugin:1.0.6:exec failed: Java returned: 1
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:144)
        at
com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302)
        at
com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
        at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.
java:51)
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: Java returned: 1
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
        at
de.saumya.mojo.ruby.script.AntLauncher.doExecute(AntLauncher.java:107)
        at
de.saumya.mojo.ruby.script.AntLauncher.executeIn(AntLauncher.java:141)
        at de.saumya.mojo.ruby.script.Script.executeIn(Script.java:108)
        at de.saumya.mojo.gem.ExecMojo.executeWithGems(ExecMojo.java:106)
        at
de.saumya.mojo.gem.AbstractGemMojo.executeJRuby(AbstractGemMojo.java:469)
        at
de.saumya.mojo.jruby.AbstractJRubyMojo.execute(AbstractJRubyMojo.java:298)
        at
de.saumya.mojo.gem.AbstractGemMojo.execute(AbstractGemMojo.java:222)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
        ... 23 more
[INFO]
[INFO] --- maven-war-plugin:2.4:war (default-war) @ xmlui-mirage2 ---
[INFO] Packaging webapp
[INFO] Assembling webapp [xmlui-mirage2] in
[C:\opt\source\dspace52\dspace52\dspace\modules\xmlui-mirage2\target\xmlui-m

And this is the result on the navigator:

[image: Imágenes integradas 1]


I've installed the same Dspace version and prerequisites on Linux, without
any problem.

Does anyone know how to solve this issue?

Best regards

Bender
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to