documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Improve Documentation For log4j2.xml

Open joschi opened this issue 8 years ago • 4 comments

From @rightisleft on January 20, 2017 16:18

When looking at bug Graylog2/graylog2-server#2996 - the actions do correct the error. However, Your documentation makes the assumption that you check the server prior to downloading the files.

http://docs.graylog.org/en/2.1/pages/installation/docker.html#settings

http://docs.graylog.org/en/2.1/pages/installation/docker.html#persist-log-data

Copied from original issue: Graylog2/graylog2-server#3405

joschi avatar Jan 20 '17 16:01 joschi

@rightisleft Could you please elaborate on the problem? I'm not sure what you'd like to change in the documentation.

joschi avatar Jan 20 '17 16:01 joschi

The #settings block has you start the server.

'After starting the three containers with docker-compose up open your browser with the URL http://127.0.0.1:9000 and login with admin:admin'

However, to not get a startup error, you need to have already downloaded the config files. That action occurs later in #persist-log-data section.

rightisleft avatar Jan 20 '17 16:01 rightisleft

@rightisleft Got it, thanks!

The specific problem is the volume being used in the docker-compose.yml file which isn't being used in http://docs.graylog.org/en/2.1/pages/installation/docker.html#settings, so the documentation is correct in that case.

But that doesn't help people trying to start with the "extended" docker-compose setup (which involves using Docker volumes). 😉

joschi avatar Jan 20 '17 16:01 joschi

Hi, i have the same issue.. volumes: - ./graylog/data/journal:/usr/share/graylog/data/journal - ./graylog/config:/usr/share/graylog/data/config I dont know why they dont get my configuration. Can some one help ?

jhow31 avatar Feb 19 '19 20:02 jhow31