Gravatar for nbernier@gmail.com

Question by Nicolas Bernier, Jan 21, 2015 3:18 PM

Installing Coveo Package on content delivery causes "Could not find configuration node: databases/database[@id='master']"

do you have any specific installation best practice for Sitecore Content Delivery? I'm getting this error installing the package.

System.InvalidOperationException: Could not find configuration node: databases/database[@id='master']
   at Sitecore.Diagnostics.Assert.IsTrue(Boolean condition, String message)
   at Sitecore.Configuration.Factory.GetConfigNode(String xpath, Boolean assert)
   at Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert)
   at Sitecore.Configuration.Factory.GetDatabase(String name, Boolean assert)
   at Sitecore.Install.BlobData.BlobInstaller.InstallEntry(PackageEntry entry, IProcessingContext context)
   at Sitecore.Install.BlobData.BlobInstaller.FlushData(IProcessingContext processingContext)
   at Sitecore.Install.Items.ItemInstaller.Flush()
   at Sitecore.Install.Framework.SinkDispatcher.Flush()
   at Sitecore.Install.Utils.EntrySorter.Flush()
   at Sitecore.Install.Framework.EntryBuilder.Flush()
   at Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink)
   at Sitecore.Install.Installer.InstallPackage(String path, Boolean registerInstallation, ISource`1 source, IProcessingContext context)
   at Sitecore.Install.Installer.InstallPackage(String path, ISource`1 source, IProcessingContext context)
   at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.<install>b__4()
   at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.CatchExceptions(ThreadStart start)</install>
1 Reply
Gravatar for slangevin@coveo.com

Answer by Simon, Jan 21, 2015 3:20 PM

Yes: https://developers.coveo.com/display/public/SC201501/Scaling+Coveo+for+Sitecore+Over+Multiple+Servers

And usually on a CD you do not install the package, you copy the content only.

Cheers, Simon

Gravatar for nbernier@gmail.com

Comment by Nicolas Bernier, Jan 22, 2015 4:02 PM

Thanks. If you have 1 cm and 1 cd, you need 1 coveo server per cm/cd? Are you recommending the coveo server on the cd or cm?

Gravatar for slangevin@coveo.com

Comment by Simon, Jan 22, 2015 4:48 PM

You only need one. You can have Coveo on a dedicated server or directly with the CM. The CDs only need the copy of the Search Provider packages.

In the Search.Provider.config of the CDs, make sure that it points to the Coveo server.

So if the config on the CMS is pointing to localhost, the config on the CD will point to the CMS/Coveo server.

Cheers, Simon

Gravatar for swamcts@gmail.com

Comment by swamcts, Jan 11, 2017 1:41 PM

Here you mentioned Search Provider packages need to move: what are the files available Search Provider packages here.? C:\inetpub\wwwroot\Sitecore\Website\App_Config\Include\Coveo - Is only files in this folder should be moved to CD? Any other files?

Gravatar for slangevin@coveo.com

Comment by Simon, Jan 11, 2017 2:47 PM

A Sitecore package will separate files and items in two different folders. The items will already be in the database since it is a publishing target. So the only missing part are the files in the files folder.

Ask a question