Sitecore 9 install troubleshooting

Here is a list of some of the problems I ran into installing Sitecore 9 for the first time

Website Physical Path

The Sitecore 9 installation configuration files for both Sitecore and xConnect sites  are configured to install your Sitecore 9 file in C:\inetpub\wwwroot. Modify these files to install the Sitecore 9 sites in a folder of your choice by following these steps:

  • Open your sitecore-XP0.json and xconnect-xp0.json configuration files
  • Add a new parameter which will allow you to specify the website physical Path

 

1."WebsitePhysicalPath": {
2.    "Type": "string",
3.    "Description": "The physical path the site will be installed."
4.}

 

  • In your PowerShell script pass the path of the folder you want to your Sitecore 9 sites to be installed

    For example:

 

01.$WebsitePhysicalPath="C:\Projects\Sitecore9Sandbox\Websites"
02.#deploy xconnect instance
03.$xconnectParams = @{
04.Path = "$PSScriptRoot\xconnect-xp0.json"
05.Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp0xconnect.scwdp.zip"
06....
07....
08....
09.WebsitePhysicalPath = $WebsitePhysicalPath
10.}
11.Install-SitecoreConfiguration @xconnectParams
12.#install sitecore instance
13.$xconnectHostName = "$prefix.xconnect"
14.$sitecoreParams = @{
15.Path = "$PSScriptRoot\sitecore-XP0.json"
16.Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_single.scwdp.zip"
17....
18....
19....
20.WebsitePhysicalPath = $WebsitePhysicalPath
21.}
22.Install-SitecoreConfiguration @sitecoreParams
  • Execute the PowerShell install script

 

Latest articles