Compile ERROR for graylog2-server when mvn package


(Bj1116) #1

Expected Behavior

Want to package successful with command "mvn package -Dmaven.test.skip=true"
Current Behavior

Have package successful ,but can’t display the login page , and have some error :

[ERROR] clean-webpack-plugin: /opt/graylog2-server-2.2.3/graylog2-web-interface/build/vendor.*.js has been removed.
[ERROR] ts-loader: Using typescript@1.8.10 and /opt/graylog2-server-2.2.3/graylog2-web-interface/tsconfig.json

Your Environment

JDK Version: 1.8
Maven Version: 3.2
Graylog Version: 2.2.3
Elasticsearch Version: 2.4.5
MongoDB Version: 3.2.12
Operating System: CentOS 7.3
Browser version: Firefox

(Jochen) #2

Does the build fail? Because these messages are “normal” and will not lead to a build failure.


(Bj1116) #3

But i run the graylog2-server-2.2.3-shaded.jar ,can’t display the login page .
Have any other configuration?
Thank you!


(Jochen) #4

Has the web interface been built? You can check this in ./graylog2-web-interface/build/.

How exactly did you start Graylog?


(Bj1116) #5

yes , have been build ,
I have a vm and import with graylog-2.2.3-1.ova ,and it is successful ,
then i replaced the graylog.jar with my new package graylog2-server-2.2.3-shaded.jar and rename it , restart the graylog service with "sudo graylog-ctl start " ,but can’t open the login page .


(Jochen) #6

This sounds a lot like this:

Make sure to not build Graylog as root user.


(Bj1116) #7

oh , I will try it tomorrow ,thank you very much.


(Bj1116) #8

it’s ok ,thank you , jochen !


(system) #9

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