Comments (10)
@drewmiranda-gl Thank you so much - that did it. I'm sorry I had missed that note in the readme.
from docker-compose.
@drewmiranda-gl We have the Readme in the repo itself on the root level which gives some DataNode specific infos and also the DataNode section in the regular docs. What would you suggest? Do you think an additional comment like If you're new to the DataNode, please read the docs.
would be helpful or add a complete paragraph about setup?
edit: btw, we already agreed that the initial basic auth dialog needs improvement and shows a welcome page and some additional info before we ask for a password the first time. Would that be enough?
from docker-compose.
My thinking is having a one line comment in the compose file itself will ensure that anyone who runs it will at least get a hint that they need to look at the server log to obtain that first run password.
If the login dialog could also contain that same message that would also be useful. I can only assume that because we are asking users to set an admin password (either in the docker compose file, or in the server.conf itself but thats unrelated to this specific GH issue) they are confused that the password they set doesn't work and they need to go somewhere else to get the correct password.
Appreciate y'all's hard work on this!
from docker-compose.
Apologies if I'm in the wrong place, but I'm a confused user, and my problem appears to be with the DataNode. Specifically, I'm getting this error at first install, and the DataNode container is continuously rebooting.
[Timestamp] ERROR [CmdLineTool] Startup error:
org.graylog2.bootstrap.preflight.PreflightCheckException: /proc/sys/vm/max_map_count value should be at least 262144 but is 65530 (set via "vm.max_map_count" sysctl)
I am able to log into the preflight, but I get stuck at the provisioning step because graylog can't find the datanode. Can I fix that in the container? Thanks in advance for your help.
from docker-compose.
@MSchantz what operating system and OS version are you using?
from docker-compose.
@drewmiranda-gl Linux - Ubuntu 22.04.4 LTS
from docker-compose.
@MSchantz I just tested on Ubuntu 22 and replicated the exact same error. I found a suggestion that said to configure that setting on the host that the docker container runs on. I tested this and that seemed to resolve the issue:
sudo sysctl -w vm.max_map_count=262144
echo 'vm.max_map_count=262144' | sudo tee -a /etc/sysctl.conf
It looks like this isn't spelled out very clearly, but it is in the readme via https://github.com/Graylog2/docker-compose?tab=readme-ov-file#configure-your-os
from docker-compose.
For the internal graylog folks, can we add a note/comment in the docker compose files to make sure this is more obvious and more clear? Ideally offering an example for at least Debian (e.g. Debian, Ubuntu) and Redhat (e.g. RHEL, Centos, Alma, Rockey) based distros.
from docker-compose.
I was confused by this change as well.
Currently we are using OpenSearch 2.5 and when there is an update I check the docker-compose files here to see if you recommend any new settings.
However from what I've seen here and in the documentation I can just ignore the section for the DataNode because there is no migration path?
from docker-compose.
We have the Readme in the repo itself on the root level which gives some DataNode specific infos and also the DataNode section in the regular docs. What would you suggest? Do you think an additional comment like
If you're new to the DataNode, please read the docs.
would be helpful or add a complete paragraph about setup?
Reading the docs would be helpful if there was relevant information in the docs, but I couldn't find anything in the docs or the forums about how to find the initial password. Somehow this issue has been open for 6 months when all you need is one extra command to find the initial password...
For anyone else struggling, use: docker logs <containerID>
to get the initial password
from docker-compose.
Related Issues (20)
- The connection does not work after opensearch is replaced with datanode. HOT 19
- Error on Data-Node after provision certificate HOT 4
- Opensearch is not available after provision certificate HOT 10
- Email configuration doesn't apply HOT 1
- OpenSearch/Elasticsearch is not available. HOT 9
- confusing documentation HOT 2
- SSL Certificate Hostname Verification Issue with Graylog in Docker Environment HOT 3
- The graylog/graylog-datanode:5.2 docker image is not starting correctly returning an error max_map_count value should be at least 262144 but is 65530 HOT 3
- Cannot connect to data node HOT 1
- datanode won't restart after hitting flood-stage watermark HOT 13
- DataNode: Failed to load keystore from Mongo collection for node GRAYLOG CA HOT 2
- Node API Browser uses Docker internal IP HOT 1
- The signing key's size is 208 bits which is not secure enough HOT 4
- How to connect to Data Node to fix long messages not logged HOT 5
- Facing error org.graylog2.bootstrap.CmdLineTool - Startup error HOT 1
- certificates expired for datanode after long downtime HOT 5
- How to generate password and SHA2 in Windows? HOT 1
- docker compse max_map_count value should be at least 262144 but is 65530 HOT 2
- Add to readme which folder may be used for single node use HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-compose.