lephisto / pfsense-analytics

Pfsense Analytics w/ Graylog, Elasticsearch, InfluxDB and Grafana fully dockerized for Firewall and DPI..
GNU General Public License v3.0
157 stars 56 forks source link

pfanalytics_graylog docker container restarts indefinitely #65

Closed jabberwock closed 2 years ago

jabberwock commented 2 years ago

Hi there. I am not sure what to do about this. The other containers appear to be running, by pfanalytics_graylog restarts about every minute:

> docker ps
CONTAINER ID   IMAGE                                                  COMMAND                  CREATED          STATUS                          PORTS                                                 NAMES
bd6504a21116   pfanalytics_graylog                                    "/usr/bin/tini -- wa…"   18 minutes ago   Restarting (1) 10 seconds ago                                                         pfanalytics_graylog_1
3bb3b59bd1d8   grafana/grafana:latest                                 "/run.sh"                18 minutes ago   Up 18 minutes                   0.0.0.0:3000->3000/tcp, :::3000->3000/tcp             pfanalytics_grafana_1
543a7ad96a8c   lmenezes/cerebro                                       "/opt/cerebro/bin/ce…"   18 minutes ago   Up 18 minutes                   0.0.0.0:9001->9000/tcp, :::9001->9000/tcp             pfanalytics_cerebro_1
1acf0c958b93   influxdb:latest                                        "/entrypoint.sh infl…"   18 minutes ago   Up 18 minutes                   0.0.0.0:8086->8086/tcp, :::8086->8086/tcp             pfanalytics_influxdb_1
58d278175a0d   mongo:4.2                                              "docker-entrypoint.s…"   18 minutes ago   Up 18 minutes                   27017/tcp                                             pfanalytics_mongodb_1
1cdd94bac26a   docker.elastic.co/elasticsearch/elasticsearch:7.11.1   "/bin/tini -- /usr/l…"   18 minutes ago   Up 18 minutes                   0.0.0.0:9200->9200/tcp, :::9200->9200/tcp, 9300/tcp   pfanalytics_elasticsearch_1

Has anyone else experienced this?

OS Info: Ubuntu 20.04.4 LTS Linux redacted 5.13.0-40-generic #45~20.04.1-Ubuntu SMP Mon Apr 4 09:38:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

signaleye commented 2 years ago

Same Problem...please look at it

Nightsun33 commented 2 years ago

Hi. I tried checking the docker logs of the graylog container, and it was constantly coming up with errors for my password length. The Graylog.env password needed to be at least 16 characters long. After the change, the container started up properly. Hope this helps out.

signaleye commented 2 years ago

Ohh. Hmm. The password its coming with was O think 16 so. Ove also let it with the default settings and no success. Gonna try it again

jabberwock commented 2 years ago

Confirmed @Nightsun33 solution. I didn't read closely. Thank you. It might help other users to call this requirement out in the README.md.

Closing.