# Elasticsearch on a single node docker container after mounting azure storage gives .es\_temp\_file file not found error

**URL:** <https://discuss.elastic.co/t/elasticsearch-on-a-single-node-docker-container-after-mounting-azure-storage-gives-es-temp-file-file-not-found-error/340174>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [August 5, 2023, 9:02am UTC](https://discuss.elastic.co/t/elasticsearch-on-a-single-node-docker-container-after-mounting-azure-storage-gives-es-temp-file-file-not-found-error/340174 "2023-08-05T09:02:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sphnix](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sphnix/32/122470_2.png) [@sphnix](https://discuss.elastic.co/u/sphnix)\
**Post date:** [August 5, 2023, 9:02am UTC](https://discuss.elastic.co/t/elasticsearch-on-a-single-node-docker-container-after-mounting-azure-storage-gives-es-temp-file-file-not-found-error/340174/1 "2023-08-05T09:02:54Z")

</div>

Hi. I am running elasticsearch as single node. While starting the container it gives

.es\_temp\_file not found error. Tried mounting blobfuse2 but didnot help.

{"type": "server", "timestamp": "2023-08-05T08:53:25,540Z", "level": "ERROR", "component": "o.e.m.f.FsHealthService", "cluster.name": "elastic-cluster", "node.name": "my-node", "message": "health check of [/usr/share/elasticsearch/data/nodes/0] failed", "cluster.uuid": "Ook2u1TCQiG-u0x0m584tw", "node.id": "Pl-caT0yQH2e4taVUYAWDA" ,  
"stacktrace": ["java.nio.file.NoSuchFileException: /usr/share/elasticsearch/data/nodes/0/.es\_temp\_file",  
"at sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) ~[?:?]",  
"at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?]",  
"at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]",  
"at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:248) ~[?:?]",  
"at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105) ~[?:?]",  
"at java.nio.file.Files.delete(Files.java:1146) ~[?:?]",  
"at org.elasticsearch.monitor.fs.FsHealthService$FsHealthMonitor.monitorFSHealth(FsHealthService.java:175) [elasticsearch-7.10.2.jar:7.10.2]",  
"at org.elasticsearch.monitor.fs.FsHealthService$FsHealthMonitor.run(FsHealthService.java:146) [elasticsearch-7.10.2.jar:7.10.2]",  
"at org.elasticsearch.threadpool.Scheduler$ReschedulingRunnable.doRun(Scheduler.java:213) [elasticsearch-7.10.2.jar:7.10.2]",  
"at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:743) [elasticsearch-7.10.2.jar:7.10.2]",  
"at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-7.10.2.jar:7.10.2]",  
"at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]",  
"at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]",  
"at java.lang.Thread.run(Thread.java:832) [?:?]"] }

elasticsearch.yaml file conf is  
cluster.name: elastic-cluster  
discovery.type: single-node  
node.name: "my-node"  
network.host: 0.0.0.0  
#bootstrap.system\_call\_filter: false  
path.data: /usr/share/elasticsearch/data

# logs: /var/log/elasticsearch

#----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------

# 

# The following settings, TLS certificates, and keys have been automatically

# generated to configure Elasticsearch security features on 22-03-2023 12:12:43

# 

# --------------------------------------------------------------------------------

# Enable security features

#xpack.security.enabled: false  
#xpack.security.enrollment.enabled: true

# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents

#xpack.security.http.ssl:

# enabled: false

# keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes

#xpack.security.transport.ssl:

# enabled: true

# verification\_mode: certificate

# keystore.path: certs/transport.p12

# truststore.path: certs/transport.p12

#----------------------- END SECURITY AUTO CONFIGURATION -------------------------

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 5, 2023, 8:07pm UTC](https://discuss.elastic.co/t/elasticsearch-on-a-single-node-docker-container-after-mounting-azure-storage-gives-es-temp-file-file-not-found-error/340174/2 "2023-08-05T20:07:44Z")

</div>

Not sure about what is happening but you should definitely upgrade as your version is too old.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 2, 2023, 8:08pm UTC](https://discuss.elastic.co/t/elasticsearch-on-a-single-node-docker-container-after-mounting-azure-storage-gives-es-temp-file-file-not-found-error/340174/3 "2023-09-02T20:08:30Z")

</div>

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