安装 Sitecore 9.2 时出错 - 无法解析 [variable('XConnectSolr_Core.Root')]

Error while installing Sitecore 9.2 - Unable to parse [variable('XConnectSolr_Core.Root')]

我正在 Windows Azure VM 上设置 Sitecore 9.2 的新安装,我正在学习下一个教程:https://tothecore.sk/2019/07/22/sitecore-9-2-initial-release-installation-guide-for-development-machine/,但是当我 运行 PowerShell 脚本它在 XconnetSolr_CleanCores 上给了我一个错误:EnsurePath,我已经检查了服务并且 Solr 服务正在 运行ning 当我尝试 运行 脚本但由于某种原因它在到达时停止这一步。

我已经检查过我的 SIF 版本,我目前安装的是 2.1.0 版本,不是重复的。我遵循了所有步骤,并且我已经尝试重新安装 Solr 和 SIF 作为开始全新安装,但我总是收到相同的结果。

抛出的错误是下一个:

[--------------------------------- XConnectSolr_CleanCores : EnsurePath ----------------------------------------------] Install-SitecoreConfiguration : Unable to parse [variable('XConnectSolr_Core.Root')] - Exception calling "Evaluate" with "2" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Unable to parse [joinpath(variable('XConnectSolr_Solr.Server'), variable('XConnectSolr_Xdb.Name'))] - Exception calling "Evaluate" with "2" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Unable to parse [joinpath(variable('XConnectSolr_Solr.FullRoot'), 'server', 'solr')] - Exception calling "Evaluate" with "2" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Unable to parse [resolvepath(parameter('XConnectSolr_SolrRoot'))] - Exception calling "InvokeWithContext" with "2" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot find path 'C:\Solr-7.5.0-920' because it does not exist."""" At C:\SitecoreInstallation\ResourceFiles\XP0-SingleDeveloper.ps1:74 char:1 + Install-SitecoreConfiguration @singleDeveloperParams *>&1 | Tee-Objec ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

[TIME] 00:00:35 GetConfigFunctionResult : Unable to parse [variable('XConnectSolr_Core.Root')] - Exception calling "Evaluate" with "2" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Unable to parse [joinpath(variable('XConnectSolr_Solr.Server'), variable('XConnectSolr_Xdb.Name'))] - Exception calling "Evaluate" with "2" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Unable to parse [joinpath(variable('XConnectSolr_Solr.FullRoot'), 'server', 'solr')] - Exception calling "Evaluate" with "2" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Unable to parse [resolvepath(parameter('XConnectSolr_SolrRoot'))] - Exception calling "InvokeWithContext" with "2" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot find path 'C:\Solr-7.5.0-920' because it does not exist."""" At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework.1.0\Private\JsonConfiguration.ps1:226 char:20 + ... return GetConfigFunctionResult -FunctionText $InputObject -Param ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,GetConfigFunctionResult

The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot find path 'C:\Solr-7.5.0-920' because it does not exist."""" At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework.1.0\Private\JsonConfiguration.ps1:226 char:20

它正在寻找目录 C:\Solr-7.5.0-920 但没有找到。我进行了快速 google 搜索,看看我是否能弄清楚这可能是什么,并找到了 Apache Solr.

由于这与您正在使用的特定安装脚本有关,我建议您联系产品特定社区以获得更深入的支持。