-
Notifications
You must be signed in to change notification settings - Fork 13
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
Docker Compose example goes to Silent Configuration Mode Failed. is it problem in elastic search? #239
Comments
Perhaps related to #191 |
Because Elastic starts up and binds to a non localhost address, in this case
One of the bootstrap checks fail and it shuts down.
In the Perhaps that file is not getting read in or something, can you do a directory listing to show all of the file permissions on the |
@robotdan, I'm pretty sure I have correct env file, please take a look: env:
docker-compose.yml
Starting docker compose:
checking logs
|
Strange, it seems to be sort picking up two sets of Java args. The startup of ES shows
The So this then makes sense of the error from Elasticsearch, the
So it looks like there are some collisions here on the VM configuration options. To test a work-around can you try the following? Test 1:Modify your Example: Expectation, unclear, it may work and override the values from Test 2:Modify your Example: Expectation: Startup is ok, and Elastic will show |
It looks like Elasticsearch does pick up both But in theory the VM should be only accepting the right most defined value which is how Elasticsearch is expecting it to work. So in theory we should be seeing We could try changing how we set this via the compose file, it looks like many of the examples I see for Elasticsearch use a YML array instead of an object for environment. https://discuss.elastic.co/t/setting-heap-size-at-docker-compose/156326 |
Update Elastic search version Update ES_JAVA_OPTS default to 512 (based on the elastic search recommendataions)
@robotdan Daniel, honestly, I did not understand much from what you told to me ... but I played with elastic search for a little bit and found docker image which works, (at least for me) Please take a look on my pull request above |
To summarize it means what I'm observing is the expected behavior and Java / Elasticsearch should handle the duplicate Java properties on the command line. So if it isn't working there may be an issue with our we are exporting the environment variable in the I'll take a look at your PR. |
Re: webdeveloppro/fusionauth-containers@4aed574 I'll have to test to verify, but perhaps just changing the way the environment variables are defined in the For example, the existing way they are defined in the
And the way you have it in the PR, the values are defined in YML as an array instead of an object as they are currently.
|
@robotdan and, my guess, if you are using zsh you will not face that problem |
Yes, I am using Thanks for the help debugging this issue! |
Docker Compose example goes to Silent Configuration Mode Failed during an attempt to start fusionauth. is it a problem in elastic search?
Description
Seems like default installation instruction is broken or some of the docker images are not assembled correctly
Steps to reproduce
https://fusionauth.io/docs/v1/tech/installation-guide/docker
Logs:
db: db.txt
fusionauth:
fusionauth_1.txt
elastic:
fus_search_1.txt
Seems like elastic search are not able to start for some reason?
also, fusionauth logs do not look okay:
Platform
Additional context
The product looks promising, appreciate your work!
I just wish it would be more easy to run it locally
The text was updated successfully, but these errors were encountered: