I am in process of installing Sitecore 9 using SIF. Everything went smooth but when running the Power shell script to install SIF, ended up with the error below:
PS>TerminatingError(Invoke-CopyTask): "Cannot validate argument on parameter 'Source'. The " Test-Path $_ " validation script for the argument with value "D:\Sitecore9\solr-7.1.0\server\solr\configsets\basic_configs*" did not return a result of True. Determine why the validation script failed, and then try the command again."
Just observed that in Solr 7.1.0 the folder structure is quite different than 6.6.2. Hence the power shell script is unable to find the required folders.
In my case the script is looking for basic_configs folder in \solr-7.1.0\server\solr\configsets, but the folder in no more exists here in Solr 7.1.0, seeme they moved the related files to to \solr-7.1.0\server\solr\configsets_defaults folder.
Hence switching my Solr back to 6.6.2 as that is the recommended
version with Sitecore 9. Was giving a try with the latest version of
Solr 7.1.0 but seems it is not compatible.
Please review your xconnect-solr.json configuration file and make sure you solr configurations are properly set, specially the SorlRoot default value. It should point to the root of your solr installation.
Also make sure your BaseConfig configuration Default value is set to "basic_configs" and whether this folder exists within your Solr installation.
Don't know how you have installed Solr but if you are using Bitnami for example it would live in a path like this
Make sure the SOLR related values in xconnect-solr.json, sitecore-solr.json, XP0-Singleinstance.ps1 should match. They should point to correct SOLR url and directories (update any similar configurations which contain attributes for SOLR). This worked in my case.