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.

setup-beat.sh: kibana not ready yet but curl gives successfull exit code #66

Description

@mdiehm

Hi,

I tried installing 6.5.1 and encountered the following problem. When setup-beat.sh is run kibana is not ready but returns a string with a message that it's not ready but sends a return code indicating error. We should respect this with the following change and keep waiting.

Worked for me with this fix.

diff --git a/scripts/setup-beat.sh b/scripts/setup-beat.sh
index 2295d6fe..e5833c4c 100755
--- a/scripts/setup-beat.sh
+++ b/scripts/setup-beat.sh
@@ -4,7 +4,7 @@ set -euo pipefail

beat=$1

-until curl -s -k http://kibana:5601; do
+until curl -f -s -k http://kibana:5601; do
echo "Waiting for kibana..."
sleep 5
done

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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