Hi all,
I face an issue while upgrading GrayLog from 2.5 to 3.0.0
I have read many posts about issues in this case, and I’m not able to figure out values I’m supposed to set for the Gui.
I understood that with 3.0, HTTP has been simplified, but at this point, I’m stuck with the “blank” homepage issue.
At this point, I’m wondering about the fact that some settings can be made both in
/usr/share/graylog/data/config/graylog.conf
or in docker-compose. The last, as I understand it, supersedes the graylog.conf file.
exemple :
http_bind_address > in graylog.conf
GRAYLOG_HTTP_EXTERNAL_URI > in docker-compose
So the first question is “how and why can I choose to define the value in one place or another ?”.
My environment goes like this :
Rancher 1.6.26
Traefik 1.7
graylog 3.0.0
elastic search : 5.6.16
mongo:3.4-jessie
Until version 2.5, Traefik made the trick for the port & for https redirect, so my Graylog was reached with this url:
https://graylog.mydomain.com
I want to keep this url (https & no port) with version 3.
The traefik labels are set like this :
traefik.frontend.rule: Host:graylog.mydomain.com
traefik.port: '9000'
traefik.enable: 'true'
traefik.frontend.headers.SSLRedirect: 'true'
My config is like this :
graylog.conf :
http_bind_address = 0.0.0.0:9000
docker-compose.yml :
GRAYLOG_HTTP_BIND_ADDRESS: 0.0.0.0:9000
GRAYLOG_HTTP_PUBLISH_URI=http://graylog.mydomain.com:9000/
GRAYLOG_HTTP_EXTERNAL_URI=http://graylog.mydomain.com:9000/
With this conf, I can reach my server with Rancher ip X.X.X.X:9000 but i’m stuck with blank home page with https://graylog.mydomain.com. The page source is like this :
<script src="http://graylog.mydomain.com/config.js"></script>
<script src="http://graylog.mydomain.com/assets/vendor.4024e2a8db732781a971.js"></script>
<script src="http://graylog.mydomain.com/assets/polyfill.567b98aaba093175141f.js"></script>
<script src="http://graylog.mydomain.com/assets/builtins.567b98aaba093175141f.js"></script>
<script src="http://graylog.mydomain.com/assets/app.567b98aaba093175141f.js"></script>
Thanks for reading me.