Skip to main content

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.

Filter by
Sorted by
Tagged with
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. ...
3 votes
0 answers
63 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 ...
1 vote
1 answer
466 views

Custom regex validator on display name field with helix in mind and unicorn sync

I want to use the display name to generate my URLs. That works so far, but I need to be sure, that the names have no vowels in it and so on. So I want to create a custom regex Validation rule that I ...
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 ...
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
0 answers
221 views

Unicorn error on Azure Paas

We have been deploying our Sitecore 9.0.1 to Azure Paas, deploying each time to a clean slot. On the last deploy Unicorn synch stopped working, we were even unable to open the Unicorn.aspx page. ...
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 ...
3 votes
2 answers
303 views

Sitecore User Permission gets over written on deployment and Unicorn Sync

I have set permissions to users on the Sitecore security editor All those User permissions get over written on Unicorn Sync during deployments I Understand that security is controlled at Item ...
2 votes
2 answers
152 views

Language sync in Sitecore with Unicorn

I've installed sitecore 9 and I am using Unicorn to sync my developer items. Do I create all my languages on my local machine an add the "/sitecore/system/Languages" to my Unicorn synchronization, so ...
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
2 answers
222 views

Single pipe symbol results in empty field after unicorn synchronisation

I have a dictionary entry whose phrase value solely consists of a single pipe symbol. The item gets serialized just fine. But when I synchronize it, the phrase value of the created dictionary entry is ...
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....
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
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. ...
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
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
758 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
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 ...
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 ...
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 ...
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 ...
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
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 ...
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
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
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 ...
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 ...
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. ...
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 ...
5 votes
0 answers
696 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 ...
4 votes
4 answers
4k views

Unicorn: Single setting to disable unicorn synchronisation

Is there a single Unicorn setting which can completely disable unicorn synchronisation for a Sitecore instance? At the moment if I want to turn off synchronisation, I just delete the App_Config\...
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 ...
5 votes
2 answers
926 views

Exception when running step 05-Sync-Unicorn in Habitat - HMAC provided by client: MicroCHAP.SignatureResult

I have a Habitat Solution for Sitecore 9.0 Update 1. Trying to run auto Sync "05-Sync-Unicorn". when I ran this task, getting below warning in the log file: [Unicorn-Auth] CHAP authentication ...
7 votes
3 answers
7k views

How to use Unicorn for continuous deployment between environments (UAT, Prod, etc.)?

We are using Unicorn as sync mechanism for items between the dev machines.Currently we are manually deploying the yml files to different environments like SIT, UAT and PROD. Is it possible to use ...
1 vote
1 answer
430 views

Unicorn some warnings, no items updated

I am using Unicorn v3 and have warnings on a number of items (field no longer exist) but have items without warnings in the same sync/project as well. ERROR: Non-fatal warnings occurred during ...
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-...
3 votes
2 answers
6k views

You cannot have a sparse serialized tree

I'm new to Unicorn, but recently we tried to add an item to a section that's been configured in Unicorn and we are getting the following error: The parent item of /sitecore/templates/Site/Foundation/...
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 ...