Skip to main content
8 events
when toggle format what by license comment
May 23, 2016 at 19:37 comment added Rick Pannekoek Hmmm... it seems the script got confused by the fact that you had two CD Environments with purpose Staging, then (that is a way of saying that you uncovered a bug :-). That explains the weird purpose and the error message: $cdEnvironment is supposed to be a single CD Environment, but in your case became an array of two (both with purpose Staging).
May 23, 2016 at 11:21 comment added Vikaskr The 2 EnvironmentPurposes I got: EnvironmentPurpose : Staging DiscoveryEndpointUrl : 10.177.4.83:8082/discovery.svc Credentials : "AuthenticationType":"Anonymous" IsOffline : False ScopedRepositoryKeys : {} Id : CdEnvironment2 ExtensionProperties : {} EnvironmentPurpose : Staging DiscoveryEndpointUrl : localhost:8082/discovery.svc Credentials : "AuthenticationType":"OAuth", "ClientId":"registration", "ClientSecret":"********" IsOffline : False ScopedRepositoryKeys : {} Id : SampleCD
May 23, 2016 at 11:14 vote accept Vikaskr
May 23, 2016 at 11:14 comment added Vikaskr Thanks, I get 2 EnvironmentPurposes, both Staging (one for topology DxaStagingOnly with Id CdEnvironment2 and the other one for visitorsweb with Id SampleCD) I removed CdEnvironment2 and for that I had to remove DxaStagingOnly also. After this ran the .\ttm-prepare.ps1 script which worked.
May 22, 2016 at 17:13 comment added Rick Pannekoek Run Get-TtmCdEnvironment to see all the CD Environments (incl. their ID and EnvironmentPurpose) that are defined in TopologyManager.
May 21, 2016 at 7:40 comment added Vikaskr how can I check my CdEnvironmentId? Most probably I should not have put a comma there. I guess the purpose name "Staging Staging" is pointing to some issue, coz I did not put that name there. Please mind that this is a completely new Web 8 setup that I am doing along with new DXA setup also that I am doing this for the first time.
May 19, 2016 at 17:57 history edited Rick Pannekoek CC BY-SA 3.0
added 12 characters in body
May 19, 2016 at 17:52 history answered Rick Pannekoek CC BY-SA 3.0