-
Notifications
You must be signed in to change notification settings - Fork 917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get Elk started #364
Comments
My first thought is that the local volumes that you’re bind-mounting could be missing files that are needed to start the services. Specifically, this error message
makes this line of your compose suspicious:
In the default image, the
I’m guessing that your host’s
If nothing else, at least it should sort out the very first error message that you’re seeing 😄 |
Sorry, missed your question. The way Docker’s volume mounting system works, it’s actually the other way round, so to speak: the host’s files/directories replace the ones in the image. |
@spujadas TY, I got it up! : D I don't know why, but I had already tried that with the standalone ES container and it wouldn't work. I decided to try your ELK thinking it was all already gonna work out of the box, and copy basic files into my mounted folders and i could go from there (it didnt, as per my original question). I copied the same es.yml I was already using and mounted it in elk ... and it worked! lol I just have a couple of quick questions now, if you dont mind?
I apologize for so many questions, but I'm new to all of this, and I figure you know this stuff like the back of your hand so the questions would be easy. :) *I found this, so the last question is answered :) |
Glad to hear you got it working 👍
Same for ELK, you can just pull
Since version 5, each image contains the same version of Elasticsearch, Logstash, and Kibana, so same answer as above.
In the image, Kibana’s config file is
The link that you found points to my outdated ELKX image, so not sure if that will actually help you. |
OK, again, TYVM for the help! I wasn't sure of copying the kibana.yml from the repo, since I tried that with the jv.options file while messing with the standalone ES, and got errors, because I think the file gets some values written to it when it starts running and the "raw" file only has tokens as placeholders in it. Yes, my next step is to add security. I also had issues trying to do THAT in standalone, due to having to mount the .keystore, and then persimmons for it, and ... on and on and on .... ugggghhh, lol. |
Yep, setting up security is definitely not for the faint of heart :laugh: I’ve just updated the repository and the image with the latest version of the ELK stack, namely 8.1.0, if you want to give it a spin. (And closing this issue.) |
Thank you! I just upgraded and so far, so good! I had a couple small issues when using the
but just doing a quick restart using the and then I got this error:
But for now (until I wrestle with security) manually setting it to false in the config solved it. Then, I was getting a page full of these in the log:
No idea what that is or was, but it seems to have sorted itself out (at least for now; no idea if it'll show up again at some point) Other than that, everything seems to be going great, ty for maintaining this! :) |
I'm using Docker Desktop in WSL2 and for the life of me I can't get it running, can anyone tell me what's wrong?
My compose:
First thing that happens straight away is this:
And then nothing gets written to any of the mounted volumes, or the log. No config files, nothing. I checked permissions for the config directories, and they are all root (is that correct?).
I'm not very well versed in linux and am still learning. Shouldn't the config files, including the
jvm.options
file automatically get written/copied to the mounted volumes?When I followed your instructions and did this:
and:
it seems to run fine, so I'm thinking something is wrong with my compose? But I cant sort it out. Can anyone help me?
The text was updated successfully, but these errors were encountered: