# Path.repo is empty

**URL:** <https://discuss.elastic.co/t/path-repo-is-empty/25166>\
**Category:** Elasticsearch\
**Created:** [July 8, 2015, 3:56pm UTC](https://discuss.elastic.co/t/path-repo-is-empty/25166 "2015-07-08T15:56:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![paulz](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@paulz](https://discuss.elastic.co/u/paulz)\
**Post date:** [July 9, 2015, 1:43pm UTC](https://discuss.elastic.co/t/path-repo-is-empty/25166/4 "2015-07-09T13:43:33Z")

</div>

Ok. Finally I found there was a problem...

In Ubuntu the elasticsearch directory configured directly in init script /etc/init.d/elasticsearch and then laucnhed via DAEMON\_OPTS like :

> DAEMON\_OPTS="-d -p $PID\_FILE --default.config=$CONF\_FILE --default.path.home=$ES\_HOME --default.path.logs=$LOG\_DIR --default.path.data=$DATA\_DIR --default.path.work=$WORK\_DIR --default.path.conf=$CONF\_DIR"

So for the moment I could fix the problem adding :

> REPO\_DIR=/backup/es\_backup\_basic

and

> DAEMON\_OPTS="-d -p $PID\_FILE --default.config=$CONF\_FILE --default.path.home=$ES\_HOME --default.path.logs=$LOG\_DIR --default.path.data=$DATA\_DIR --default.path.work=$WORK\_DIR --default.path.conf=$CONF\_DIR--default.path.repo=$REPO\_DIR "

It solved the problem... even it's not normal for me that ES does not get sense of /etc/elasticsearch/elasticsearch.yml settings.

---

_[View the full topic](https://discuss.elastic.co/t/path-repo-is-empty/25166)._
