Where to find Configuration files for Sitecore 9.0 update 2 Setup
Are you starting you project installation with Sitecore 9.0 Update 2 and want to install the Habitat project ? If you are encountering the below problem when setting up the Sitecore Habitat ! You are missing the configuration files.
PS D:\Download\Sitecore\Habitat-1.6\Habitat-1.6> .\install-xp0.ps1
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run D:\Download\Sitecore\Habitat-1.6\Habitat-1.6\install-xp0.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is “D”): r
*******************************************************
Installing Sitecore 9.0.2 rev. 180604
Sitecore: habitat1.dev.local
xConnect: habitat1_xconnect.dev.local
*******************************************************
Enable contained databases
Verifying Solr connection
Verifying Solr directory
Verifying Solr service
XConnect SOLR Failed
Install-SitecoreConfiguration : Cannot validate argument on parameter ‘Path’. The “ Test-Path $_ -Type Leaf “
validation script for the argument with value
“D:\Download\Sitecore\Habitat-1.6\Habitat-1.6\build\assets\xconnect-solr.json” did not return a result of True.
Determine why the validation script failed, and then try the command again.
At D:\Download\Sitecore\Habitat-1.6\Habitat-1.6\install-xp0.ps1:180 char:39
+ Install-SitecoreConfiguration $XConnectSolrConfiguration `
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Install-SitecoreConfiguration], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Install-SitecoreConfiguration
This error clearly shows your ‘build/assets’ folder is missing the configuration files.
The below are the configuration files required to setup the Sitecore instance.
- sitecore-solr.json
- sitecore-XP0.json
- xconnect-createcert.json
- xconnect-solr.json
- xconnect-xp0.json
If you finding it difficult to locate where these files are, this article is going to help you.
These configuration files are available only in the initial release of the Sitecore 9.0 downloads.
You better got to initial Release
Download the XP Single and extract the zip file, you will get the configuration files.
Sitecore 9.0 initial release XP single downloaded
Extract the ‘Sitecore 9.0.0 rev. 171002 (WDP XP0 packages).zip’, you will see the XP0 configuration files.
Extract the XP0 Configuration files rev.171002.zip, you will find all the configurations required.
Happy Coding!