one suggestion is to copy your error message in google:
location [janusindex] doesn’t match any of the locations specified by path.repo because this setting is empty
Then go to the first result found:
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=…
and then read it, look like several users had the same problem, you may find one solution in the thread.