在安装SOLR内核时安装Sitecore 9,SIF错误

时间:2019-11-28 03:55:38

标签: sitecore sitecore9

使用SIF安装Sitecore时,出现以下错误。

enter image description here

这些是我的模块

enter image description here

谁能帮助您

2 个答案:

答案 0 :(得分:2)

对于Sitecore 9.0(更新-x),您需要SIF 1.2.1, 由于您已经有更新的SIF版本,它将使用最新版本,并且失败。

您可以将其添加到PowerShell脚本的顶部以强制使用1.2.1版本:

Remove-Module -Name SitecoreInstallFramework
Import-Module -Name SitecoreInstallFramework -RequiredVersion 1.2.1
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

注意:如果您之前已经安装了具有更高SIF版本的Sitecore,则在修复错误的SIF版本错误时,您可能会遇到证书问题。参见Sitecore XP 9.0 Update-2 installation fails when XP 9.1 is installed on the same PC 或者如果您不需要其他Sitecore证书(个人和受信任的根证书颁发机构),可以使用certmgr 或使用PowerShell:

Set-Location Cert:\LocalMachine\Root
#get a list
Get-ChildItem | Format-Table FriendlyName, Thumbprint -AutoSize

#example of remove a certificate
Get-ChildItem Cert:\LocalMachine\Root\301F9A11F82BF45DA853BE573811AFF4ACA3B7CE | Remove-Item

由于安装失败,因此很有可能您已经创建了一个与安装程序尝试创建的DNS名称完全相同的DNS证书,而您还需要删除未使用的旧证书。

答案 1 :(得分:1)

前一段时间,我们也遇到了这个问题。经过一些研究,我们发现安装程序脚本和配置文件之间参数“名称”的大小写不匹配(脚本使用“ 名称”,而配置文件中提到“ 名称”)。重命名配置文件中的参数后,安装过程可以继续。

sitecore-solr.json sitecore-solr.json

xconnect-solr.json xconnect-solr.json

相关问题