Could not find property skipFirstTimeSetupCheck error

In this article

Symptoms

You have a multi-server setup and have either:

  • just performed a fresh install of the November 2018 or December 2018 version of Coveo for Sitecore 5

  • just upgraded from Coveo for Sitecore 4 to Coveo for Sitecore 5.

Sitecore raises the following error on your content delivery (CD) servers:

15964 20:53:59 ERROR Error loading hook: <hook type="Sitecore.ContentSearch.Hooks.Initializer, Sitecore.ContentSearch" patch:source="Sitecore.ContentSearch.config" xmlns:patch="http://www.sitecore.net/xmlconfig/" />
Exception: System.InvalidOperationException
Message: Could not find property 'skipFirstTimeSetupCheck' on object of type: Coveo.AbstractLayer.CoveoDefaultIndexConfiguration
Source: Sitecore.Kernel
   at Sitecore.Configuration.DefaultFactory.AssignProperties(Object obj, Object[] properties)
   at Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)
   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)

Cause

The Coveo for Sitecore <skipFirstTimeSetupCheck> element was not removed from the November 2018 and December 2018 Coveo for Sitecore 5 package configuration files.

Resolution

  1. On one of your CD servers, open the <SITECORE_INSTANCE_ROOT>\App_Config\Include\Coveo\Coveo.SearchProvider.Custom.config file in a text editor.

  2. Add a patch:delete for the <skipFirstTimeSetupCheck> element.

  3. Save your changes.

  4. Repeat steps 1 to 3 on each of your CD servers.

  5. (Optional) Though you don’t need to delete the <skipFirstTimeSetupCheck> element in your CM configuration files as it’s not taken into account on CMs, you might want to do so nonetheless.