• Not Answered

Issues when installing Sitecore 9.0

Can't get past this error:

 


[----------------------------------------- CreateCores [1] : ManageSolrCore ------------------------------------------]
[CreateCores [1]]:[Requesting] https://localhost:8983/solr
[CreateCores [1]]:[SolrCore] Performing Create on https://localhost:8983/solr
Install-SitecoreConfiguration : Missing required parameter: name
At line:28 char:1
+ Install-SitecoreConfiguration @solrParams
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration
[TIME] 00:00:14
Invoke-ManageSolrCoreTask : Missing required parameter: name
At C:\Program
Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 char:25
+                         & $entry.Task.Command @paramSet | Out-Default
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-ManageSolrCoreTask

15 Replies

  • Hi

    Could you please check the SIF version , I think sitecore 9.0 use 1.2.1 , you need to install that using power shell in administrator mode

    Install-Module -Name SitecoreInstallFramework -RequiredVersion 1.2.1
  • In reply to DEBAL SAHA:

    Thanks, I ran that command and tried again however still getting this error:



    Install-SitecoreConfiguration : Missing required parameter: name
    At line:28 char:1
    + Install-SitecoreConfiguration @solrParams
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

    [TIME] 00:00:14
    Invoke-ManageSolrCoreTask : Missing required parameter: name
    At C:\Program
    Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 char:25
    + & $entry.Task.Command @paramSet | Out-Default
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-ManageSolrCoreTask





    Should there be a name = ? in the below

    #install solr cores for xdb
    $solrParams = @{
    Path = "$PSScriptRoot\xconnect-solr.json"
    SolrUrl = $SolrUrl
    SolrRoot = $SolrRoot
    SolrService = $SolrService
    CorePrefix = $prefix }
  • In reply to Robert Holguin:

    Check how many version of SIF you have in C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework. If you have both 1.2.1 and 2.0 manually delete 2.o and check the installed version using below command..
    Get-Module SitecoreInstallFramework –ListAvailable

    The error which you are facing is related to SIF 2.0.
    Let me know, if you need any more help.
  • In reply to Robert Holguin:

    Hi Robert,

    Can you share the Sitecore Installation script that you are trying to execute? There might be something missing in the script.

    Thanks,
    Shamsher Singh Dhillon
  • In reply to Robert Holguin:

    Hi

    Try running the below command in your Powershell in administrator mode,

    Install-Module -Name SitecoreInstallFramework -RequiredVersion 1.2.1

    check how many version do you have currently

    Find-Module -Name SitecoreInstallFramework -AllVersions


    If you see you have version 2.0.0 is installed then try to run below command

    Remove-Module -Name SitecoreInstallFramework
    Import-Module -Name SitecoreInstallFramework -RequiredVersion 1.2.1

    after successfully run

    Close your PowerShell and reopen in administrator mode and then run the full script to install Sitecore,
    hope this will help

  • In reply to Shamsher Dhillon:

    #define parameters
    $prefix = "sc90"
    $PSScriptRoot = “C:\Sitecore\install”
    $XConnectCollectionService = "$prefix.xconnect"
    $sitecoreSiteName = "$prefix.local"
    $SolrUrl = "https://localhost:8983/solr"
    $SolrRoot = "C:\Sitecore\solr-6.6.2"
    $SolrService = "solr6"
    $SqlServer = "localhost"
    $SqlAdminUser = "sc9"
    $SqlAdminPassword="angel888"

    #install client certificate for xconnect
    $certParams = @{
    Path = "$PSScriptRoot\xconnect-createcert.json"
    CertificateName = "$prefix.xconnect_client"
    RootCertFileName="SIF121Root"
    }
    Install-SitecoreConfiguration @certParams -Verbose

    #install solr cores for xdb
    $solrParams = @{
    Path = "$PSScriptRoot\xconnect-solr.json"
    SolrUrl = $SolrUrl
    SolrRoot = $SolrRoot
    SolrService = $SolrService
    CorePrefix = $prefix }
    Install-SitecoreConfiguration @solrParams

    #deploy xconnect instance
    $xconnectParams = @{
    Path = "$PSScriptRoot\xconnect-xp0.json"
    Package = "$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_xp0xconnect.scwdp.zip"
    LicenseFile = "$PSScriptRoot\license.xml"
    Sitename = $XConnectCollectionService
    XConnectCert = $certParams.CertificateName
    SqlDbPrefix = $prefix
    SqlServer = $SqlServer
    SqlAdminUser = $SqlAdminUser
    SqlAdminPassword = $SqlAdminPassword
    SolrCorePrefix = $prefix
    SolrURL = $SolrUrl }
    Install-SitecoreConfiguration @xconnectParams

    #install solr cores for sitecore
    $solrParams = @{
    Path = "$PSScriptRoot\sitecore-solr.json"
    SolrUrl = $SolrUrl
    SolrRoot = $SolrRoot
    SolrService = $SolrService
    CorePrefix = $prefix }
    Install-SitecoreConfiguration @solrParams

    #install sitecore instance
    $xconnectHostName = "$prefix.xconnect"
    $sitecoreParams = @{
    Path = "$PSScriptRoot\sitecore-XP0.json"
    Package = "$PSScriptRoot\Sitecore 9.0.0 rev. 171002 (OnPrem)_single.scwdp.zip"
    LicenseFile = "$PSScriptRoot\license.xml"
    SqlDbPrefix = $prefix
    SqlServer = $SqlServer
    SqlAdminUser = $SqlAdminUser
    SqlAdminPassword = $SqlAdminPassword
    SolrCorePrefix = $prefix
    SolrUrl = $SolrUrl
    XConnectCert = $certParams.CertificateName
    Sitename = $sitecoreSiteName
    XConnectCollectionService = "https://$XConnectCollectionService" }
    Install-SitecoreConfiguration @sitecoreParams
  • In reply to Arun Kumar:

    Thanks. I did the above but now getting this error:

    [---------------------------------------- CreateSignedCert : NewSignedCertificate ------------------------------------]
    VERBOSE: Resolving ConfigFunction extension 'GetCertificate'
    VERBOSE: Resolved 'Invoke-GetCertificateConfigFunction'
    VERBOSE: Invoke-GetCertificateConfigFunction
    VERBOSE: Id: DO_NOT_TRUST_SIF121Root
    VERBOSE: CertStorePath: cert:\LocalMachine\Root
    VERBOSE: Found Cert with thumbprint: E0F83E555638EE1A1C43C17804B78964529A259A ADB48AA5B26D0BB836270CD99166EA9E19080E11
    9AAD5272BE583DA99EF5948E88E1A2AB7756353C
    Install-SitecoreConfiguration : Cannot process argument transformation on parameter 'Signer'. Cannot convert the
    "System.Object[]" value of type "System.Object[]" to type
    "System.Security.Cryptography.X509Certificates.X509Certificate2".
    At line:19 char:1
    + Install-SitecoreConfiguration @certParams -Verbose
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

    [TIME] 00:00:03
    Transcript stopped, output file is C:\WINDOWS\system32\xconnect-createcert.181229.log
    New-SignedCertificate : Cannot process argument transformation on parameter 'Signer'. Cannot convert the
    "System.Object[]" value of type "System.Object[]" to type
    "System.Security.Cryptography.X509Certificates.X509Certificate2".
    At C:\Program
    Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:43
    + & $entry.Task.Command @paramSet | Out-Default
    + ~~~~~~~~~
    + CategoryInfo : InvalidData: (:) [New-SignedCertificate], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-SignedCertificate
  • In reply to Robert Holguin:

    Hi

    This issue is saying if you have already more than one certificate with same name , when you know the thumprint id you can execute the below command to delete this
    Get-ChildItem Cert:\LocalMachine\Root\<<thumbprint id>> | Remove-Item

    You can execute below script to get that list of installed certificate for the location \LocalMachine\Root

    Set-Location Cert:\LocalMachine\Root
    Get-ChildItem | Format-Table Subject, FriendlyName, Thumbprint -AutoSize

    Another easy way I did type mmc.exe in your windows and see the certificates under personal and trusted root, remove the certificates DO_NOT_TRUST_SITECORERootCert , then try to reinstall the script to install sitecore
  • In reply to DEBAL SAHA:

    Thanks got further but now a different error:

    [---------------------------------------------- InstallWDP : WebDeploy -----------------------------------------------]
    [WebDeploy]:[Path] C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe
    Info: Adding MsDeploy.Site (MsDeploy.Site).
    Info: Adding database (user id=sc9;data source=localhost;initial catalog=sc90_Processing.Pools)
    Info: Initializing deployment: Pending.
    Info: Analyzing deployment plan: Pending.
    Info: Updating database: Pending.
    Info: Creating deployment plan: Pending.
    Info: Verifying deployment plan: Pending.
    Info: Deploying package to database: Pending.
    Info: Creating deployment plan: Running.
    Info: Initializing deployment: Running.
    Info: Initializing deployment (Start)
    Info: Initializing deployment: Faulted.
    Info: Initializing deployment (Failed)
    Info: Creating deployment plan: Faulted.
    Info: Verifying deployment plan: Faulted.
    Info: Deploying package to database: Faulted.
    Error: Could not deploy package.
    Error: Unable to connect to master or target server 'sc90_Processing.Pools'. You must have a user with the same password in master or target server 'sc90_Processing.Pools'.
    Error count: 1.
    Error Code: ERROR_EXECUTING_METHOD
    More Information: Could not deploy package.
    Unable to connect to master or target server 'sc90_Processing.Pools'. You must have a user with the same password in master or target server 'sc90_Processing.Pools'.
    Learn more at: go.microsoft.com/.../
    Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero
    exit code - (-1)
    At line:43 char:1
    + Install-SitecoreConfiguration @xconnectParams
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

    [TIME] 00:00:16
    Transcript stopped, output file is C:\WINDOWS\system32\xconnect-xp0.181229.log
    Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code -
    (-1)
    At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-WebDeployTask.ps1:36
    char:2
    + Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask
  • In reply to Robert Holguin:

    Hi

    I am sure that the database connection was not correct , as per the log meesage you mentioned above

    Info: Adding database (user id=sc9;data source=localhost;initial catalog=sc90_Processing.Pools)

    Try to give

    $SqlServer = "localhost" --> Check the connection database server name like MACHINENAME\SQLEXPRESS or IP address
    $SqlAdminUser = "sc9" --> check the user id in general we use sa as a userid in local machine sql server express 2017
    $SqlAdminPassword="angel888" --> are you sure using this pass you can able to login in sql server 2017 .

    I hope this will help you .
  • In reply to DEBAL SAHA:

    Thanks. I fixed that issue and now got this error:

    [---------------------------------------- UpdateSolrSchema : SitecoreUrl ---------------------------------------------]
    [UpdateSolrSchema]:[Authenticating] sc90.local/.../PopulateManagedSchema.aspx
    Install-SitecoreConfiguration : Error requesting
    sc90.local/.../PopulateManagedSchema.aspx The remote server returned an error: (500)
    Internal Server Error.
    At line:69 char:1
    + Install-SitecoreConfiguration @sitecoreParams
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

    [TIME] 00:03:33
    Transcript stopped, output file is C:\WINDOWS\system32\sitecore-XP0.181229.log
    Invoke-SitecoreUrlTask : Error requesting sc90.local/.../PopulateManagedSchema.aspx The
    remote server returned an error: (500) Internal Server Error.
    At C:\Program
    Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21
    + & $entry.Task.Command @paramSet | Out-Default
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-SitecoreUrlTask
  • In reply to Robert Holguin:

    Hi

    This is very common and you can find the answer in this community also, just google it. I think there might be a couple of reason for this

    1) Check solr is running well with https connection

    2) Go to your machine Control Panel\Programs\Programs and Features 

    see the Turn Window Features on or off 

    Navigate the Internet Information Services > World Wide Web Services > Application development features check the ASP, .net 3.5, .net 4.7 

    Else if you find the sSitecore instance/sitecore/login URL is working then go to Sitecore control panel and try to populate solr managed schema 

    also try to deploy marketing definition, rebuild link database, rebuild all indexes.

    I hope after solving the issue your Sitecore will be running fine

  • In reply to DEBAL SAHA:

    Yep, I added the additional features and try to run the install script again and now a different issue: Sitecore is really hard to install.

    Learn more at: go.microsoft.com/.../
    Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero
    exit code - (-1)
    At line:43 char:1
    + Install-SitecoreConfiguration @xconnectParams
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

    [TIME] 00:00:30
    Transcript stopped, output file is C:\WINDOWS\system32\xconnect-xp0.181229 (3).log
    Invoke-CommandTask : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero exit code -
    (-1)
    At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Tasks\Invoke-WebDeployTask.ps1:36
    char:2
    + Invoke-CommandTask -Path $Path -Arguments $msdeployArgs -TaskName ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-CommandTask
  • In reply to Robert Holguin:

    Wait, I now have a login screen but I don't see the login username and password in the installation instruction.
  • In reply to Robert Holguin:

    Username : admin
    Password : b