Unable to access 'path.repo'


I'm having problems uploading indices from a snapshot. I'm running Elasticsearch version 7.16.0

I have: path.repo: ["/home/user/Downloads/snapshot1"] in my yml file.

The Elasticsearch cluster fails to start. The error is below:

systemd-entrypoint[123815]: java.lang.IllegalStateException: Unable to access 'path.repo' (/home/crux/Downloads/snapshot1)
Likely root cause: java.nio.file.AccessDeniedException: /home/user/Downloads

Permissions for the the snapshot1 directory are set recursively, with 777 permissions
and Elasticsearch:Elasticsearch as the owner/group.

I don't know what other permissions need setting which would allow my cluster to start?

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