Questions tagged [unicorn]
Unicorn is a utility for Sitecore that solves the issue of moving templates, renderings, and other database items between Sitecore instances. All questions about the Unicorn module for Sitecore, should use this tag.
122 questions
3
votes
0
answers
62
views
Sitecore 10.4 SXA Website Appears Blank After Unicorn Sync in Higher Environment
We are working on a website built in Sitecore 10.4 using SXA. After performing a Unicorn sync on a higher environment (staging), the website appears blank, with no content being displayed. The ...
0
votes
0
answers
32
views
Production CM deployment to staging slot is failing at unicorn sync script execution in Azure PaaS
we are using Sitecore 9.3.0 and Unicorn 4.1.1. During our production cm deployment Unicorn sync script is failing intermittently.
Below is the error from the log
2024-06-27T02:30:19.8857407Z ## ...
1
vote
1
answer
39
views
Unicorn Sync removing workflow states from roles
After every Unicorn sync in Sitecore 10.2, I am experiencing Workflow states assigned to a specific role going away and needing to be re-assigned. Is that normal or is there a way to keep the workflow ...
2
votes
1
answer
115
views
Unicorn publishes all the items under the root Sitecore item after unicorn sync
When we run the unicorn sync for limited items based on the unicorn configuration's predicate rule then in SPS we noticed that it is publishing all the items under top root sitecore {11111111-1111-...
1
vote
1
answer
163
views
Unicorn throws error in content delivery - Could not find base site 'shell' for site 'unicorn'
Sitecore throws below error when loading newly setup instance.
Message: Could not find base site 'shell' for site 'unicorn'. Source: Sitecore.Kernel
It is mentioned in Git that this issue is fixed in ...
1
vote
1
answer
108
views
Yml File Name Created by Unicorn is Too Short
I am using Sitecore 9.2 XP and Unicorn for serialization.
When a new Base template is created, name of the yml file created by Unicorn is too short compared to original Base Template name.
I tried ...
0
votes
0
answers
162
views
Sitecore Unicorn Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (403)
We are seeing below exception when we run the pipeline step to sync_unicorn from Azure devops.
We checked the sharedsecret value being passed and that is existing in the config and both are matching.
...
1
vote
1
answer
315
views
The fields are not available on the Template field template
I have a running environment with Sitecore 10 and Unicorn (4.1.5) for serialization and de-serialization.
On our current deployment, we are getting the following error on sync:
Warn: 1 non-fatal ...
2
votes
1
answer
755
views
Is Unicorn obsolete with Sitecore 10?
As far as I understand, Unicorn still works with Sitecore 10.x and I understand that Sitecore 10 introduced a new Serialization format.
So... does the new Serialization system of Sitecore 10 make ...
0
votes
1
answer
468
views
Method not found: 'System.Web.HttpContext Sitecore.Pipelines.HttpRequest.HttpRequestArgs.get_Context()
During Sitecore upgrade from 9.0 to 10.2, I am getting the following error -
Server Error in '/' Application.
Method not found: 'System.Web.HttpContext Sitecore.Pipelines.HttpRequest.HttpRequestArgs....
3
votes
2
answers
156
views
Pre-optimized-min file named with GUID Sitecore SXA 10.2
We use Unicorn in our project, and we are saving the pre-optimized-min.yml files in source control. Here is the exclude predicate we have for this file:
<exclude childrenOfPath="/sitecore/...
1
vote
0
answers
145
views
UnauthorizedAccessException with Unicorn [closed]
Environment details:
Unicorn: 4.1.4
Sitecore: 10.1.1
While de-serializing the item, for a particular item I am getting the following exception
ERROR: Some directories could not be loaded. (1 inner ...
1
vote
1
answer
170
views
Unicorn Serialization Items appear as Ids in file system
I have a problem when using unicorn serialization for Sitecore items, when I perform the initial serialization for the item and check the folder in the file system the items come like that
I believe ...
0
votes
1
answer
203
views
How to define Unicorn configuration for a Helix type serialization folder structure with Docker
I have followed this article https://gist.github.com/cassidydotdk/47eacabd752d7a84e7e5826531fb0f9e
The docker site is writing to the C:\unicorn and the mount volume is set to the D:\Sitecore\Source\...
0
votes
1
answer
88
views
Status code 418 in Unicorn
Environment: Sitecore.NET 10.1.1
Hi All,
We have our solution in Azure PAAS. 2 days back while deploying to one of our environments, we encountered a strange error.
Once we triggered the Unicorn for ...
1
vote
0
answers
275
views
Unicorn RainbowCodeGeneration is not supporting Sitecore 10.2 for serializing model [closed]
We are upgrading from Sitecore 9.2 to Sitecore 10.2, earlier we used Unicorn and RainbowCodeGeneration, which used to work fine. During upgrade to Sitecore 10.2, we upgraded the Sitecore.Kernal ...
0
votes
1
answer
90
views
Patch to Publishing DB's doesnt seem to work
I have my unicorn autopublish file below and the patch I added to it. I still seem to have trouble with the files actually getting published to the databases for web_uk and web_west.
Just wondering if ...
1
vote
0
answers
205
views
CHAP authentication attempt rejected due to expired or unknown challenge value
we are having an issue with unicorn sync run through octopus deployment process that is using MicroChap dll and shared secret. Everything was working fine and unicorn sync was working fine.
Then we ...
3
votes
1
answer
292
views
Adding a patch config file ONLY to my production server
I have another question where I needed to add another target database to my sync in unicorn. However I only need the patch to take affect in my production environment since my local errors out on the ...
0
votes
1
answer
80
views
Trying to add publishing database for Unicorn Sync when building
So I have two CD servers setup and seems like our Unicorn syncing is not completely setup because in the config it currently just has "web".
So I need to add our "web_uk" CD to ...
1
vote
1
answer
468
views
Unicorn Error - Missing type attribute for dependency 'dataProviderConfiguration'. Specify an assembly-qualified name for your dependency
I'm getting the following error in Sitecore 10.2 when Installing Unicorn
Missing type attribute for dependency 'dataProviderConfiguration'. Specify an assembly-qualified name for your dependency.
...
1
vote
2
answers
112
views
Error while running Export-UnicornConfiguration cmdlet in the Sitecore PowerShell script
I am triggering an SPE script from the code. SPE script contains a few checks but finally has Export-UnicornConfiguration $configurationName.
The script runs without any errors when it is triggered ...
1
vote
1
answer
224
views
Unicorn sync via PowerShell script fails during Octo deploy
I have an Octo deploy step that calls the Unicorn sync PowerShell script. Everything was working until recently:
The main error message being:
The underlying connection was closed: An unexpected ...
1
vote
1
answer
363
views
Unicorn Items prevent Sync to web DB
I am not sure on which databases the Sitecore Items are synced to when I deploy my Sitecore solution to the CM system with the Sync.ps1 script and the Unicorn.psm1. I think the items are also synced ...
1
vote
1
answer
301
views
Event responsible for move field type from Shared to Versioned
When I use Unicorn to deserialize the field from Shared to Versioned, data about the field isn't removed from dbo.SharedFields table.
I think this is due to disabling the event that Sitecore uses to ...
1
vote
0
answers
400
views
Sitecore CM container unhealthy after adding new volume
I have created a blank project using https://doc.sitecore.com/developers/100/developer-tools/en/walkthrough--using-the-getting-started-template.html
Added a new volume to CM to sync Unicorn items as ...
4
votes
4
answers
3k
views
Unknown connection string. Name: '$(1)' - Unicorn
I'm getting the following error in Sitecore 10.1 when Installing Unicorn
Unknown connection string. Name: '$(1)'
Description: An unhandled exception occurred during the execution of the current web ...
1
vote
0
answers
44
views
Unicorn serialized files whose items are edited through SPE are not listed in source control pending changes
We are running Sitecore powershell script to update a item's field. Respective yaml files are generated in web root folder. But not showing in TFS pending changes. On the other hand, if we are ...
0
votes
1
answer
887
views
How to include all children of path on Unicorn serialization?
We've been working on refactoring a sitecore solution to bring it in line with helix principles.
One of the main initial offenders was the placement of a lot of serialisation in the project folder. ...
1
vote
1
answer
415
views
unicorn deployment failure - can't sync when deployed to real environments
I am sure I am missing something simple about using Unicorn in environments above the local dev environments
the source folder is correct out of Azure Paas, out on my App Service
I am in Sitecore 9.3....
0
votes
0
answers
26
views
Add Sitecore Package to source control [duplicate]
I'm trying to add a Sitecore Hotfix (https://sitecore.app.box.com/s/hab14a1l671cly284pe15io20q0bzayz) to our source control. Since we have integrated Unicorn with our solution, just adding the package ...
1
vote
0
answers
314
views
Unicorn Sync button not visible
Unicorn V4.1.1
Sitecore V9.3
For one of my project Sync button is not showing on the /unicorn.aspx
Here is the unicorn.config.config which is there.
Can anybody suggest what setting might be missing ...
1
vote
0
answers
576
views
Triggering Unicorn Auto-Publish on Dedicated Publishing Instance
We have a dedicated publishing instance and would like to use it when we run the Unicorn auto-publish.
Currently when running the unicorn sync the publish always uses the CM server, even though we ...
0
votes
0
answers
55
views
Where can I find Serialized item in Azure portal in Sitecore 9.0.2?
We are using the Azure portal for Sitecore 9.0.2 instance and using Unicorn along with it.
Where can I find the serialized items in the Sitecore instance?
I checked the path \\App_Data folder but ...
2
votes
0
answers
169
views
Cloned Items does not give change information when original item is updated through Unicorn Sync
I am using Sitecore 9 Update 2
I created the site and serialized it using Unicorn. I also created a clone of this site.
Based on the documentation here https://doc.sitecore.com/users/92/sitecore-...
0
votes
1
answer
205
views
Unable to sync except item under excluded item
I can't seem to get this config to work and serialize the nested except . The log always stops at Manager Root/Messages and then says master:/sitecore/content/Email Managers/Manager Root/Messages/...
0
votes
0
answers
54
views
Running Unicorn on a Dedicated Publishing Instance
We would like to move Unicorn from the CM server to instead handle syncs in Production on our Dedicated Publishing Instance. This is because the DP isn't doing a great deal where as the CM has a lot ...
0
votes
0
answers
143
views
Sitecore Azure PaaS webapp becomes unresponsive when Unicorn files copied
We are using Unicorn to sync Sitecore items between different Sitecore instances. We have created a separate Azure DevOps release pipeline dedicated only for copying Unicorn files and running the sync ...
1
vote
1
answer
441
views
Disable Unicorn transparent sync per configuration?
Using Helixbase as a model, I see there's a base configuration called Helix.Feature.Base that establishes the data store, data provider, etc. I see the setting to turn transparent sync on or off as ...
4
votes
2
answers
467
views
Unicorn path when pushed to Azure app service
I'm doing some testing using Unicorn, working with the Helixbase NuGet project. I set up a CI build/release pipeline, and it pushed the code and content as expected, including the Unicorn ...
-1
votes
1
answer
409
views
Getting error during synchronizing on \Unicorn.aspx
With Sitecore project codebase and successfully following all the gulpfile.js steps for deployment, I visited \unicorn.aspx page and getting error while synchronizing projects.
Error is refering to ...
0
votes
1
answer
200
views
Sitecore.HabitatHome.Platform - Sync-Unicorn fails [closed]
While I'm trying to install Sitecore.HabitatHome.Platform, I'm getting Unicorn Sync issue.
I did install Sitecore XP Single v9.2 using SIF.
I verified the installation by logging in to Sitecore and ...
2
votes
1
answer
2k
views
Sitecore upgrade from 9.0.2 to 9.3 issue
I have upgraded our sitecore application from Sitecore 9.0.2 to sitecore 9.3. However when i try to run my application i get the below error. I also tried try copying all the dll's from bin folder ...
4
votes
1
answer
499
views
Serializing content items - issue with childrenOfPath
We ran into a strange issue while setting up serialization for our content tree in a Sitecore 9.2 XP0 environment. Our goal is to achieve a configuration that serializes a skeleton of our content tree ...
1
vote
2
answers
2k
views
Unicorn Duplicate Item id's
I have been running into an error using Sitecore (9.2) Unicorn (4.1.1) when I try to serialize content. These content files are generated by a migration application that is reading data from a ...
2
votes
2
answers
2k
views
configuration's predicate cannot resolve any valid root items?
I'm new one to learning unicorn i have intigrate .yml files to my sitecore new instancebut getting bellow error how to resolve please suggest me
5
votes
0
answers
695
views
Disable unicorn sync for a specific field
On all our environments we decided to stop synchronisation of the page tests (aka A/B test). However there is a synchronisation on each item on the field "__Content test", which links it to ...
1
vote
1
answer
313
views
What should my Leprechaun Configuration look like in a non-Helix project?
I'm trying to configure Sitecore Leprechaun to generate Glass models for my project, but no matter what I do, I can't seem to get it to work.
My project folder structure looks like:
/sitecore
/...
0
votes
1
answer
474
views
Unicorn 4.1.1 Habitat 1.8 (Sitecore 9.2) Sync error [closed]
I'm trying to sync Unicorn (4.1.1) on Habitat 1.8 (Sitecore 9.2).
I'm running Visual Studio 2019 as Admin and PowerShell execution policy is for CurrentUser = Bypass and for LocalMachine = ...
3
votes
1
answer
945
views
How to serialize a parent item and some of it's child items as new Item only
I've recently found out that you can serialize items if it's new only using
<evaluator type="Unicorn.Evaluators.NewItemOnlyEvaluator, Unicorn" singleInstance="true"/>
When I add this to the ...