bj1116
(Bj1116)
May 11, 2017, 9:33am
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
(Jochen)
May 11, 2017, 9:34am
2
Does the build fail? Because these messages are “normal” and will not lead to a build failure.
bj1116
(Bj1116)
May 11, 2017, 9:36am
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
(Jochen)
May 11, 2017, 9:48am
4
Has the web interface been built? You can check this in ./graylog2-web-interface/build/
.
How exactly did you start Graylog?
bj1116
(Bj1116)
May 11, 2017, 10:24am
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
(Jochen)
May 11, 2017, 10:36am
6
This sounds a lot like this:
Hey Stephen,
the reason is that your build runs as root. npm refuses to perform script tasks when run as root, which is necessary for the graylog-web-plugin module to be transpiled properly. Please run your build as a non-privileged user.
Kind regards,
D.
Make sure to not build Graylog as root
user.
bj1116
(Bj1116)
May 11, 2017, 10:50am
7
oh , I will try it tomorrow ,thank you very much.
bj1116
(Bj1116)
May 11, 2017, 11:21am
8
it’s ok ,thank you , jochen !
system
(system)
Closed
May 25, 2017, 11:33am
9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.