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
125 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
91 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....
  • 27
2 votes
2 answers
46 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
58 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,248
1 vote
1 answer
46 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
61 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\...
  • 121
0 votes
1 answer
40 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,248
1 vote
0 answers
201 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
55 views

Patch to Publishing DB's doesnt seem to work

So 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 ...
0 votes
0 answers
114 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
157 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
29 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
278 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
95 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
148 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
245 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,135
1 vote
0 answers
304 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 ...
3 votes
4 answers
2k 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
43 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 ...
  • 157
0 votes
1 answer
626 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
184 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 ...
  • 229
1 vote
0 answers
227 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
447 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
46 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 ...
  • 45
2 votes
0 answers
137 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-...
  • 389
0 votes
1 answer
84 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/...
  • 389
0 votes
0 answers
49 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
99 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 ...
  • 583
1 vote
1 answer
333 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 ...
  • 5,082
4 votes
2 answers
364 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 ...
  • 5,082
-1 votes
1 answer
228 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 ...
  • 131
0 votes
1 answer
179 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 ...
  • 73
4 votes
1 answer
402 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 ...
  • 43
1 vote
2 answers
1k 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
1k 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
4 votes
0 answers
541 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
260 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
433 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
732 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 ...
  • 389
0 votes
0 answers
190 views

Sharing Sitecore content as a NuGet package

Background In our Sitecore 9 solution, we follow Helix principles, when structuring our code and we wish to create NuGet packages that can be re-used across multiple projects. The NuGet packages ...
  • 884
-1 votes
2 answers
1k views

Installed Habitat, Unicorn.aspx missing

I've got the Habitat source for Sitecore 9.1 from https://github.com/Sitecore/Habitat/tree/master I was a bit surprised that Unicorn.aspx was missing from the code. I was thinking it should be part ...
0 votes
0 answers
185 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 are even unable to open the Unicorn.aspx page. ...
5 votes
2 answers
479 views

How to view history of yml files (before they have pending changes)

Is there any way in regular Visual Studio (2017) to view the history of individual yml (unicorn serialization) files? Once you have changed a serialized Sitecore item it appears under the 'Changes' ...
3 votes
1 answer
247 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 ...
1 vote
3 answers
158 views

Creating a patch config file for Rainbow.SFS.SerializationFolderPathMaxLength

How can I add a patch file for Rainbow.Config? Is there a naming convention that I need to follow? I need to modify below setting, but don't want to change the main Rainbow.Config file. <setting ...
1 vote
1 answer
156 views

Is there any need to use patch:after with Unicorn configuration files

I'm working in a Helix solution and have noticed things like: <configuration name="Feature.MyModuleName" dependencies="Foundation.SomethingElse" patch:after="...
0 votes
1 answer
644 views

Unicorn not completely restoring serialized content from disk on sync

For interim development purposes, I've serialized my entire SXA tenant folder content tree, related templates, media library, etc. I haven't specified to exclude children in the config; so I expect ...
0 votes
1 answer
154 views

Unicorn sync __Security for new items only synchronisation existing items

My Problem is, I've some configuration Items which are created with the new Items Only sync. That seems to work. But when I add some roles/permissions to this Items on my local dev machine and I ...
  • 1,135