Overview
Sometimes, when the system upgrades to Java 8, the FogBugz ElasticSearch service terminates with the following service-specific error message:
Incorrect function
This article describes the process of resolving this ElasticSearch error.
Root Cause
This issue occurs when the installation directory of the Java 8 JRE folder routes to the old path.
Resolution
-
Open Windows Registry Editor:
-
Navigate to Start > Run
-
Type
regedit
. -
Press Enter.
-
-
Search for
Java.jvm
under the ElasticSearch registry key. The exact location of the registry key is:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\FogBugz ElasticSearch\Parameters\Java.Jvm
-
Update the registry key value with the correct installation directory of the Java8 JRE folder.
-
Once updated, restart the ElasticSearch service, and it is good to serve all your search need.
Related Articles
- Error: "There was a problem with your search string! Invalid search response!” When Logging in After Upgrading FogBugz
- FogBugz Installation Error: 'Paths are missing or misconfigured. Run DeveloperSetup to repair...'
- Common Installation and Upgrade Issues