14 votes
Accepted

How do I keep my production site online when doing deployments?

We do our deployments as follows in our 8.1 environment using Team City, Octopus deploy and Unicorn (this is Simplified): a rewrite rule tells the load balancer to take CD1 out of the pool push the ...
14 votes
Accepted

Handle Unicorn Deploy Once in a Production Environment

Yep. Using the NewItemsOnly evaluator. Add this under your <configuration> element. <evaluator type="Unicorn.Evaluators.NewItemOnlyEvaluator, Unicorn" singleInstance="true"/> You can ...
  • 24.7k
13 votes

How do we automatically deploy TDS Sitecore Items under CI/CD?

Alex, there are many ways to approach CI deployments into your environments. Each client or organization is going to have different requirements as it related to versioning, restoring of backup, ...
11 votes
Accepted

Sitecore Azure deployment error - Sitecore.Azure.UI.Pipelines.PreAutomation.CheckHostedService failed

The Azure Module has been deprecated from Sitecore 8.2. We will be updating the module for 8.1 to support; new Azure SQL and SDK and most important change to Redis Cache Session State Provider (as ...
10 votes
Accepted

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

Yes, you can do the sync with almost any kind of script. Basically you can call the /unicorn.aspx with parameters. Here you can find the whole documentation about this. This example is working with ...
10 votes
Accepted

Helix deployment - How to use msdeploy

We don't have a single package, but a package for each web project. Every web project has its publishing profile set to Web Deploy Package and the Package location is set to a unique zip filename in a ...
  • 1,693
10 votes
Accepted

What is Sitecore Managed Cloud?

Sitecore Managed Cloud provides a hosting service for the infrastructure associated with Sitecore. The entire topology is owned and "managed" by Sitecore under their Azure Subscription. Generally, the ...
  • 520
9 votes

How do I keep my production site online when doing deployments?

I would highly recommend that you watch the following presentation by Mike Edwards: Sitecore Nirvana - Continuous Deployment. It's about two sets of databases being replicated. It all comes down to ...
  • 2,363
7 votes
Accepted

Slow build performance using TDS (Helix-inspired)

TL;DR Some possible solutions to reduce build/deployment time:- Reduce the number of projects in your solution by 'compacting' projects. Reduce the number of projects in your solution by having a ...
7 votes
Accepted

FileWatcher Error, Internal buffer overflow

We currently have the same issue and have been advised to set the following config (in Sitecore.config) to a higher value: <setting name="Media.FileSystemWatcher.BufferSize" value="16384" /> ...
7 votes

How do we automatically deploy TDS Sitecore Items under CI/CD?

You can have TDS generate an update package with all the Sitecore items and code, then use Sitecore.Ship or Sitecore PowerShell Extensions Remoting to install the update package. Sitecore.Ship ...
  • 1,206
7 votes

Which databases does Sitecore 9.0.2 need for CMS only mode?

That would be an XM environment. You require: forms, core, web and master https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure/deploying/...
6 votes

FileWatcher Error, Internal buffer overflow

This is a known issue and acknowledged by Sitecore. Whilst it is being further investigated, Sitecore recommend in their Knowledge Base article one of the following solutions: Disable Dynamic Cache ...
  • 13.7k
6 votes
Accepted

Sitecore instance is very slow after deployment in Azure Paas

With regards to the initial very large time, what you're most likely hitting is that Sitecore can max out the Azure SQL on startup to fill the prefetch cache - see Sitecore Knowledge Base Article ...
6 votes
Accepted

How to manage Sitecore Hotfixes

In our project we try to create NuGet packages from them where possible and add them to our own internal feed. When it replaces an existing Sitecore DLL (for example we've had a hotfixed Sitecore....
5 votes

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

It is exactly possible to use the Unicorn for Continuous Delivery. I have some suggestions: First of all, you need to put files (which are generated by Unicorn) under source control. You need to ...
5 votes

How do I keep my production site online when doing deployments?

If your only need is to keep the CD nodes only and you are okay with downtime on the CM, you can achieve 100% uptime of your CDs during deployments using a second publishing target. CD1 => Connected ...
  • 6,566
5 votes
Accepted

How should Courier be used as part of a CI build?

An options could be not to use courier, but to use TDS delta builds, considering the fact that you already use TDS, by going back to a certain date in time. This will also keep the packages small. ...
  • 1,847
5 votes
Accepted

How to create new layout on Sitecore CM server and sync it to Sitecore CD server in Azure Cloud

Welcome to Sitecore! There are two important concepts: Publishing Deployment Publishing always refer to Sitecore Items. This will PUBLISH items from your master DB to your web DB (standard config). ...
5 votes

How do I include Sitecore Support packages in my deployment pipeline?

Is this the recommended way to include Support Packages and have them available for an easy deploy? The answer to your question will depend on your development environment and team setting. Below ...
  • 327
4 votes
Accepted

How do I configure Octopus Octopack to deploy my Helix/Habitat projects?

If your multisite Habitat solution is using a single IIS site, per the current license model. Then all the web projects (Feature/Foundation/Project) are batched into a single package. That is how we ...
4 votes
Accepted

Is there a way to deploy assembly bindings out using the gulpfile

If you take a look at the habitat demo - you will see that they use web.config.transform files. This is an example file from the Project/Common website project: <?xml version="1.0" encoding="utf-...
  • 19.5k
4 votes
Accepted

When attempting to deploy, I get "Restricted from provisioning in this region"

It's not Sitecore. MSDN Subscriptions (for whatever reason) places restrictions based on the type of account you are using. If you are using a Visual Studio Enterprise Subscription you are limited to ...
  • 14.5k
4 votes
Accepted

Hitting a 'local' sitecore 9 instance from another machine

It is really not Sitecore specific but I'll answer this anyway. Regarding your first question: It's not the same since the web server running on your local machine routes the request to different ...
4 votes
Accepted

Using TDS sync with Azure PaaS and Sitecore 9

I contacted TDS support, and they suggested a manual deployment. So I did the following: Add the _DEV folder from your local instance to your VS project and publish it to the Azure App Service. (I ...
  • 5,082
4 votes

Sync Sitecore production database with QA/ DEV environment

If all your items on the Production environment are found on TDS, you can deployed them to your lower environments. But if they are not, you can backup the Production databases (core, master and web) ...
4 votes
Accepted

Cannot get FullWipe to work with Sitecore JSS Tech Preview 4

UPDATE The documentation for full wipe mode has been updated to reflect TP4 usage: https://jss.sitecore.net/docs/fundamentals/dev-workflows/code-first#import-full-wipe-mode It looks like the ...
  • 2,235
4 votes

Sitecore Hosting using Blue Green Deployment on Azure

Whilst your proposed setup is certainly possible with the help of a traffic manager, I would recommend using Deployment slots for blue green deployment. With deployment slots, you deploy to a ...
4 votes
Accepted

To which app services do I deploy

You would deploy your main Sitecore application code to the Content Management and the Content Delivery app instances. Based on your list that would be: foobar-acc-cd foobar-acc-cm If you do have ...
  • 19.5k
4 votes
Accepted

Does Sitecore PaaS support the usage of Azure deployment slots?

Application Initialization does a call to your website over http. If you have redirect rules that redirect http to https, the initialization receives a 302 and marks the request as done, it does not ...

Only top scored, non community-wiki answers of a minimum length are eligible