Elasticsearch doesn't see data

hello everyone,
I have running elasticsearch in docker container. Data stores like:

"Mounts": [
            {
                "Type": "bind",
                "Source": "/opt/elasticsearch/data",
                "Destination": "/usr/share/elasticsearch/data",
                "Mode": "",
                "RW": true,
                "Propagation": "rprivate"
            },

I stop container and start Elascticsearch like a service. I want to use the data from /opt/elasticsearch/data but Elasticsearch doesn't see any indexes.
Please explain me what I should do to elasticsearch sees the data from /opt/elasticsearch/data

Thanks in advance!

Can you share your entire docker config please.

Did the node itself create the data in the volume you mounted?

Troubleshooting edit-
Fix watermark errors caused by low disk space.
Add a missing tier to the system.
Allow Elasticsearch to allocate the data in the system.
Allow Elasticsearch to allocate the index.
Indices mix index allocation filters with data tiers node roles to move through data tiers.

Regards,
Rachel Gomez

Thanks for your answers!
I found a resolution from these two articles:

command
POST /_cluster/reroute
resolved my problem

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.