I have Jira setup to run as a Windows service user "NT Service\<service name>". I have granted permissions to that user as follows:
- Full control on c:\program files\Atlassian\Jira
- Full control on c:\program files\Application Data\Jira
The instance appears to run just fine, but I am receiving healthcheck problems, with the following exception:
2019-03-22 11:01:08,578 HealthCheckWatchdog:thread-8 WARN [c.a.t.healthcheck.concurrent.SupportHealthCheckTask] Unable to complete execution of health check Lucene index files location due to an exception
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.nio.file.AccessDeniedException: C:\Program Files\Atlassian\Application Data\JIRA\caches\indexes
Permissions on this directory show that local user "NT Service\<service name>" has full control. Note that no network files are accessed.
Does the healthcheck run as a different to the service?