-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
APM server does not start with default configuration #87
Comments
Hello @dama-de , Is there anything missing in your steps that could help us reproduce the issue and identify the root cause? |
I'm getting the same error. I also ran
I'm running on Win 10, Docker version 20.10.21, build baeda1f, Docker version 20.10.21, build baeda1f |
Have you tried to fix the permission on the local config file as the error message suggests? |
@mostafahussein cannot update the permissions of local config i tried
it responds with:
the container status is |
By the local config, I mean this file https://github.com/sherifabdlnaby/elastdocker/blob/main/apm-server/config/apm-server.yml, you don't need to enter the container to update the permission, just modify the original file and it will be mounted by docker compose, lets see if this will fix the issue or not |
Fixed Thank you ya @mostafahussein |
I tried modifying the original file by adding a benign white-space on windows, and that didn't work So this is still an issue for me. |
So I think found a workaround... I was able to resolve this error by adding So for example:
Read this issue for more info: Read this post for more info: elastic/apm-server#3042 |
Describe the bug
While setting up elastdocker today, I noticed that the recently added APM server logs an error about the config file having the wrong permissions. I was able to fix this by running
chmod g-w apm-server/data/apm-server.yml
, this command could be included into the setup scripts. There is an alternative method via env var described in elastic/beats#18858.To Reproduce
Spin up the default v3.2.0 elastdocker stack.
Expected behavior
APM server starts without errors.
Screenshots
Additional context
I'm running on Ubuntu Server 20.04, Docker version 20.10.21, Docker Compose version 2.12.2.
The text was updated successfully, but these errors were encountered: