Sitecore 9 Installation Errors and Their Solutions

Sitecore 9 Installation Errors and Their Solutions

Hello,

This blog gives solutions to some of the errors you may face during the installation of Sitecore Experience Platform 9.0 rev. 171219 (9.0 Update-1) using Sitecore Installation Framework (SIF).

Note : This is not a Sitecore 9 Installation Guide.

Most importantly, please make sure that you have the prerequisite softwares installed on your machine as listed below :

  1. IIS Versions : IIS 8.5 or IIS 10.0
  2. .NET Framework : 4.6.2 or later
  3. Operating System : Windows Server 2016 / Windows Server 2012 R2 (64-bit) / Windows 10 (32/64-bit) / Windows 8.1 (32/64-bit)
  4. Microsoft Visual C++ 2015 Redistributable
  5. Visual Studio for Solutions : Visual Studio 2015 or later
  6. Database : Microsoft SQL Server 2016 SP1 (Recommended)
  7. Search Indexing : Solr 6.6.2 (Recommended)
  8. Hardware : For Single Sitecore Instance : 4 Core Processor, 16 GB RAM For Sitecore XP Client Device : Processor: Intel Pentium 4, 2 GHz or faster processor. RAM: 512 MB minimum, 1 GB – recommended. TCP/IP connection at 512 Kbps or faster to the Sitecore XP host. 1024 x 768 or greater screen resolution required for advanced operations.
  9. SIF : Microsoft PowerShell® version 5.1 or later and Web Platform Installer 5.0.

For more details, find the link below and download "installaton guide" to see full description of the prerequisites:

Installation Guide

Also, please check Sitecore Compatibility Table :

Sitecore Compatibility Table

Errors List:

  1. "Java 1.8 or later is required to run Solr"


  • Soln : For Solr 6.6.2 Java 10.0.1 may give you error due to compatibility issue, hence use Java jdk-8u171-windows-x64 assuming you are using 64 bit OS , download it from following link :
  • Click here JDK 8U 171 Link


2. "The file solrssl.ps1 is not digitally signed. You cannot run this script on the current system. For more .... see about_Execution_Policies..."

  • Soln : This happens when by default execution policy is restricted.

To fix this , run the following command in Powershell.

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass


3. "Error while converting jks file into p12 file"

  • Soln : To convert jks into p12 use following command

keytool -importkeystore -srckeystoresolr-ssl.keystore.jks -destkeystore solr-ssl.keystore.p12 -srcstoretypejks -deststoretype pkcs12 -srcstorepass secret -deststorepass secret

4. "Failed to start service YOUR_SOLR_SERVICE_NAME"

  • Soln : This happens when you try to create Solr Service using Non Sucking Service Manager (NSSM) when solr is already started from command prompt. To fix this, first stop the solr by using following command in command prompt.

solr stop -p 8983 or solr stop -p YOUR_GIVEN_PORT_NUMBER

Now , use command prompt with administrator privileges, change directory to nssm folder with following command to install/create solr service for automatic start with system start up.

C:\YOUR_NSSM-FOLDER_PATH\win64>nssm install solrservice

If even now you get error ""Failed to start service YOUR_SOLR_SERVICE_NAME" then delete the solr service completely using command prompt as shown below and again install/create solrservice .

Check from services.msc , your earlier service should be deleted.


5. "(500) Internal Server Error " during UpdateSolrSchema

  • Soln : Install "URL Rewrite IIS module" and make sure that solr is running properly as the name suggests , this script tries to update schema.



That's all folks , I will add more entries in future if I find any new error and it's solution while installing Sitecore 9.

Please feel free if you want to suggest anything !

Enjoy Sitecore :)




To view or add a comment, sign in

More articles by Pratik Wasnik

Others also viewed

Explore content categories