Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

'docker-compose -f setup.yml' fails one container #88

@falquan

Description

@falquan

When running

docker-compose -f setup.yml up

to initially setup the stack, one container will fail, usually setup_apm_server, with the following error:

setup_1  | setup_apm_server       | Exiting: fail to create the Kibana loader: Error creating Kibana client: Error creating Kibana client: fail to get the Kibana version: HTTP GET request to /api/status fails: <nil>. 

Response: {"statusCode":409,"error":"Conflict","message":"[doc][config:6.6.0]: version conflict, document already exists (current version [1]): [version_conflict_engine_exception] [doc][config:6.6.0]: version conflict, document already exists (current version ... (truncated).

Executing the standard docker-compose up -d to start the stack results in the stack being down, unable to login to Kibana at http://localhost:5601.

If the ELASTIC_PASSWORD env var is (re)set and setup is rerun for that service, e.g.:

docker-compose -f docker-compose.yml -f docker-compose.setup.yml up setup_apm_server

as per the setup.sh file, the container will complete, compose can be executed, and the stack can be pulled up.

This is running with no tags, the standard 6.6.0 currently used if the repo is cloned.

Running on:

ProductName:	Mac OS X
ProductVersion:	10.14.1
BuildVersion:	18B75
Docker version 18.09.2, build 6247962

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions