We have upgraded our Sitecore solution from 8.2.4 to 9.0.2 using the guidelines from the Upgrade Guide. Now we are in progress with preparing the xDB data migration.
Using the following script to install the xConnect with SIF
Import-Module SitecoreFundamentals
Import-Module SitecoreInstallationFramework
#$global:ProgressPreference = 'silentlyContinue'
#define parameters
$prefix = "sc90"
$PSScriptRoot = "C:\xconnect-install"
$XConnectCollectionService = "$prefix.xconnect"
$sitecoreSiteName = "$prefix"
$InstallDirectory = "C:\inetpub\wwwroot\"
$SolrUrl = "https://localhost:8983/solr"
$SolrRoot = "C:\solr\solr-6.6.2\"
$SolrService = "solr-6.6.2"
$SqlServer = "UXD8SITECOREDB"
$SqlAdminUser = "sa"
$SqlAdminPassword="MyPassword!23"
#install client certificate for xconnect
$certParams = @{
Path = "$PSScriptRoot\xconnect-createcert.json"
CertificateName = "$prefix.xconnect_client"
}
Install-SitecoreConfiguration @certParams -Verbose
#deploy xconnect instance
$xconnectParams = @{
Path = "$PSScriptRoot\xconnect-xp0.json"
Package = "$PSScriptRoot\Sitecore 9.0.2 rev. 180604 (OnPrem)_xp0xconnect.scwdp.zip"
LicenseFile = "$PSScriptRoot\license.xml"
Sitename = $XConnectCollectionService
InstallDirectory = $InstallDirectory
XConnectCert = $certParams.CertificateName
SqlDbPrefix = "$prefix"
SqlServer = $SqlServer
SqlAdminUser = $SqlAdminUser
SqlAdminPassword = $SqlAdminPassword
SolrCorePrefix = $prefix
SolrURL = $SolrUrl
}
Install-SitecoreConfiguration @xconnectParams -Verbose
we ran into
Problem accessing /solr/sc90_xdb/schema. Reason Not Found
with the error stack trace
PS>TerminatingError(Invoke-ManageSolrSchemaTask): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: NotFound - https://localhost:8983/solr/sc90_xdb/schema?wt=json"
TerminatingError(Invoke-ManageSolrSchemaTask): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: NotFound - https://localhost:8983/solr/sc90_xdb/schema?wt=json" Install-SitecoreConfiguration : NotFound - https://localhost:8983/solr/sc90_xdb/schema?wt=json At C:\xconnect-install\xconnect-install.ps1:43 char:1 + Install-SitecoreConfiguration @xconnectParams -Verbose + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration Install-SitecoreConfiguration : NotFound - https://localhost:8983/solr/sc90_xdb/schema?wt=json At C:\xconnect-install\xconnect-install.ps1:43 char:1 + Install-SitecoreConfiguration @xconnectParams -Verbose + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : >Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration
Could anyone give me a hint how to get past this issue?
xdb
andxdb_rebuild
cores have a schema set (either directly or a reference to a shared schema)? Both of these cores use the OOTB managed schema that comes with Solr.