Giter Site home page Giter Site logo

sitecore-installation-scripts's People

Contributors

asmagin avatar kayeenl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sitecore-installation-scripts's Issues

PlugIn.Search.PolicySet-1.0.0.json SearchScopeName doesn't match the SOLR index name

@asmagin Not sure if this is a bug or not, but I think it is, but not sure how to test it. (For now leave this issue open, since I've raised this question in Sitecore Slack to the product team first)

In the sitecore-commerce-solr.json the name of the SOLR search indexes gets aligned more with the Sitecore Experience 9 naming convention (we make use of _ (underscores), so we end up with $Prefix_customers_scope, $Prefix_orders_scope and $Prefix_catalog_items_scope)

In module DeployCommerceContent.psm1 we however don't adjust the SearchScopeName(s). I think we should do the mapping between the SearchScope and the indexname somewhere.

Once I have the answer I can process this issue

EDIT: Seems the mapping is: take the scope name and have that as the index name, so i think we need to adjust this

Split up Tasks that adjust settings on Sitecore Commerce Engines and the Sitecore Instance in 1 task

In for example the Invoke-UpdateShopsPortTask and Invoke-ApplyCertificateTask in InitializeCommerce.psm1 updates are made in the same task to the Sitecore instance and the Commerce Server engines.

I would like to extract that into separate tasks, therefore being more open for a scaled environment setup (even though i know that this github project started out as a single server intended local setup), then this project can be used as well in a scaled architecture setup for Sitecore Commerce.

There might be other tasks that have this fixed dependency, i'll adjust these in the hotfix immediately.

Error when running script

When I am running your script on EnsureSyncDefaultContentPaths step is crashing.

Bellow are the logs error :

-------------------------- EnsureSyncDefaultContentPaths : EnsureSyncDefaultContentPaths ---------------------------]
sure/Sync default content paths for: AdventureWorksAuthoring
ecking if https://commerce-shops.sc9.local/commerceops/CheckCommandStatus(taskId=66774) has completed ...
sure/Sync default content paths for environment AdventureWorksAuthoring failed, please check Engine service logs for m
e info.
stall-SitecoreConfiguration : ScriptHalted
C:\Program
les\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,Install-SitecoreConfiguration

IME] 00:03:54
anscript stopped, output file is C:\tmp\SIF.Sitecore.Commerce.1.1.4\CommerceEngine.Initialize.180515 (3).log
stall-SitecoreConfiguration : ScriptHalted
C:\tmp\SIF.Sitecore.Commerce.1.1.4\Deploy-Sitecore-Commerce.ps1:183 char:1
Install-SitecoreConfiguration @params

  + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
  + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

IME] 00:21:18
anscript stopped, output file is C:\tmp\SIF.Sitecore.Commerce.1.1.4\Master_SingleServer.180515 (6).log
riptHalted
 C:\tmp\SIF.Sitecore.Commerce.1.1.4\Modules\InitializeCommerce\InitializeCommerce.psm1:191 char:19
...           $(throw Write-Host "Ensure/Sync default content paths for e ...
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo          : OperationStopped: (:) [], RuntimeException
  + FullyQualifiedErrorId : ScriptHalted

IdentityServer on different port than 443 then GetIdServerToken fails

When you test the script with the default port number for the identityserver that Sitecore uses (5050), instead of 443, the Get Token From Sitecore.IdentityServer fails. The step is calling: https://identityserver.local/connect/token but it should call https://identityserver.local:5050/connect/token . I think with the default script of Sitecore that uses Localhost, we don't have that issue apparently...

Can you test @asmagin with port 5050 on the identityserver and see if it fails as well...

Calling https://identityserver.local:5050/connect/token (with the port number) on Postman works and authenticates correctly.

[---------------------------------------- GetIdServerToken : GetIdServerToken ----------------------------------------]
Get Token From Sitecore.IdentityServer
https://identityserver.local/connect/token


Command start time: 20180518123756


PS>TerminatingError(Invoke-RestMethod): "
Not Found

Not Found
HTTP Error 404. The requested resource is not found.

"

TerminatingError(Invoke-RestMethod): "
Not Found

Not Found
HTTP Error 404. The requested resource is not found.

"
Install-SitecoreConfiguration :
Not Found

Not Found
HTTP Error 404. The requested resource is not found.

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,Install-SitecoreConfiguration
      Install-SitecoreConfiguration :
      Not Found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.