If you do not follow the steps below when upgrading to Solr 6 - 7.4.0 (7.4.0 is used by Ektron 9.4) you may see this error when registering a site.
Oops! Something went wrong... A preliminary status check for the search environment has failed. The most common reasons for this are that the target Ektron site is currently being crawled, Solr or ManifoldCF are not running, or the search server does not meet the minimum requirements for hosting Solr. (Code: REQUEST_VALIDATION_FAILED) Logs are available for this console and for the Ektron Solr Administrative Service, which may contain additional details.
- The downloaded version of Solr should match the Ektron version. In other words, make sure the Solr download comes from the same download folder as the Ektron download.
- Solr downloads can be found here.
Be sure to follow the steps in the official documentation when installing Solr. The below steps only apply to 9.2+ versions of Solr.
- If upgrading, uininstall the current version of Solr(if present) by removing it in the control panel's programs and features. You cannot install the new version without this step.
- Apache Solr 7.x can run on OpenJDK 8 (e.g. version 8u242). If you previously had Java 1.7.x, uninstall it and install the latest version of OpenJDK 8 or the paid version of Java 8 JDK.
Redhat Java Downloads https://developers.redhat.com/products/openjdk/download (download the 64 bit MSI to get the installer)
- Create a “JAVA_HOME” home variable by following these steps.
- On the Start menu, click Control Panel > double-click System.
- In the System Properties dialog, click the Advanced tab, then Environment Variables.
- In the Environment Variables dialog, in the System variables frame, click New.
Please note that the system variables frame is not the same as the user variables.
- In the New System Variable dialog box, type JAVA_HOME in the Variable name field, and the path of the java directory in the Variable value field(e.g.
C:\Program Files\Java\jdk1.8.0_X\ or C:\Program Files\RedHat\Java-1.X.0-openJDK\).
- Click OK.
- As of 9.4 SP1 the path variable is needed in order to create SSL certificates. Double click on Path in the system variables.
- Click new and add the path to any bin directories within the JDK folder. Note that with OpenJDK there are two bin directories.
- Click OK to exit the System Properties dialog.
- Once complete you should be able do the following to pull up your Java JDK folder.
- Open file explorer.
- Enter %JAVA_HOME% into the address bar.
- Give the search user (see the 'log on as' user for the Ektron Solr Process Manager service) the "lock pages in memory" permission. You assign this in the machine's Local Security Policy under Local Policy > User Rights Assignment.
- Install the newest version of Solr(see download link above) that matches the Ektron version.
- Restart the server.
- Follow the steps in this article: Solr Maintenance Steps