asmagin / sitecore-installation-scripts Goto Github PK
View Code? Open in Web Editor NEWA collection of scripts related to Sitecore products installation
License: MIT License
A collection of scripts related to Sitecore products installation
License: MIT License
Hi, do you have tried to install XC on a XP1 setup with this script?
I've this setup: https://sitecore.stackexchange.com/questions/12671/problems-installing-sxc-9-update-1-installation-on-xp1-9-0-2
and I try to install the XC on my XP1 platform and I am failing hard on doing so :-/ so my next try would be to use a nother Install Script. Perhaps some script, where a XC on XP1 installation was successfull
@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
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.
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
When we don't use a wildcard certificate, but generate one per commerce engine environment, the ops ssl cert is set for the minions, authoring and shops engines.
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The username and password of the admin user is still hardcoded in the PlugIn.Content.PolicySet-1.0.0.json, needs to be replaced as well in the SitecoreConnectionPolicy replace functionality of Modules\DeployCommerceContent\DeployCommerceContent.psm1
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.