Graylog Change logo

Facing this error —

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:npm (npm run build) on project graylog2-server: Failed to run task: ‘npm run build’ failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:npm (npm run build) on project graylog2-server: Failed to run task

someone help on this

Please post the complete output of the build process and elaborate on your setup (version of Java, version of Maven, operating system used to build Graylog).

Used for build:

Os - Ubuntu Desktop 16.04

openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_131, vendor: Oracle Corporation

Facing This error at end of the build after change the logo file graylog2-server/graylog2-web-interface/public/images/toplogo.png:


[INFO] Reactor Summary:
[INFO]
[INFO] Graylog Parent POM … SUCCESS [ 1.430 s]
[INFO] Graylog Project Parent POM … SUCCESS [ 2.017 s]
[INFO] AutoValue JavaBean extension … SUCCESS [ 5.809 s]
[INFO] Graylog … FAILURE [03:33 min]
[INFO] integration-tests … SKIPPED
[INFO] Graylog Plugin Parent POM … SKIPPED
[INFO] Graylog Plugin with Web support Parent POM … SKIPPED
[INFO] graylog-plugin-archetype … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:44 min
[INFO] Finished at: 2017-10-25T14:13:42+05:30
[INFO] Final Memory: 39M/230M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:npm (npm run build) on project graylog2-server: Failed to run task: ‘npm run build’ failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [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] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :graylog2-server


That’s still not the complete build output (including the exact command you have executed to start the build).

@jochen please verify the error log that i am attached here.

Try running the build as another user, i. e. clone the repository as a normal user and run the build not as “root”.

Details:

@jochen such a great guidance thank you so much. it’s works perfectly without any problem.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.