After initial install with no errors, OpenSearch shows as Red on the dashboard.
Docker logs states:
OpenSearchException[failed to bind service]; nested: AccessDeniedException[/usr/share/opensearch/data/nodes];
Accessing the container via bash shows that /usr/share/opensearch/data belongs to root:root and only root has write permissions.
After changing ownership of data to opensearch:opensearch, and restarting, it continuously crashes with the following error and restarts:
ERROR: [1] bootstrap checks failed [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
After setting my vm.max_map_count=262144 in /etc/sysctl.conf on the host, everything started working.
Thanks for the report, I had thought that setting vm.max_map_count was optional but I may have been incorrect about that, I will update the README to highlight that people probably need to change this setting.
After initial install with no errors, OpenSearch shows as Red on the dashboard. Docker logs states:
OpenSearchException[failed to bind service]; nested: AccessDeniedException[/usr/share/opensearch/data/nodes];
Accessing the container via bash shows that
/usr/share/opensearch/data
belongs toroot:root
and only root has write permissions.After changing ownership of
data
toopensearch:opensearch
, and restarting, it continuously crashes with the following error and restarts:ERROR: [1] bootstrap checks failed [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
After setting my
vm.max_map_count=262144
in/etc/sysctl.conf
on the host, everything started working.