OpenSearch-Dashboards: [BUG] OpenSearch Dashboards server is not ready yet

I am following the instructions at https://opensearch.org/docs/latest/quickstart/, but can’t get the Dashboards component working.

I installed Docker, Docker compose, and the plugins. I downloaded the docker compose yaml file from Opensearch. I ran docker compose.

Opensearch is up and running, but the dashboard cannot be opened. The message on http://localhost:5601/ is “OpenSearch Dashboards server is not ready yet”.

The relevant log lines are:

{"type":"log","@timestamp":"2023-07-25T09:56:38Z","tags":["error","opensearch","data"],"pid":1,"message":"[resource_already_exists_exception]: index [.kibana_1/SVgoRGdSRBaQXa-adE98Sg] already exists"}
{"type":"log","@timestamp":"2023-07-25T09:56:38Z","tags":["warning","savedobjects-service"],"pid":1,"message":"Unable to connect to OpenSearch. Error: resource_already_exists_exception: [resource_already_exists_exception] Reason: index [.kibana_1/SVgoRGdSRBaQXa-adE98Sg] already exists"}
{"type":"log","@timestamp":"2023-07-25T09:56:38Z","tags":["warning","savedobjects-service"],"pid":1,"message":"Another OpenSearch Dashboards instance appears to be migrating the index. Waiting for that migration to complete. If no other OpenSearch Dashboards instance is attempting migrations, you can get past this message by deleting index .kibana_1 and restarting OpenSearchDashboards."}

I have tried the approaches mentioned here and in StackOverflow or elsewhere:

curl -XDELETE http://localhost:9200/.kibana_1 and related commands have no effect.

Some have suggested restarting kibana, which confuses me: kibana is not installed, as far as I know.

Do I need to go into the docker container and delete or change something in there? If so, how do I do that?

If it’s relevant, I had Elasticsearch installed on this machine, a VM, a few years ago. I removed it with yum. Maybe there are still some settings hiding deep in my machine. Where do I look for them and delete them?

OpenSearch Version 2.8.0, latest docker-compose version

Dashboards Version 2.8.0, latest docker-compose version

Plugins Whatever the docker yaml installed

Screenshots

image

  • OS: Centos 7
  • Browser and version Chrome/Firefox

Many thanks for any troubleshooting tips you can provide.

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 2
  • Comments: 19 (4 by maintainers)

Most upvoted comments

Hello,

We decided to go with a different product because of this issue. We encountered it on a fresh install following the getting started documents. Hope you folks can fix it!