Gravatar for tom@dudfield.co.uk

Question by tomdudfield, Apr 7, 2017 4:01 PM

Coveo Cloud on Sitecore Azure Web Apps

I am trying to get Coveo Cloud to work on Sitecore 8.2 update 1 on Azure Web Apps.

The initial installation worked but when running through the configuration I get the following error "Access to the path '\App_Data\Coveo\ConfigurationEncryptionKeys' is denied."

This has also broken the Content Editor as I get the following error "Could not retrieve Coveo for Sitecore license."

Gravatar for slangevin@coveo.com

Comment by Simon, Apr 7, 2017 6:04 PM

I'm guessing your web deploy script moved the Data to App_Data so the Encryption key and the license file are both in the App_Data folder.

Is it possible that the user running the service does not have access to this file? I have not yet tested file system permissions with Azure web app.

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Apr 7, 2017 6:13 PM

Hi Tom,

Could you post the full stacktrace of the error please?

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Apr 7, 2017 6:53 PM

I think you found a problem in one of the Coveo for Sitecore configuration wizard when running in Azure Web Apps. Since the December 2016 release (4.0.780) of Coveo for Sitecore 4.0, the encryption key has moved in the property store in the Core database. However, this wizard still tries to load the encryption key from the file system. This makes this wizard unusable in Azure Web Apps for the moment.

You mentioned:

> This has also broken the Content Editor as I get the following error "Could not retrieve Coveo for Sitecore license."

Given that statement, I think the real problem preventing your Coveo for Sitecore installation to work is not this wizard issue. I think is it a configuration problem. However, this is hard to troubleshoot on a Q&A website.

I recommend you to open a support ticket and attach a Coveo diagnostic package for the support agent to have access to your configuration and logs.

Thanks

Ask a question