I'm getting the error
"java.nio.file.FileSystemException: /usr/share/elasticsearch/data/nodes/0: Not a directory"
But if I change "/usr/share/elasticsearch/data" to "/usr/share/elasticsearch", I instead receive this error:
"/usr/local/bin/docker-entrypoint.sh: line 49: /usr/share/elasticsearch/bin/elasticsearch-env-from-file: No such file or directory"
@JackieLaFrite Have you been able to find a solution/workaround for this problem yet by any chance?
It doesn't exist, the path stops right after /usr/share/elasticsearch/data .
However, I can also not create the directory as the container just shuts itself down again immediately after reaching this error.
I realized this when I inspected the container by starting it via
docker run -it --entrypoint /bin/bash 'elasticsearch:7.13.4'
docker-compose up -d
I can't start up my entire project that way though, so I can't create the directory on a live container.