Question Perla Escarcega · Sep 14, 2020

Deploy an item in base/test to a newly created namespace when the CCR is already in live

How can I deploy an itemset to a newly created namespace when the item is already in LIVE status? I tried to just hit deploy in the itemset and I got an error, not sure if there is an error on my configuration or if it is something else? 

ItemSet Download error

Comments

Ben Spead · Sep 14, 2020

@Perla Escarcega  - the fact that it is already in LIVE should not have any bearing here.  I am guessing that the newly created Namespace is part of a newly created instance?  It looks like you may have an older version of the CCR Client Tools with a bug in it.  Could you provide the results of "Do Version^%buildccr" so we can see what versions of the tools you are running?

0
Ben Spead  Sep 14, 2020 to Ben Spead

Actually - I take back my statement now that I looked at the error more closely.  It appears as though it's trying to fetch an ItemSet by ID that doesn't actually exist.   What is the CCR in question?

0
Ben Spead  Sep 14, 2020 to Perla Escarcega

@Perla Escarcega  - taking a closer look at this, I think we had an issue with a historical file clean-up routine which was a little too overeager to reclaim space.  All of your source is safe and available but you may need to create a fresh ItemSet to push this source.  Note - you should always be making fresh ItemSets anyway because the head revision may be newer than what is in your historical ItemSet, and you don't want to get an older revision of something which breaks when interacting with a newer revision of other items.  So simply create a new ItemSet for BASE and deploy it and you should be all set.

P.S.  This does raise the question of why you are initializing a new Secondary BASE environment from old ItemSets as opposed to just grabbing the head revision of the BASE source and running Refresh to pull it all into the Namespace?  I am afraid your approach may be significantly more risky than the recommended approach.  

0
Perla Escarcega  Sep 14, 2020 to Ben Spead

@Ben Spead making a new itemset does work. I was not aware of the approach you are proposing, I guess I missed that, is this going to Source Control -> Refresh from Branch? 

0